>>> spotify-qt: Building community/spotify-qt 4.0.3-r0 (using abuild 3.16.0-r0) started Tue, 31 Mar 2026 23:13:13 +0000 >>> spotify-qt: Validating /home/buildozer/aports/community/spotify-qt/APKBUILD... >>> spotify-qt: Analyzing dependencies... >>> spotify-qt: Installing for build: build-base cmake samurai qt6-qtbase-dev qt6-qtsvg-dev ( 1/251) Installing libbz2 (1.0.8-r6) ( 2/251) Installing xz-libs (5.8.2-r0) ( 3/251) Installing libarchive (3.8.6-r0) ( 4/251) Installing rhash-libs (1.4.6-r0) ( 5/251) Installing libuv (1.51.0-r0) ( 6/251) Installing cmake (4.2.3-r0) ( 7/251) Installing samurai (1.2-r8) ( 8/251) Installing tzdata (2026a-r0) ( 9/251) Installing libb2 (0.98.1-r3) ( 10/251) Installing dbus-libs (1.16.2-r2) ( 11/251) Installing double-conversion (3.4.0-r0) ( 12/251) Installing libffi (3.5.2-r0) ( 13/251) Installing libeconf (0.8.3-r0) ( 14/251) Installing libblkid (2.41.3-r1) ( 15/251) Installing libmount (2.41.3-r1) ( 16/251) Installing glib (2.88.0-r1) ( 17/251) Installing icu-data-en (78.1-r0) Executing icu-data-en-78.1-r0.post-install * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. ( 18/251) Installing icu-libs (78.1-r0) ( 19/251) Installing libpcre2-16 (10.47-r0) ( 20/251) Installing duktape-libs (2.7.0-r3) ( 21/251) Installing libproxy (0.5.12-r0) ( 22/251) Installing qt6-qtbase (6.10.2-r2) ( 23/251) Installing mariadb-connector-c (3.4.6-r0) ( 24/251) Installing qt6-qtbase-mysql (6.10.2-r2) ( 25/251) Installing unixodbc (2.3.14-r1) ( 26/251) Installing qt6-qtbase-odbc (6.10.2-r2) ( 27/251) Installing libpq (18.3-r1) ( 28/251) Installing qt6-qtbase-postgresql (6.10.2-r2) ( 29/251) Installing sqlite-libs (3.51.2-r1) ( 30/251) Installing qt6-qtbase-sqlite (6.10.2-r2) ( 31/251) Installing hicolor-icon-theme (0.18-r0) ( 32/251) Installing libxau (1.0.12-r0) ( 33/251) Installing libmd (1.1.0-r0) ( 34/251) Installing libbsd (0.12.2-r0) ( 35/251) Installing libxdmcp (1.1.5-r1) ( 36/251) Installing libxcb (1.17.0-r1) ( 37/251) Installing libx11 (1.8.13-r0) ( 38/251) Installing xprop (1.2.8-r0) ( 39/251) Installing libxext (1.3.7-r0) ( 40/251) Installing libice (1.1.2-r0) ( 41/251) Installing libuuid (2.41.3-r1) ( 42/251) Installing libsm (1.2.6-r0) ( 43/251) Installing libxt (1.3.1-r0) ( 44/251) Installing libxmu (1.3.1-r0) ( 45/251) Installing xset (1.2.5-r1) ( 46/251) Installing xdg-utils (1.2.1-r1) ( 47/251) Installing libxml2 (2.13.9-r1) ( 48/251) Installing llvm22-libs (22.1.2-r1) ( 49/251) Installing hwdata-pci (0.405-r0) ( 50/251) Installing libpciaccess (0.18.1-r1) ( 51/251) Installing libdrm (2.4.131-r0) ( 52/251) Installing libelf (0.194-r2) ( 53/251) Installing libxshmfence (1.3.3-r0) ( 54/251) Installing mesa (26.0.3-r1) ( 55/251) Installing mesa-gles (26.0.3-r1) ( 56/251) Installing mesa-gbm (26.0.3-r1) ( 57/251) Installing wayland-libs-client (1.25.0-r0) ( 58/251) Installing mesa-egl (26.0.3-r1) ( 59/251) Installing libxxf86vm (1.1.7-r0) ( 60/251) Installing mesa-gl (26.0.3-r1) ( 61/251) Installing wayland-libs-cursor (1.25.0-r0) ( 62/251) Installing wayland-libs-egl (1.25.0-r0) ( 63/251) Installing xkeyboard-config (2.46-r0) ( 64/251) Installing libxkbcommon (1.12.2-r0) ( 65/251) Installing qt6-qtbase-wayland (6.10.2-r2) ( 66/251) Installing avahi-libs (0.8-r24) ( 67/251) Installing nettle (3.10.2-r0) ( 68/251) Installing libtasn1 (4.21.0-r0) ( 69/251) Installing p11-kit (0.25.5-r2) ( 70/251) Installing gnutls (3.8.12-r0) ( 71/251) Installing cups-libs (2.4.16-r0) ( 72/251) Installing libpng (1.6.56-r0) ( 73/251) Installing freetype (2.14.2-r0) ( 74/251) Installing fontconfig (2.17.1-r1) ( 75/251) Installing graphite2 (1.3.14-r6) ( 76/251) Installing harfbuzz (13.2.1-r0) ( 77/251) Installing libevdev (1.13.6-r0) ( 78/251) Installing mtdev (1.1.7-r0) ( 79/251) Installing eudev-libs (3.2.14-r6) ( 80/251) Installing libinput-libs (1.31.0-r0) ( 81/251) Installing libjpeg-turbo (3.1.3-r0) ( 82/251) Installing tslib (1.24-r0) ( 83/251) Installing xcb-util (0.4.1-r3) ( 84/251) Installing xcb-util-image (0.4.1-r0) ( 85/251) Installing xcb-util-renderutil (0.3.10-r0) ( 86/251) Installing xcb-util-cursor (0.1.5-r0) ( 87/251) Installing xcb-util-wm (0.4.2-r0) ( 88/251) Installing xcb-util-keysyms (0.4.1-r0) ( 89/251) Installing libxkbcommon-x11 (1.12.2-r0) ( 90/251) Installing qt6-qtbase-x11 (6.10.2-r2) ( 91/251) Installing libxi (1.8.2-r0) ( 92/251) Installing at-spi2-core-libs (2.60.0-r1) ( 93/251) Installing libxtst (1.2.5-r0) ( 94/251) Installing at-spi2-core (2.60.0-r1) ( 95/251) Installing libatk-1.0 (2.60.0-r1) ( 96/251) Installing libatk-bridge-2.0 (2.60.0-r1) ( 97/251) Installing dbus-dev (1.16.2-r2) ( 98/251) Installing bzip2-dev (1.0.8-r6) ( 99/251) Installing libxml2-utils (2.13.9-r1) (100/251) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (101/251) Installing libxslt (1.1.43-r3) (102/251) Installing docbook-xsl-ns (1.79.2-r13) Executing docbook-xsl-ns-1.79.2-r13.post-install (103/251) Installing docbook-xsl-nons (1.79.2-r13) Executing docbook-xsl-nons-1.79.2-r13.post-install (104/251) Installing docbook-xsl (1.79.2-r13) (105/251) Installing xz (5.8.2-r0) (106/251) Installing gettext-asprintf (0.24.1-r1) (107/251) Installing gettext-libs (0.24.1-r1) (108/251) Installing gettext (0.24.1-r1) (109/251) Installing gettext-dev (0.24.1-r1) (110/251) Installing gdbm (1.26-r0) (111/251) Installing mpdecimal (4.0.1-r0) (112/251) Installing libpanelw (6.6_p20251231-r0) (113/251) Installing python3 (3.14.3-r0) (114/251) Installing python3-pycache-pyc0 (3.14.3-r0) (115/251) Installing pyc (3.14.3-r0) (116/251) Installing python3-pyc (3.14.3-r0) (117/251) Installing py3-parsing (3.3.2-r1) (118/251) Installing py3-parsing-pyc (3.3.2-r1) (119/251) Installing py3-packaging (26.0-r1) (120/251) Installing py3-packaging-pyc (26.0-r1) (121/251) Installing linux-headers (6.19.10-r0) (122/251) Installing libffi-dev (3.5.2-r0) (123/251) Installing bsd-compat-headers (0.7.2-r6) (124/251) Installing libformw (6.6_p20251231-r0) (125/251) Installing libmenuw (6.6_p20251231-r0) (126/251) Installing libncurses++ (6.6_p20251231-r0) (127/251) Installing ncurses-dev (6.6_p20251231-r0) (128/251) Installing libedit-dev (20251016.3.1-r1) (129/251) Installing zlib-dev (1.3.2-r0) (130/251) Installing libpcre2-32 (10.47-r0) (131/251) Installing pcre2-dev (10.47-r0) (132/251) Installing libfdisk (2.41.3-r1) (133/251) Installing liblastlog2 (2.41.3-r1) (134/251) Installing libsmartcols (2.41.3-r1) (135/251) Installing sqlite (3.51.2-r1) (136/251) Installing sqlite-dev (3.51.2-r1) (137/251) Installing util-linux-dev (2.41.3-r1) (138/251) Installing glib-dev (2.88.0-r1) (139/251) Installing xorgproto (2025.1-r0) (140/251) Installing libxau-dev (1.0.12-r0) (141/251) Installing xcb-proto (1.17.0-r1) (142/251) Installing xcb-proto-pyc (1.17.0-r1) (143/251) Installing libxdmcp-dev (1.1.5-r1) (144/251) Installing libxcb-dev (1.17.0-r1) (145/251) Installing xtrans (1.6.0-r0) (146/251) Installing libx11-dev (1.8.13-r0) (147/251) Installing libxext-dev (1.3.7-r0) (148/251) Installing libxfixes (6.0.2-r0) (149/251) Installing libxfixes-dev (6.0.2-r0) (150/251) Installing libxi-dev (1.8.2-r0) (151/251) Installing libxtst-dev (1.2.5-r0) (152/251) Installing at-spi2-core-dev (2.60.0-r1) (153/251) Installing libgpg-error (1.57-r0) (154/251) Installing libgcrypt (1.12.0-r0) (155/251) Installing libgpg-error-dev (1.57-r0) (156/251) Installing libgcrypt-dev (1.12.0-r0) (157/251) Installing gnutls-c++ (3.8.12-r0) (158/251) Installing libgmpxx (6.3.0-r4) (159/251) Installing gmp-dev (6.3.0-r4) (160/251) Installing nettle-dev (3.10.2-r0) (161/251) Installing brotli (1.2.0-r1) (162/251) Installing brotli-dev (1.2.0-r1) (163/251) Installing libidn2-dev (2.3.8-r0) (164/251) Installing libtasn1-progs (4.21.0-r0) (165/251) Installing libtasn1-dev (4.21.0-r0) (166/251) Installing zstd (1.5.7-r2) (167/251) Installing zstd-dev (1.5.7-r2) (168/251) Installing p11-kit-dev (0.25.5-r2) (169/251) Installing gnutls-dev (3.8.12-r0) (170/251) Installing gdbm-tools (1.26-r0) (171/251) Installing gdbm-dev (1.26-r0) (172/251) Installing avahi-compat-howl (0.8-r24) (173/251) Installing avahi-compat-libdns_sd (0.8-r24) (174/251) Installing avahi-glib (0.8-r24) (175/251) Installing libdaemon (0.14-r6) (176/251) Installing libevent (2.1.12-r9) (177/251) Installing avahi (0.8-r24) Executing avahi-0.8-r24.pre-install (178/251) Installing libevent-dev (2.1.12-r9) (179/251) Installing avahi-dev (0.8-r24) (180/251) Installing cups-dev (2.4.16-r0) (181/251) Installing double-conversion-dev (3.4.0-r0) (182/251) Installing eudev-dev (3.2.14-r6) (183/251) Installing expat (2.7.5-r0) (184/251) Installing expat-dev (2.7.5-r0) (185/251) Installing libpng-dev (1.6.56-r0) (186/251) Installing freetype-dev (2.14.2-r0) (187/251) Installing fontconfig-dev (2.17.1-r1) (188/251) Installing libxrender (0.9.12-r0) (189/251) Installing pixman (0.46.4-r0) (190/251) Installing cairo (1.18.4-r1) (191/251) Installing harfbuzz-cairo (13.2.1-r0) (192/251) Installing harfbuzz-gobject (13.2.1-r0) (193/251) Installing harfbuzz-icu (13.2.1-r0) (194/251) Installing harfbuzz-subset (13.2.1-r0) (195/251) Installing cairo-tools (1.18.4-r1) (196/251) Installing cairo-gobject (1.18.4-r1) (197/251) Installing pixman-dev (0.46.4-r0) (198/251) Installing libxrender-dev (0.9.12-r0) (199/251) Installing cairo-dev (1.18.4-r1) (200/251) Installing graphite2-dev (1.3.14-r6) (201/251) Installing icu (78.1-r0) (202/251) Installing icu-dev (78.1-r0) (203/251) Installing harfbuzz-dev (13.2.1-r0) (204/251) Installing libb2-dev (0.98.1-r3) (205/251) Installing libinput-dev (1.31.0-r0) (206/251) Installing libturbojpeg (3.1.3-r0) (207/251) Installing libjpeg-turbo-dev (3.1.3-r0) (208/251) Installing openssl-dev (3.5.5-r1) (209/251) Installing libpq-dev (18.3-r1) (210/251) Installing libproxy-dev (0.5.12-r0) (211/251) Installing xz-dev (5.8.2-r0) (212/251) Installing libxml2-dev (2.13.9-r1) (213/251) Installing libxkbcommon-dev (1.12.2-r0) (214/251) Installing fmt (11.2.0-r1) (215/251) Installing fmt-dev (11.2.0-r1) (216/251) Installing mariadb-connector-c-dev (3.4.6-r0) (217/251) Installing mariadb-common (11.8.5-r1) (218/251) Installing libaio (0.3.113-r2) (219/251) Installing mariadb-embedded (11.8.5-r1) (220/251) Installing mariadb-dev (11.8.5-r1) (221/251) Installing libpciaccess-dev (0.18.1-r1) (222/251) Installing libdrm-dev (2.4.131-r0) (223/251) Installing libxdamage (1.1.7-r0) (224/251) Installing libxdamage-dev (1.1.7-r0) (225/251) Installing libxshmfence-dev (1.3.3-r0) (226/251) Installing libxxf86vm-dev (1.1.7-r0) (227/251) Installing mesa-dev (26.0.3-r1) (228/251) Installing tslib-dev (1.24-r0) (229/251) Installing unixodbc-dev (2.3.14-r1) (230/251) Installing vulkan-headers (1.4.347-r0) (231/251) Installing vulkan-loader (1.4.347-r0) (232/251) Installing vulkan-loader-dev (1.4.347-r0) (233/251) Installing wayland-libs-server (1.25.0-r0) (234/251) Installing qt6-qtsvg (6.10.2-r0) (235/251) Installing qt6-qtdeclarative (6.10.2-r1) (236/251) Installing qt6-qtwayland (6.10.2-r0) (237/251) Installing wayland-dev (1.25.0-r0) (238/251) Installing util-macros (1.20.2-r0) (239/251) Installing xcb-util-dev (0.4.1-r3) (240/251) Installing xcb-util-image-dev (0.4.1-r0) (241/251) Installing xcb-util-renderutil-dev (0.3.10-r0) (242/251) Installing xcb-util-cursor-dev (0.1.5-r0) (243/251) Installing xcb-util-keysyms-dev (0.4.1-r0) (244/251) Installing xcb-util-wm-dev (0.4.2-r0) (245/251) Installing qt6-qtbase-dev (6.10.2-r2) (246/251) Installing qt6-qtsvg-dev (6.10.2-r0) (247/251) Installing .makedepends-spotify-qt (20260331.231314) (248/251) Installing dbus (1.16.2-r2) Executing dbus-1.16.2-r2.pre-install Executing dbus-1.16.2-r2.post-install (249/251) Installing dbus-openrc (1.16.2-r2) (250/251) Installing dbus-daemon-launch-helper (1.16.2-r2) (251/251) Installing avahi-openrc (0.8-r24) Executing busybox-1.37.0-r31.trigger Executing glib-2.88.0-r1.trigger * No schema files found: doing nothing. Executing dbus-1.16.2-r2.trigger OK: 1001.5 MiB in 356 packages >>> spotify-qt: Cleaning up srcdir >>> spotify-qt: Cleaning up pkgdir >>> spotify-qt: Cleaning up tmpdir >>> spotify-qt: Fetching https://distfiles.alpinelinux.org/distfiles/edge/spotify-qt-4.0.3.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> spotify-qt: Fetching https://github.com/kraxarn/spotify-qt/archive/v4.0.3/spotify-qt-4.0.3.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/spotify-qt-4.0.3.tar.gz.part' spotify-qt-4.0.3.tar 84707 --:--:-- ETA spotify-qt-4.0.3.tar 100% |********************************| 760k 0:00:00 ETA '/var/cache/distfiles/spotify-qt-4.0.3.tar.gz.part' saved /var/cache/distfiles/spotify-qt-4.0.3.tar.gz: OK /home/buildozer/aports/community/spotify-qt/disable-crash-handler.patch: OK >>> spotify-qt: Fetching https://distfiles.alpinelinux.org/distfiles/edge/spotify-qt-4.0.3.tar.gz /var/cache/distfiles/spotify-qt-4.0.3.tar.gz: OK /home/buildozer/aports/community/spotify-qt/disable-crash-handler.patch: OK >>> spotify-qt: Unpacking /var/cache/distfiles/spotify-qt-4.0.3.tar.gz... >>> spotify-qt: disable-crash-handler.patch patching file lib/CMakeLists.txt Hunk #1 succeeded at 40 with fuzz 2 (offset 7 lines). -- The CXX compiler identification is GNU 15.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found OpenGL: /usr/lib/libGL.so -- Found WrapOpenGL: TRUE -- Found WrapVulkanHeaders: /usr/include -- The C compiler identification is GNU 15.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done (1.5s) -- Generating done (0.2s) -- Build files have been written to: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build [1/206] Automatic MOC and UIC for target spotify-qt-lib-third-party [2/206] Automatic MOC and UIC for target spotify-qt-lib [3/206] Building CXX object lib/thirdparty/CMakeFiles/spotify-qt-lib-third-party.dir/spotify-qt-lib-third-party_autogen/mocs_compilation.cpp.o [4/206] Linking CXX static library lib/thirdparty/libspotify-qt-lib-third-party.a [5/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/userprofile.cpp.o [6/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/tracks.cpp.o [7/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/shows.cpp.o [8/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/search.cpp.o [9/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/playlists.cpp.o [10/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/player.cpp.o [11/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/personalization.cpp.o [12/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/library.cpp.o [13/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/follow.cpp.o [14/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/artists.cpp.o [15/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotifyapi/albums.cpp.o [16/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/util.cpp.o [17/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/user.cpp.o [18/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/trackinfo.cpp.o [19/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/track.cpp.o [20/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/show.cpp.o [21/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/searchresults.cpp.o [22/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/saveditems.cpp.o [23/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/savedalbum.cpp.o [24/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/request.cpp.o [25/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/queue.cpp.o [26/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/playlistdetails.cpp.o [27/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/playlist.cpp.o [28/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/playback.cpp.o [29/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/image.cpp.o [30/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/error.cpp.o [31/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/episode.cpp.o [32/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/entity.cpp.o [33/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/device.cpp.o [34/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/context.cpp.o [35/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/auth.cpp.o [36/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/artist.cpp.o [37/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/api.cpp.o [38/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/spotify/album.cpp.o [39/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings/spotify.cpp.o [40/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings/qt.cpp.o [41/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings/general.cpp.o [42/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings/account.cpp.o [43/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/search/results.cpp.o [44/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/search/link.cpp.o [45/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/search/api.cpp.o [46/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/lyrics/lyrics.cpp.o [47/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/lyrics/line.cpp.o [48/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/lyrics/error.cpp.o [49/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/lyrics/api.cpp.o [50/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/github/release.cpp.o [51/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/github/contributor.cpp.o [52/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/github/api.cpp.o [53/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/crash/crashinfo.cpp.o [54/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/crash/crashhandler.cpp.o [55/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/cache/jsoncache.cpp.o [56/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/uri.cpp.o [57/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/systeminfo.cpp.o [58/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/system.cpp.o [59/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/strings.cpp.o [60/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/stopwatch.cpp.o [61/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/settings.cpp.o [62/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/random.cpp.o [63/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/qtauth.cpp.o [64/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/logmessage.cpp.o [65/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/logging.cpp.o [66/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/log.cpp.o [67/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/json.cpp.o [68/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/image.cpp.o [69/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/httpclient.cpp.o [70/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/format.cpp.o [71/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/developermode.cpp.o [72/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/datetime.cpp.o [73/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/src/base64.cpp.o [74/206] Building CXX object lib/CMakeFiles/spotify-qt-lib.dir/spotify-qt-lib_autogen/mocs_compilation.cpp.o [75/206] Linking CXX static library lib/libspotify-qt-lib.a [76/206] Automatic MOC and UIC for target spotify-qt [77/206] Automatic RCC for res.qrc [78/206] Building CXX object CMakeFiles/spotify-qt.dir/spotify-qt_autogen/EWIEGA46WW/qrc_res.cpp.o [79/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mainwindow.cpp.o [80/206] Building CXX object CMakeFiles/spotify-qt.dir/src/main.cpp.o [81/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/volumebutton.cpp.o [82/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/time.cpp.o [83/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/statusmessage.cpp.o [84/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/position.cpp.o [85/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/loader.cpp.o [86/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/historybutton.cpp.o [87/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/hiddensizegrip.cpp.o [88/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/dragarea.cpp.o [89/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/docktitle.cpp.o [90/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/clickableslider.cpp.o [91/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/albumshapecombobox.cpp.o [92/206] Building CXX object CMakeFiles/spotify-qt.dir/src/widget/about.cpp.o [93/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/trayicon.cpp.o [94/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/systeminfoview.cpp.o [95/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/maintoolbar.cpp.o [96/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/maincontent.cpp.o [97/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/lyrics.cpp.o [98/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/crashes.cpp.o [99/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/configview.cpp.o [100/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/cacheview.cpp.o [101/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/sidepanel/view.cpp.o [102/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/sidepanel/title.cpp.o [103/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/view.cpp.o [104/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/tracks.cpp.o [105/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/shows.cpp.o [106/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/searchtabtree.cpp.o [107/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/playlists.cpp.o [108/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/library.cpp.o [109/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/artists.cpp.o [110/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/search/albums.cpp.o [111/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/log/spotify.cpp.o [112/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/log/base.cpp.o [113/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/log/application.cpp.o [114/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/clickableLabel.cpp.o [115/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/view.cpp.o [116/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/titleinfo.cpp.o [117/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/title.cpp.o [118/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/smallcontent.cpp.o [119/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/nowplaying.cpp.o [120/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/expandedcontent.cpp.o [121/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/context/abstractcontent.cpp.o [122/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/view.cpp.o [123/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/trackslist.cpp.o [124/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/title.cpp.o [125/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/sharemenu.cpp.o [126/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/playbutton.cpp.o [127/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/cover.cpp.o [128/206] Building CXX object CMakeFiles/spotify-qt.dir/src/view/artist/albumslist.cpp.o [129/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/widget.cpp.o [130/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/url.cpp.o [131/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/tree.cpp.o [132/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/tooltip.cpp.o [133/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/systeminfo.cpp.o [134/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/style.cpp.o [135/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/shortcut.cpp.o [136/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/refresher.cpp.o [137/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/process.cpp.o [138/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/menuaction.cpp.o [139/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/image.cpp.o [140/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/icon.cpp.o [141/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/http.cpp.o [142/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/font.cpp.o [143/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/datetime.cpp.o [144/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/darkpalette.cpp.o [145/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/appinstalltype.cpp.o [146/206] Building CXX object CMakeFiles/spotify-qt.dir/src/util/appconfig.cpp.o [147/206] Building CXX object CMakeFiles/spotify-qt.dir/src/spotifyclient/runner.cpp.o [148/206] Building CXX object CMakeFiles/spotify-qt.dir/src/spotifyclient/helper.cpp.o [149/206] Building CXX object CMakeFiles/spotify-qt.dir/src/spotify/deviceselect.cpp.o [150/206] Building CXX object CMakeFiles/spotify-qt.dir/src/spotify/authserver.cpp.o [151/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/troubleshoot.cpp.o [152/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/spotify.cpp.o [153/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/playlists.cpp.o [154/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/logs.cpp.o [155/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/interface.cpp.o [156/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/base.cpp.o [157/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/application.cpp.o [158/206] Building CXX object CMakeFiles/spotify-qt.dir/src/settingspage/about.cpp.o [159/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/track.cpp.o [160/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/show.cpp.o [161/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/queue.cpp.o [162/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/playlist.cpp.o [163/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/mainmenubar.cpp.o [164/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/mainmenu.cpp.o [165/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/device.cpp.o [166/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/developermenu.cpp.o [167/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/base.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/log/spotify.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [168/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/artistlinks.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/smallcontent.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/smallcontent.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ [169/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/appmenu.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/http.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/http.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/http.cpp: In static member function 'static void Http::getAlbumImage(const std::string&, const HttpClient&, lib::cache&, bool, ApiCallback&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/http.cpp:26:23: warning: 'void HttpClient::get(const std::string&, const lib::headers&, ApiCallback >&) const' is deprecated: Use overload with result callback instead [-Wdeprecated-declarations] 26 | httpClient.get(url, lib::headers(), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 27 | [&cache, url, callback](const std::string &str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | { | ~ 29 | auto data = QByteArray::fromStdString(str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | if (!lib::image::is_jpeg(std::vector(data.begin(), data.end()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | { | ~ 32 | lib::log::warn("Album art from \"{}\" is not a valid JPEG image", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | url); | ~~~~~ 34 | return; | ~~~~~~~ 35 | } | ~ 36 | cache.set_album_image(url, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | std::vector(data.begin(), data.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | | 39 | QPixmap img; | ~~~~~~~~~~~~ 40 | img.loadFromData(data, "jpeg"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 | callback(img); | ~~~~~~~~~~~~~~ 42 | }); | ~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/httpclient.hpp:33:14: note: declared here 33 | void get(const std::string &url, const lib::headers &headers, | ^~~ [170/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/album.cpp.o /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/log/base.cpp: In member function 'void Log::Base::onSaveToFile(bool)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/log/base.cpp:116:17: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 116 | out.open(QIODevice::WriteOnly); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/QFile:1, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/darkpalette.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/style.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/icon.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/log/base.cpp:3: /usr/include/qt6/QtCore/qfile.h:291:32: note: declared here 291 | QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override; | ^~~~ [171/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/addtoplaylist.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/expandedcontent.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/expandedcontent.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ [172/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/service.cpp.o [173/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/mediaplayerplayer.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/refresher.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/refresher.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/refresher.cpp: In member function 'bool Refresher::refresh()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/refresher.cpp:29:39: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 29 | catch (const lib::spt::error &e) | ^ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ [174/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/mediaplayer.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/tracks.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/maincontent.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/maincontent.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ [175/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/client.cpp.o /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/darkpalette.cpp: In static member function 'static QString DarkPalette::getDarkStylesheet()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/darkpalette.cpp:35:23: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 35 | styleFile.open(QFile::ReadOnly | QFile::Text); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/QFile:1, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/darkpalette.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/darkpalette.cpp:1: /usr/include/qt6/QtCore/qfile.h:291:32: note: declared here 291 | QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override; | ^~~~ [176/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/track.cpp.o [177/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/library.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/library.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/library.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ [178/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/crash.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: In static member function 'static QString SpotifyClient::Helper::clientExec(const QString&, const QStringList&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:13:51: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 13 | if (clientType(path) == lib::client_type::none) | ^~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: In static member function 'static QStringList SpotifyClient::Helper::availableBackends(const QString&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:58:39: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 58 | if (type == lib::client_type::librespot) | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:76:44: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 76 | else if (type == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:84:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 84 | auto SpotifyClient::Helper::clientType(const QString &path) -> lib::client_type | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: In static member function 'static lib::client_type SpotifyClient::Helper::clientType(const QString&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:90:42: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 90 | return lib::client_type::spotifyd; | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:95:42: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 95 | return lib::client_type::librespot; | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:98:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 98 | return lib::client_type::none; | ^~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: In static member function 'static QString SpotifyClient::Helper::version(const QString&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:105:39: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 105 | if (type == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:112:39: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 112 | if (type == lib::client_type::librespot) | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp: In static member function 'static bool SpotifyClient::Helper::getOAuthSupport(const QString&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:148:51: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 148 | if (clientType(path) == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.cpp:157:51: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 157 | if (clientType(path) == lib::client_type::librespot) | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [179/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/album.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/title.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ [180/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/tracks.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/http.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/tooltip.cpp:5: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/tooltip.cpp: In member function 'void Tooltip::set(QListWidgetItem*, const lib::spt::playlist&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/tooltip.cpp:58:23: warning: 'void HttpClient::get(const std::string&, const lib::headers&, ApiCallback >&) const' is deprecated: Use overload with result callback instead [-Wdeprecated-declarations] 58 | httpClient.get(playlist.image, lib::headers(), [this, item, playlist](const std::string &str) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | { | ~ 60 | auto data = QByteArray::fromStdString(str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 | if (!lib::image::is_jpeg(std::vector(data.begin(), data.end()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | { | ~ 63 | return; | ~~~~~~~ 64 | } | ~ 65 | | 66 | // List might've reloaded before the image loaded | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 | if (item->listWidget() == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | { | ~ 69 | return; | ~~~~~~~ 70 | } | ~ 71 | | 72 | QPixmap img; | ~~~~~~~~~~~~ 73 | img.loadFromData(data, "jpeg"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | const auto scaled = img.scaled(albumSize, albumSize, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | Qt::KeepAspectRatioByExpanding, Qt::SmoothTransformation); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | | 77 | item->setToolTip(tooltip(playlist, scaled)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | }); | ~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/tooltip.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/util/tooltip.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/httpclient.hpp:33:14: note: declared here 33 | void get(const std::string &url, const lib::headers &headers, | ^~~ [181/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/playlist.cpp.o [182/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/library.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/dragarea.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [183/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/contributors.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/hiddensizegrip.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [184/206] Building CXX object CMakeFiles/spotify-qt.dir/src/lib/qtpaths.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/title.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/view.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/view.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/view.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [185/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/widgets.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/about.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [186/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/whatsnew.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/title.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/title.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/title.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [187/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/trackscache.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/artists.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [188/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/setup.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/nowplaying.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/nowplaying.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/nowplaying.cpp:6: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [189/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/settings.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/view.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/view.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [190/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/openlink.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/abstractcontent.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/abstractcontent.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/abstractcontent.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [191/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/memory.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/volumebutton.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/volumebutton.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/volumebutton.hpp:5: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [192/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/lyricssearch.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/systeminfoview.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [193/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/jsondump.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/main.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/main.cpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/trayicon.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/trayicon.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/trayicon.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [194/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/icons.cpp.o [195/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/editplaylist.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/sharemenu.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [196/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/disallows.cpp.o [197/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/deviceselect.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/albums.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/albums.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/albums.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [198/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/createplaylist.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/playbutton.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/playbutton.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/playbutton.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [199/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/base.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/titleinfo.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/titleinfo.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/context/titleinfo.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [200/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/apirequest.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenu.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/maintoolbar.hpp:5, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/maintoolbar.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/volumebutton.hpp:5, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/maintoolbar.hpp:7: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [201/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/addtoplaylist.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/view.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/view.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/view.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [202/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/about.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/lyrics.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [203/206] Building CXX object CMakeFiles/spotify-qt.dir/src/commandline/processor.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/shows.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/shows.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/shows.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [204/206] Building CXX object CMakeFiles/spotify-qt.dir/src/commandline/parser.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.cpp:4: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.cpp: In member function 'void Artist::View::artistLoaded(const lib::spt::artist&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.cpp:76:31: warning: 'void HttpClient::get(const std::string&, const lib::headers&, ApiCallback >&) const' is deprecated: Use overload with result callback instead [-Wdeprecated-declarations] 76 | httpClient.get(artist.image, lib::headers(), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | [this](const std::string &data) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | { | ~ 79 | coverLabel->setJpeg(QByteArray::fromStdString(data)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | }); | ~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/httpclient.hpp:33:14: note: declared here 33 | void get(const std::string &url, const lib::headers &headers, | ^~~ [205/206] Building CXX object CMakeFiles/spotify-qt.dir/spotify-qt_autogen/mocs_compilation.cpp.o In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/widget/historybutton.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/tracks.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/tracks.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/tracks.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/albumslist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/albumslist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/albumslist.cpp:4: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/playlists.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/playlists.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/search/playlists.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/trackslist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/trackslist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/trackslist.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp: In member function 'void SpotifyClient::Runner::start()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:59:45: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 59 | if (clientType == lib::client_type::none) | ^~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:74:30: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 74 | if (settings.spotify.global_config && clientType == lib::client_type::spotifyd) | ^~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:4: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:74:30: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 74 | if (settings.spotify.global_config && clientType == lib::client_type::spotifyd) | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:74:30: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 74 | if (settings.spotify.global_config && clientType == lib::client_type::spotifyd) | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:74:79: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 74 | if (settings.spotify.global_config && clientType == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:95:53: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 95 | if (clientType == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:113:45: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 113 | if (clientType == lib::client_type::librespot) | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:122:50: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 122 | else if (clientType == lib::client_type::spotifyd) | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.cpp:140:45: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 140 | if (clientType == lib::client_type::librespot && settings.spotify.disable_discovery) | ^~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/about.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.cpp: In member function 'void MainWindow::checkForUpdates()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.cpp:366:23: warning: 'void HttpClient::get(const std::string&, const lib::headers&, ApiCallback >&) const' is deprecated: Use overload with result callback instead [-Wdeprecated-declarations] 366 | httpClient.get(url, lib::headers(), [this](const std::string &data) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | { | ~ 368 | if (data.empty()) | ~~~~~~~~~~~~~~~~~ 369 | { | ~ 370 | return; | ~~~~~~~ 371 | } | ~ 372 | | 373 | auto json = nlohmann::json::parse(data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 | if (!json.contains("tag_name")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | { | ~ 376 | return; | ~~~~~~~ 377 | } | ~ 378 | | 379 | const auto &latest = json.at("tag_name").get(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | if (latest.empty() || latest == APP_VERSION) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 381 | { | ~ 382 | return; | ~~~~~~~ 383 | } | ~ 384 | | 385 | const auto text = QString("%1 %2 is now available") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | .arg(APP_NAME, QString::fromStdString(latest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | | 388 | StatusMessage::info(text, QStringLiteral("Open release"), [this]() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 389 | { | ~ 390 | const QString url("https://github.com/kraxarn/spotify-qt/releases/latest"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 391 | Url::open(url, LinkType::Web, this); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 392 | }); | ~~~ 393 | }); | ~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/httpclient.hpp:33:14: note: declared here 33 | void get(const std::string &url, const lib::headers &headers, | ^~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/logs.cpp:5: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/base.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/interface.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/show.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/show.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/show.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/queue.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/queue.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/playlists.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.hpp:53:49: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 53 | auto clientType() const -> lib::client_type; | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp: In member function 'QWidget* SettingsPage::Spotify::spotify()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:72:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 72 | clientWarning->setVisible(clientType() == lib::client_type::spotifyd); | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp: In member function 'QWidget* SettingsPage::Spotify::config()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:214:48: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 214 | sptGlobal->setChecked(settings.spotify.global_config); | ^~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/base.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:214:48: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 214 | sptGlobal->setChecked(settings.spotify.global_config); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:214:48: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 214 | sptGlobal->setChecked(settings.spotify.global_config); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp: In member function 'virtual bool SettingsPage::Spotify::save()': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:329:83: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 329 | clientWarning->setVisible(clientType == lib::client_type::spotifyd); | ^~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:352:34: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 352 | settings.spotify.global_config = sptGlobal->isChecked(); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:352:34: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 352 | settings.spotify.global_config = sptGlobal->isChecked(); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:352:34: warning: 'lib::setting::spotify::global_config' is deprecated: spotifyd only [-Wdeprecated-declarations] 352 | settings.spotify.global_config = sptGlobal->isChecked(); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/settings/spotify.hpp:42:30: note: declared here 42 | bool global_config = false; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.cpp:448:56: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 448 | auto SettingsPage::Spotify::clientType() const -> lib::client_type | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/device.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/device.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/application.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenubar.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenubar.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/mediaplayer.hpp:5, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/mediaplayer.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenu.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenu.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/mainmenu.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/editplaylist.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/playlist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/playlist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/playlist.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/appmenu.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/mediaplayerplayer.hpp:5, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/mediaplayerplayer.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/contributors.cpp: In lambda function: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/contributors.cpp:37:47: warning: 'void HttpClient::get(const std::string&, const lib::headers&, ApiCallback >&) const' is deprecated: Use overload with result callback instead [-Wdeprecated-declarations] 37 | httpClient.get(contributor.avatar_url, lib::headers(), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | [item](const std::string &str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | { | ~ 40 | auto data = QByteArray::fromStdString(str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 | QPixmap img; | ~~~~~~~~~~~~ 42 | img.loadFromData(data); | ~~~~~~~~~~~~~~~~~~~~~~~ 43 | item->setIcon(QIcon(img)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | }); | ~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/github/api.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/contributors.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/contributors.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/httpclient.hpp:33:14: note: declared here 33 | void get(const std::string &url, const lib::headers &headers, | ^~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/editplaylist.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/editplaylist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/service.hpp:5, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/service.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mediaplayer/service.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/addtoplaylist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/addtoplaylist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/addtoplaylist.cpp:4: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/addtoplaylist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/addtoplaylist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/album.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/album.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/album.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/settings.cpp:7: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/settingspage/spotify.hpp:53:49: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 53 | auto clientType() const -> lib::client_type; | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/disallows.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/artist/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/view/sidepanel/view.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/lyricssearch.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/library.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/library.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/library.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/createplaylist.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/createplaylist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/dialog/createplaylist.cpp:2: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/developermenu.hpp:10, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/developermenu.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/developermenu.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/menu/track.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/tracks.hpp:6, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/tracks.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/tracks.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/playlist.hpp:4, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/playlist.cpp:1: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/list/playlist.cpp:4: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/api.hpp:17, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/LOXWS6PXLU/../../../src/dialog/addtoplaylist.hpp:3, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/LOXWS6PXLU/moc_addtoplaylist.cpp:9, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/mocs_compilation.cpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In member function 'void lib::spt::request::post(const std::string&, ApiCallback >&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:141:60: warning: 'lib::headers lib::spt::request::auth_headers()' is deprecated: Use authHeaders instead [-Wdeprecated-declarations] 141 | auto headers = auth_headers(); | ~~~~~~~~~~~~^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:178:30: note: declared here 178 | auto auth_headers() -> lib::headers; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ^~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:8: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:245:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 245 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:250:95: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 250 | const QString message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp: In static member function 'static Result lib::spt::request::parse_json(const std::string&)': /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:63: warning: 'error' is deprecated: Don't use exceptions [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:45:62: note: declared here 45 | class [[deprecated("Don't use exceptions")]] error : public std::runtime_error | ^~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:277:65: warning: 'static bool lib::spt::error::is(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use SpotifyErrorUtil::isErrorObject instead [-Wdeprecated-declarations] 277 | if (!lib::spt::error::is(json)) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:66:37: note: declared here 66 | static auto is(const nlohmann::json &json) -> bool; | ^~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/request.hpp:282:92: warning: 'static QString SpotifyErrorUtil::errorMessage(const nlohmann::json_abi_v3_12_0::json&)' is deprecated: Use overload with QJsonObject instead [-Wdeprecated-declarations] 282 | const auto message = SpotifyErrorUtil::errorMessage(json); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/spotify/error.hpp:32:21: note: declared here 32 | static auto errorMessage(const nlohmann::json &json) -> QString; | ^~~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/UVLADIE3JM/../../../src/spotifyclient/runner.hpp:7, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/UVLADIE3JM/../../../src/mainwindow.hpp:11, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/UVLADIE3JM/moc_mainwindow.cpp:9, from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/mocs_compilation.cpp:21: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp: At global scope: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/src/spotifyclient/helper.hpp:18:69: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 18 | static auto clientType(const QString &path) -> lib::client_type; | ^~~~~~~~~~~ In file included from /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/UVLADIE3JM/../../../src/spotifyclient/runner.hpp:3: /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/build/spotify-qt_autogen/UVLADIE3JM/../../../src/spotifyclient/runner.hpp:49:34: warning: 'client_type' is deprecated: only librespot is supported [-Wdeprecated-declarations] 49 | lib::client_type clientType; | ^~~~~~~~~~ /home/buildozer/aports/community/spotify-qt/src/spotify-qt-4.0.3/lib/include/lib/enum/clienttype.hpp:8:66: note: declared here 8 | enum class [[deprecated("only librespot is supported")]] client_type: unsigned char | ^~~~~~~~~~~ [206/206] Linking CXX executable spotify-qt >>> spotify-qt: Entering fakeroot... -- Install configuration: "MinSizeRel" -- Installing: /home/buildozer/aports/community/spotify-qt/pkg/spotify-qt/usr/share/icons/hicolor/scalable/apps/spotify-qt.svg -- Installing: /home/buildozer/aports/community/spotify-qt/pkg/spotify-qt/usr/share/applications/spotify-qt.desktop -- Installing: /home/buildozer/aports/community/spotify-qt/pkg/spotify-qt/usr/bin/spotify-qt >>> spotify-qt*: Running postcheck for spotify-qt >>> spotify-qt*: Preparing package spotify-qt... >>> spotify-qt*: Stripping binaries >>> spotify-qt*: Scanning shared objects >>> spotify-qt*: Tracing dependencies... so:libQt6Core.so.6 so:libQt6DBus.so.6 so:libQt6Gui.so.6 so:libQt6Network.so.6 so:libQt6Widgets.so.6 so:libc.musl-ppc64le.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> spotify-qt*: Package size: 1.6 MB >>> spotify-qt*: Compressing data... >>> spotify-qt*: Create checksum... >>> spotify-qt*: Create spotify-qt-4.0.3-r0.apk >>> spotify-qt: Build complete at Tue, 31 Mar 2026 23:14:24 +0000 elapsed time 0h 1m 11s >>> spotify-qt: Cleaning up srcdir >>> spotify-qt: Cleaning up pkgdir >>> spotify-qt: Uninstalling dependencies... ( 1/251) Purging .makedepends-spotify-qt (20260331.231314) ( 2/251) Purging cmake (4.2.3-r0) ( 3/251) Purging samurai (1.2-r8) ( 4/251) Purging qt6-qtsvg-dev (6.10.2-r0) ( 5/251) Purging at-spi2-core (2.60.0-r1) ( 6/251) Purging avahi-openrc (0.8-r24) ( 7/251) Purging dbus-openrc (1.16.2-r2) ( 8/251) Purging dbus-daemon-launch-helper (1.16.2-r2) ( 9/251) Purging dbus (1.16.2-r2) ( 10/251) Purging libarchive (3.8.6-r0) ( 11/251) Purging libuv (1.51.0-r0) ( 12/251) Purging py3-packaging-pyc (26.0-r1) ( 13/251) Purging py3-parsing-pyc (3.3.2-r1) ( 14/251) Purging python3-pyc (3.14.3-r0) ( 15/251) Purging python3-pycache-pyc0 (3.14.3-r0) ( 16/251) Purging xcb-proto-pyc (1.17.0-r1) ( 17/251) Purging pyc (3.14.3-r0) ( 18/251) Purging qt6-qtbase-dev (6.10.2-r2) ( 19/251) Purging qt6-qtbase-mysql (6.10.2-r2) ( 20/251) Purging qt6-qtbase-odbc (6.10.2-r2) ( 21/251) Purging qt6-qtbase-postgresql (6.10.2-r2) ( 22/251) Purging qt6-qtbase-sqlite (6.10.2-r2) ( 23/251) Purging at-spi2-core-dev (2.60.0-r1) ( 24/251) Purging libatk-bridge-2.0 (2.60.0-r1) ( 25/251) Purging cups-dev (2.4.16-r0) ( 26/251) Purging libgcrypt-dev (1.12.0-r0) ( 27/251) Purging dbus-dev (1.16.2-r2) ( 28/251) Purging double-conversion-dev (3.4.0-r0) ( 29/251) Purging harfbuzz-dev (13.2.1-r0) ( 30/251) Purging harfbuzz-cairo (13.2.1-r0) ( 31/251) Purging harfbuzz-gobject (13.2.1-r0) ( 32/251) Purging harfbuzz-icu (13.2.1-r0) ( 33/251) Purging harfbuzz-subset (13.2.1-r0) ( 34/251) Purging icu-dev (78.1-r0) ( 35/251) Purging libb2-dev (0.98.1-r3) ( 36/251) Purging libinput-dev (1.31.0-r0) ( 37/251) Purging libjpeg-turbo-dev (3.1.3-r0) ( 38/251) Purging libturbojpeg (3.1.3-r0) ( 39/251) Purging libpq-dev (18.3-r1) ( 40/251) Purging libpq (18.3-r1) ( 41/251) Purging libproxy-dev (0.5.12-r0) ( 42/251) Purging mariadb-dev (11.8.5-r1) ( 43/251) Purging fmt-dev (11.2.0-r1) ( 44/251) Purging fmt (11.2.0-r1) ( 45/251) Purging mariadb-connector-c-dev (3.4.6-r0) ( 46/251) Purging mariadb-connector-c (3.4.6-r0) ( 47/251) Purging mariadb-embedded (11.8.5-r1) ( 48/251) Purging mariadb-common (11.8.5-r1) ( 49/251) Purging mesa-dev (26.0.3-r1) ( 50/251) Purging libxdamage-dev (1.1.7-r0) ( 51/251) Purging libxdamage (1.1.7-r0) ( 52/251) Purging libxshmfence-dev (1.3.3-r0) ( 53/251) Purging openssl-dev (3.5.5-r1) ( 54/251) Purging tslib-dev (1.24-r0) ( 55/251) Purging unixodbc-dev (2.3.14-r1) ( 56/251) Purging unixodbc (2.3.14-r1) ( 57/251) Purging vulkan-loader-dev (1.4.347-r0) ( 58/251) Purging vulkan-headers (1.4.347-r0) ( 59/251) Purging vulkan-loader (1.4.347-r0) ( 60/251) Purging wayland-dev (1.25.0-r0) ( 61/251) Purging xcb-util-cursor-dev (0.1.5-r0) ( 62/251) Purging xcb-util-image-dev (0.4.1-r0) ( 63/251) Purging xcb-util-keysyms-dev (0.4.1-r0) ( 64/251) Purging xcb-util-renderutil-dev (0.3.10-r0) ( 65/251) Purging xcb-util-wm-dev (0.4.2-r0) ( 66/251) Purging xcb-util-dev (0.4.1-r3) ( 67/251) Purging util-macros (1.20.2-r0) ( 68/251) Purging qt6-qtwayland (6.10.2-r0) ( 69/251) Purging rhash-libs (1.4.6-r0) ( 70/251) Purging wayland-libs-server (1.25.0-r0) ( 71/251) Purging at-spi2-core-libs (2.60.0-r1) ( 72/251) Purging avahi-dev (0.8-r24) ( 73/251) Purging gdbm-dev (1.26-r0) ( 74/251) Purging gdbm-tools (1.26-r0) ( 75/251) Purging avahi-compat-howl (0.8-r24) ( 76/251) Purging avahi-compat-libdns_sd (0.8-r24) ( 77/251) Purging avahi-glib (0.8-r24) ( 78/251) Purging avahi (0.8-r24) ( 79/251) Purging qt6-qtbase-wayland (6.10.2-r2) ( 80/251) Purging qt6-qtdeclarative (6.10.2-r1) ( 81/251) Purging qt6-qtsvg (6.10.2-r0) ( 82/251) Purging qt6-qtbase-x11 (6.10.2-r2) ( 83/251) Purging hicolor-icon-theme (0.18-r0) ( 84/251) Purging xdg-utils (1.2.1-r1) ( 85/251) Purging xprop (1.2.8-r0) ( 86/251) Purging xset (1.2.5-r1) ( 87/251) Purging cups-libs (2.4.16-r0) ( 88/251) Purging avahi-libs (0.8-r24) ( 89/251) Purging gnutls-dev (3.8.12-r0) ( 90/251) Purging gnutls-c++ (3.8.12-r0) ( 91/251) Purging gnutls (3.8.12-r0) ( 92/251) Purging graphite2-dev (1.3.14-r6) ( 93/251) Purging cairo-dev (1.18.4-r1) ( 94/251) Purging cairo-tools (1.18.4-r1) ( 95/251) Purging cairo-gobject (1.18.4-r1) ( 96/251) Purging cairo (1.18.4-r1) ( 97/251) Purging fontconfig-dev (2.17.1-r1) ( 98/251) Purging fontconfig (2.17.1-r1) ( 99/251) Purging freetype-dev (2.14.2-r0) (100/251) Purging brotli-dev (1.2.0-r1) (101/251) Purging brotli (1.2.0-r1) (102/251) Purging glib-dev (2.88.0-r1) (103/251) Purging bzip2-dev (1.0.8-r6) (104/251) Purging docbook-xsl (1.79.2-r13) (105/251) Purging docbook-xsl-ns (1.79.2-r13) Executing docbook-xsl-ns-1.79.2-r13.pre-deinstall (106/251) Purging docbook-xsl-nons (1.79.2-r13) Executing docbook-xsl-nons-1.79.2-r13.pre-deinstall (107/251) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (108/251) Purging gettext-dev (0.24.1-r1) (109/251) Purging gettext-asprintf (0.24.1-r1) (110/251) Purging gettext (0.24.1-r1) (111/251) Purging libxslt (1.1.43-r3) (112/251) Purging py3-packaging (26.0-r1) (113/251) Purging py3-parsing (3.3.2-r1) (114/251) Purging pcre2-dev (10.47-r0) (115/251) Purging libpcre2-32 (10.47-r0) (116/251) Purging libedit-dev (20251016.3.1-r1) (117/251) Purging ncurses-dev (6.6_p20251231-r0) (118/251) Purging libncurses++ (6.6_p20251231-r0) (119/251) Purging bsd-compat-headers (0.7.2-r6) (120/251) Purging qt6-qtbase (6.10.2-r2) (121/251) Purging tzdata (2026a-r0) (122/251) Purging dbus-libs (1.16.2-r2) (123/251) Purging double-conversion (3.4.0-r0) (124/251) Purging libproxy (0.5.12-r0) (125/251) Purging duktape-libs (2.7.0-r3) (126/251) Purging eudev-dev (3.2.14-r6) (127/251) Purging libinput-libs (1.31.0-r0) (128/251) Purging eudev-libs (3.2.14-r6) (129/251) Purging expat-dev (2.7.5-r0) (130/251) Purging expat (2.7.5-r0) (131/251) Purging harfbuzz (13.2.1-r0) (132/251) Purging freetype (2.14.2-r0) (133/251) Purging libevent-dev (2.1.12-r9) (134/251) Purging libevent (2.1.12-r9) (135/251) Purging libxxf86vm-dev (1.1.7-r0) (136/251) Purging libxrender-dev (0.9.12-r0) (137/251) Purging libxrender (0.9.12-r0) (138/251) Purging libxtst-dev (1.2.5-r0) (139/251) Purging libxtst (1.2.5-r0) (140/251) Purging libxi-dev (1.8.2-r0) (141/251) Purging libxi (1.8.2-r0) (142/251) Purging libxfixes-dev (6.0.2-r0) (143/251) Purging libxfixes (6.0.2-r0) (144/251) Purging libxext-dev (1.3.7-r0) (145/251) Purging libx11-dev (1.8.13-r0) (146/251) Purging xtrans (1.6.0-r0) (147/251) Purging libxkbcommon-dev (1.12.2-r0) (148/251) Purging libxkbcommon-x11 (1.12.2-r0) (149/251) Purging libxkbcommon (1.12.2-r0) (150/251) Purging xkeyboard-config (2.46-r0) (151/251) Purging libxcb-dev (1.17.0-r1) (152/251) Purging xcb-proto (1.17.0-r1) (153/251) Purging python3 (3.14.3-r0) (154/251) Purging gdbm (1.26-r0) (155/251) Purging gettext-libs (0.24.1-r1) (156/251) Purging libatk-1.0 (2.60.0-r1) (157/251) Purging glib (2.88.0-r1) (158/251) Purging nettle-dev (3.10.2-r0) (159/251) Purging nettle (3.10.2-r0) (160/251) Purging gmp-dev (6.3.0-r4) (161/251) Purging libgmpxx (6.3.0-r4) (162/251) Purging graphite2 (1.3.14-r6) (163/251) Purging libdrm-dev (2.4.131-r0) (164/251) Purging libpciaccess-dev (0.18.1-r1) (165/251) Purging mesa-gl (26.0.3-r1) (166/251) Purging mesa-egl (26.0.3-r1) (167/251) Purging mesa-gles (26.0.3-r1) (168/251) Purging mesa-gbm (26.0.3-r1) (169/251) Purging mesa (26.0.3-r1) (170/251) Purging libdrm (2.4.131-r0) (171/251) Purging libpciaccess (0.18.1-r1) (172/251) Purging hwdata-pci (0.405-r0) (173/251) Purging icu (78.1-r0) (174/251) Purging icu-libs (78.1-r0) (175/251) Purging icu-data-en (78.1-r0) (176/251) Purging libaio (0.3.113-r2) (177/251) Purging libb2 (0.98.1-r3) (178/251) Purging util-linux-dev (2.41.3-r1) (179/251) Purging libfdisk (2.41.3-r1) (180/251) Purging liblastlog2 (2.41.3-r1) (181/251) Purging libmount (2.41.3-r1) (182/251) Purging libsmartcols (2.41.3-r1) (183/251) Purging libblkid (2.41.3-r1) (184/251) Purging libxdmcp-dev (1.1.5-r1) (185/251) Purging xcb-util-cursor (0.1.5-r0) (186/251) Purging xcb-util-renderutil (0.3.10-r0) (187/251) Purging xcb-util-image (0.4.1-r0) (188/251) Purging xcb-util-wm (0.4.2-r0) (189/251) Purging libxmu (1.3.1-r0) (190/251) Purging libxxf86vm (1.1.7-r0) (191/251) Purging libxext (1.3.7-r0) (192/251) Purging libxt (1.3.1-r0) (193/251) Purging libx11 (1.8.13-r0) (194/251) Purging xcb-util-keysyms (0.4.1-r0) (195/251) Purging xcb-util (0.4.1-r3) (196/251) Purging libxcb (1.17.0-r1) (197/251) Purging libxdmcp (1.1.5-r1) (198/251) Purging libbsd (0.12.2-r0) (199/251) Purging libbz2 (1.0.8-r6) (200/251) Purging libdaemon (0.14-r6) (201/251) Purging libeconf (0.8.3-r0) (202/251) Purging libelf (0.194-r2) (203/251) Purging libevdev (1.13.6-r0) (204/251) Purging libffi-dev (3.5.2-r0) (205/251) Purging linux-headers (6.19.10-r0) (206/251) Purging wayland-libs-cursor (1.25.0-r0) (207/251) Purging wayland-libs-client (1.25.0-r0) (208/251) Purging p11-kit-dev (0.25.5-r2) (209/251) Purging p11-kit (0.25.5-r2) (210/251) Purging llvm22-libs (22.1.2-r1) (211/251) Purging libffi (3.5.2-r0) (212/251) Purging libformw (6.6_p20251231-r0) (213/251) Purging libgcrypt (1.12.0-r0) (214/251) Purging libgpg-error-dev (1.57-r0) (215/251) Purging libgpg-error (1.57-r0) (216/251) Purging libsm (1.2.6-r0) (217/251) Purging libice (1.1.2-r0) (218/251) Purging libidn2-dev (2.3.8-r0) (219/251) Purging libjpeg-turbo (3.1.3-r0) (220/251) Purging libmd (1.1.0-r0) (221/251) Purging libmenuw (6.6_p20251231-r0) (222/251) Purging libpanelw (6.6_p20251231-r0) (223/251) Purging libpcre2-16 (10.47-r0) (224/251) Purging libpng-dev (1.6.56-r0) (225/251) Purging libpng (1.6.56-r0) (226/251) Purging libtasn1-dev (4.21.0-r0) (227/251) Purging libtasn1-progs (4.21.0-r0) (228/251) Purging libtasn1 (4.21.0-r0) (229/251) Purging libuuid (2.41.3-r1) (230/251) Purging libxau-dev (1.0.12-r0) (231/251) Purging libxau (1.0.12-r0) (232/251) Purging libxml2-dev (2.13.9-r1) (233/251) Purging libxml2-utils (2.13.9-r1) (234/251) Purging libxml2 (2.13.9-r1) (235/251) Purging libxshmfence (1.3.3-r0) (236/251) Purging mpdecimal (4.0.1-r0) (237/251) Purging mtdev (1.1.7-r0) (238/251) Purging pixman-dev (0.46.4-r0) (239/251) Purging pixman (0.46.4-r0) (240/251) Purging sqlite-dev (3.51.2-r1) (241/251) Purging sqlite-libs (3.51.2-r1) (242/251) Purging sqlite (3.51.2-r1) (243/251) Purging tslib (1.24-r0) (244/251) Purging wayland-libs-egl (1.25.0-r0) (245/251) Purging xorgproto (2025.1-r0) (246/251) Purging xz-dev (5.8.2-r0) (247/251) Purging xz (5.8.2-r0) (248/251) Purging xz-libs (5.8.2-r0) (249/251) Purging zlib-dev (1.3.2-r0) (250/251) Purging zstd-dev (1.5.7-r2) (251/251) Purging zstd (1.5.7-r2) Executing busybox-1.37.0-r31.trigger OK: 288.7 MiB in 105 packages >>> spotify-qt: Updating the community/ppc64le repository index... >>> spotify-qt: Signing the index...