>>> spotify-qt: Building community/spotify-qt 4.0.3-r0 (using abuild 3.16.0-r0) started Tue, 31 Mar 2026 23:13:05 +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/253) Installing libbz2 (1.0.8-r6) ( 2/253) Installing xz-libs (5.8.2-r0) ( 3/253) Installing libarchive (3.8.6-r0) ( 4/253) Installing rhash-libs (1.4.6-r0) ( 5/253) Installing libuv (1.51.0-r0) ( 6/253) Installing cmake (4.2.3-r0) ( 7/253) Installing samurai (1.2-r8) ( 8/253) Installing tzdata (2026a-r0) ( 9/253) Installing libb2 (0.98.1-r3) ( 10/253) Installing dbus-libs (1.16.2-r2) ( 11/253) Installing double-conversion (3.4.0-r0) ( 12/253) Installing libffi (3.5.2-r0) ( 13/253) Installing libintl (0.24.1-r1) ( 14/253) Installing libeconf (0.8.3-r0) ( 15/253) Installing libblkid (2.41.3-r1) ( 16/253) Installing libmount (2.41.3-r1) ( 17/253) Installing glib (2.88.0-r1) ( 18/253) 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. ( 19/253) Installing icu-libs (78.1-r0) ( 20/253) Installing libpcre2-16 (10.47-r0) ( 21/253) Installing duktape-libs (2.7.0-r3) ( 22/253) Installing libproxy (0.5.12-r0) ( 23/253) Installing qt6-qtbase (6.10.2-r2) ( 24/253) Installing mariadb-connector-c (3.4.6-r0) ( 25/253) Installing qt6-qtbase-mysql (6.10.2-r2) ( 26/253) Installing unixodbc (2.3.14-r1) ( 27/253) Installing qt6-qtbase-odbc (6.10.2-r2) ( 28/253) Installing libpq (18.3-r1) ( 29/253) Installing qt6-qtbase-postgresql (6.10.2-r2) ( 30/253) Installing sqlite-libs (3.51.2-r1) ( 31/253) Installing qt6-qtbase-sqlite (6.10.2-r2) ( 32/253) Installing hicolor-icon-theme (0.18-r0) ( 33/253) Installing libxau (1.0.12-r0) ( 34/253) Installing libmd (1.1.0-r0) ( 35/253) Installing libbsd (0.12.2-r0) ( 36/253) Installing libxdmcp (1.1.5-r1) ( 37/253) Installing libxcb (1.17.0-r1) ( 38/253) Installing libx11 (1.8.13-r0) ( 39/253) Installing xprop (1.2.8-r0) ( 40/253) Installing libxext (1.3.7-r0) ( 41/253) Installing libice (1.1.2-r0) ( 42/253) Installing libuuid (2.41.3-r1) ( 43/253) Installing libsm (1.2.6-r0) ( 44/253) Installing libxt (1.3.1-r0) ( 45/253) Installing libxmu (1.3.1-r0) ( 46/253) Installing xset (1.2.5-r1) ( 47/253) Installing xdg-utils (1.2.1-r1) ( 48/253) Installing libxml2 (2.13.9-r1) ( 49/253) Installing llvm22-libs (22.1.2-r1) ( 50/253) Installing spirv-tools (1.4.341.0-r0) ( 51/253) Installing hwdata-pci (0.405-r0) ( 52/253) Installing libpciaccess (0.18.1-r1) ( 53/253) Installing libdrm (2.4.131-r0) ( 54/253) Installing libelf (0.194-r2) ( 55/253) Installing libxshmfence (1.3.3-r0) ( 56/253) Installing mesa (26.0.3-r1) ( 57/253) Installing mesa-gles (26.0.3-r1) ( 58/253) Installing mesa-gbm (26.0.3-r1) ( 59/253) Installing wayland-libs-client (1.25.0-r0) ( 60/253) Installing mesa-egl (26.0.3-r1) ( 61/253) Installing wayland-libs-cursor (1.25.0-r0) ( 62/253) Installing wayland-libs-egl (1.25.0-r0) ( 63/253) Installing xkeyboard-config (2.46-r0) ( 64/253) Installing libxkbcommon (1.12.2-r0) ( 65/253) Installing qt6-qtbase-wayland (6.10.2-r2) ( 66/253) Installing avahi-libs (0.8-r24) ( 67/253) Installing nettle (3.10.2-r0) ( 68/253) Installing libtasn1 (4.21.0-r0) ( 69/253) Installing p11-kit (0.25.5-r2) ( 70/253) Installing gnutls (3.8.12-r0) ( 71/253) Installing cups-libs (2.4.16-r0) ( 72/253) Installing libpng (1.6.56-r0) ( 73/253) Installing freetype (2.14.2-r0) ( 74/253) Installing fontconfig (2.17.1-r1) ( 75/253) Installing graphite2 (1.3.14-r6) ( 76/253) Installing harfbuzz (13.2.1-r0) ( 77/253) Installing libevdev (1.13.6-r0) ( 78/253) Installing mtdev (1.1.7-r0) ( 79/253) Installing eudev-libs (3.2.14-r6) ( 80/253) Installing libinput-libs (1.31.0-r0) ( 81/253) Installing libjpeg-turbo (3.1.3-r0) ( 82/253) Installing tslib (1.24-r0) ( 83/253) Installing xcb-util (0.4.1-r3) ( 84/253) Installing xcb-util-image (0.4.1-r0) ( 85/253) Installing xcb-util-renderutil (0.3.10-r0) ( 86/253) Installing xcb-util-cursor (0.1.5-r0) ( 87/253) Installing xcb-util-wm (0.4.2-r0) ( 88/253) Installing xcb-util-keysyms (0.4.1-r0) ( 89/253) Installing libxkbcommon-x11 (1.12.2-r0) ( 90/253) Installing qt6-qtbase-x11 (6.10.2-r2) ( 91/253) Installing libxi (1.8.2-r0) ( 92/253) Installing at-spi2-core-libs (2.60.0-r1) ( 93/253) Installing libxtst (1.2.5-r0) ( 94/253) Installing at-spi2-core (2.60.0-r1) ( 95/253) Installing libatk-1.0 (2.60.0-r1) ( 96/253) Installing libatk-bridge-2.0 (2.60.0-r1) ( 97/253) Installing dbus-dev (1.16.2-r2) ( 98/253) Installing bzip2-dev (1.0.8-r6) ( 99/253) Installing libxml2-utils (2.13.9-r1) (100/253) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (101/253) Installing libxslt (1.1.43-r3) (102/253) Installing docbook-xsl-ns (1.79.2-r13) Executing docbook-xsl-ns-1.79.2-r13.post-install (103/253) Installing docbook-xsl-nons (1.79.2-r13) Executing docbook-xsl-nons-1.79.2-r13.post-install (104/253) Installing docbook-xsl (1.79.2-r13) (105/253) Installing xz (5.8.2-r0) (106/253) Installing gettext-asprintf (0.24.1-r1) (107/253) Installing gettext-libs (0.24.1-r1) (108/253) Installing gettext-envsubst (0.24.1-r1) (109/253) Installing gettext (0.24.1-r1) (110/253) Installing gettext-dev (0.24.1-r1) (111/253) Installing gdbm (1.26-r0) (112/253) Installing mpdecimal (4.0.1-r0) (113/253) Installing libpanelw (6.6_p20251231-r0) (114/253) Installing python3 (3.14.3-r0) (115/253) Installing python3-pycache-pyc0 (3.14.3-r0) (116/253) Installing pyc (3.14.3-r0) (117/253) Installing python3-pyc (3.14.3-r0) (118/253) Installing py3-parsing (3.3.2-r1) (119/253) Installing py3-parsing-pyc (3.3.2-r1) (120/253) Installing py3-packaging (26.0-r1) (121/253) Installing py3-packaging-pyc (26.0-r1) (122/253) Installing linux-headers (6.19.10-r0) (123/253) Installing libffi-dev (3.5.2-r0) (124/253) Installing bsd-compat-headers (0.7.2-r6) (125/253) Installing libformw (6.6_p20251231-r0) (126/253) Installing libmenuw (6.6_p20251231-r0) (127/253) Installing libncurses++ (6.6_p20251231-r0) (128/253) Installing ncurses-dev (6.6_p20251231-r0) (129/253) Installing libedit-dev (20251016.3.1-r1) (130/253) Installing zlib-dev (1.3.2-r0) (131/253) Installing libpcre2-32 (10.47-r0) (132/253) Installing pcre2-dev (10.47-r0) (133/253) Installing libfdisk (2.41.3-r1) (134/253) Installing liblastlog2 (2.41.3-r1) (135/253) Installing libsmartcols (2.41.3-r1) (136/253) Installing sqlite (3.51.2-r1) (137/253) Installing sqlite-dev (3.51.2-r1) (138/253) Installing util-linux-dev (2.41.3-r1) (139/253) Installing glib-dev (2.88.0-r1) (140/253) Installing xorgproto (2025.1-r0) (141/253) Installing libxau-dev (1.0.12-r0) (142/253) Installing xcb-proto (1.17.0-r1) (143/253) Installing xcb-proto-pyc (1.17.0-r1) (144/253) Installing libxdmcp-dev (1.1.5-r1) (145/253) Installing libxcb-dev (1.17.0-r1) (146/253) Installing xtrans (1.6.0-r0) (147/253) Installing libx11-dev (1.8.13-r0) (148/253) Installing libxext-dev (1.3.7-r0) (149/253) Installing libxfixes (6.0.2-r0) (150/253) Installing libxfixes-dev (6.0.2-r0) (151/253) Installing libxi-dev (1.8.2-r0) (152/253) Installing libxtst-dev (1.2.5-r0) (153/253) Installing at-spi2-core-dev (2.60.0-r1) (154/253) Installing libgpg-error (1.57-r0) (155/253) Installing libgcrypt (1.12.0-r0) (156/253) Installing libgpg-error-dev (1.57-r0) (157/253) Installing libgcrypt-dev (1.12.0-r0) (158/253) Installing gnutls-c++ (3.8.12-r0) (159/253) Installing libgmpxx (6.3.0-r4) (160/253) Installing gmp-dev (6.3.0-r4) (161/253) Installing nettle-dev (3.10.2-r0) (162/253) Installing brotli (1.2.0-r1) (163/253) Installing brotli-dev (1.2.0-r1) (164/253) Installing libidn2-dev (2.3.8-r0) (165/253) Installing libtasn1-progs (4.21.0-r0) (166/253) Installing libtasn1-dev (4.21.0-r0) (167/253) Installing zstd (1.5.7-r2) (168/253) Installing zstd-dev (1.5.7-r2) (169/253) Installing p11-kit-dev (0.25.5-r2) (170/253) Installing gnutls-dev (3.8.12-r0) (171/253) Installing gdbm-tools (1.26-r0) (172/253) Installing gdbm-dev (1.26-r0) (173/253) Installing avahi-compat-howl (0.8-r24) (174/253) Installing avahi-compat-libdns_sd (0.8-r24) (175/253) Installing avahi-glib (0.8-r24) (176/253) Installing libdaemon (0.14-r6) (177/253) Installing libevent (2.1.12-r9) (178/253) Installing avahi (0.8-r24) Executing avahi-0.8-r24.pre-install (179/253) Installing libevent-dev (2.1.12-r9) (180/253) Installing avahi-dev (0.8-r24) (181/253) Installing cups-dev (2.4.16-r0) (182/253) Installing double-conversion-dev (3.4.0-r0) (183/253) Installing eudev-dev (3.2.14-r6) (184/253) Installing expat (2.7.5-r0) (185/253) Installing expat-dev (2.7.5-r0) (186/253) Installing libpng-dev (1.6.56-r0) (187/253) Installing freetype-dev (2.14.2-r0) (188/253) Installing fontconfig-dev (2.17.1-r1) (189/253) Installing libxrender (0.9.12-r0) (190/253) Installing pixman (0.46.4-r0) (191/253) Installing cairo (1.18.4-r1) (192/253) Installing harfbuzz-cairo (13.2.1-r0) (193/253) Installing harfbuzz-gobject (13.2.1-r0) (194/253) Installing harfbuzz-icu (13.2.1-r0) (195/253) Installing harfbuzz-subset (13.2.1-r0) (196/253) Installing cairo-tools (1.18.4-r1) (197/253) Installing cairo-gobject (1.18.4-r1) (198/253) Installing pixman-dev (0.46.4-r0) (199/253) Installing libxrender-dev (0.9.12-r0) (200/253) Installing cairo-dev (1.18.4-r1) (201/253) Installing graphite2-dev (1.3.14-r6) (202/253) Installing icu (78.1-r0) (203/253) Installing icu-dev (78.1-r0) (204/253) Installing harfbuzz-dev (13.2.1-r0) (205/253) Installing libb2-dev (0.98.1-r3) (206/253) Installing libinput-dev (1.31.0-r0) (207/253) Installing libturbojpeg (3.1.3-r0) (208/253) Installing libjpeg-turbo-dev (3.1.3-r0) (209/253) Installing openssl-dev (3.5.5-r1) (210/253) Installing libpq-dev (18.3-r1) (211/253) Installing libproxy-dev (0.5.12-r0) (212/253) Installing xz-dev (5.8.2-r0) (213/253) Installing libxml2-dev (2.13.9-r1) (214/253) Installing libxkbcommon-dev (1.12.2-r0) (215/253) Installing fmt (11.2.0-r1) (216/253) Installing fmt-dev (11.2.0-r1) (217/253) Installing mariadb-connector-c-dev (3.4.6-r0) (218/253) Installing mariadb-common (11.8.5-r1) (219/253) Installing libaio (0.3.113-r2) (220/253) Installing mariadb-embedded (11.8.5-r1) (221/253) Installing mariadb-dev (11.8.5-r1) (222/253) Installing libpciaccess-dev (0.18.1-r1) (223/253) Installing libdrm-dev (2.4.131-r0) (224/253) Installing libxdamage (1.1.7-r0) (225/253) Installing libxdamage-dev (1.1.7-r0) (226/253) Installing libxshmfence-dev (1.3.3-r0) (227/253) Installing libxxf86vm (1.1.7-r0) (228/253) Installing mesa-gl (26.0.3-r1) (229/253) Installing libxxf86vm-dev (1.1.7-r0) (230/253) Installing mesa-dev (26.0.3-r1) (231/253) Installing tslib-dev (1.24-r0) (232/253) Installing unixodbc-dev (2.3.14-r1) (233/253) Installing vulkan-headers (1.4.347-r0) (234/253) Installing vulkan-loader (1.4.347-r0) (235/253) Installing vulkan-loader-dev (1.4.347-r0) (236/253) Installing wayland-libs-server (1.25.0-r0) (237/253) Installing qt6-qtwayland (6.10.2-r0) (238/253) Installing wayland-dev (1.25.0-r0) (239/253) Installing util-macros (1.20.2-r0) (240/253) Installing xcb-util-dev (0.4.1-r3) (241/253) Installing xcb-util-image-dev (0.4.1-r0) (242/253) Installing xcb-util-renderutil-dev (0.3.10-r0) (243/253) Installing xcb-util-cursor-dev (0.1.5-r0) (244/253) Installing xcb-util-keysyms-dev (0.4.1-r0) (245/253) Installing xcb-util-wm-dev (0.4.2-r0) (246/253) Installing qt6-qtbase-dev (6.10.2-r2) (247/253) Installing qt6-qtsvg (6.10.2-r0) (248/253) Installing qt6-qtsvg-dev (6.10.2-r0) (249/253) Installing .makedepends-spotify-qt (20260331.231306) (250/253) Installing dbus (1.16.2-r2) Executing dbus-1.16.2-r2.pre-install Executing dbus-1.16.2-r2.post-install (251/253) Installing dbus-openrc (1.16.2-r2) (252/253) Installing dbus-daemon-launch-helper (1.16.2-r2) (253/253) 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: 907.0 MiB in 357 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 (140.82.121.3:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/edge/spotify-qt-4.0.3.tar.gz.part' spotify-qt-4.0.3.tar 100% |********************************| 760k 0:00:00 ETA '/var/cache/distfiles/edge/spotify-qt-4.0.3.tar.gz.part' saved /var/cache/distfiles/edge/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/edge/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/edge/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 -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /usr/include (found version "1.5") -- Performing Test HAVE_GLESv2 -- Performing Test HAVE_GLESv2 - Success -- Found GLESv2: /usr/include -- 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 (2.2s) -- Generating done (0.1s) -- 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 /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; | ^~~~ [168/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/artistlinks.cpp.o [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/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 | ^~~~~~~~~~~ [170/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/album.cpp.o [171/206] Building CXX object CMakeFiles/spotify-qt.dir/src/menu/addtoplaylist.cpp.o [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 [174/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/mediaplayer.cpp.o [175/206] Building CXX object CMakeFiles/spotify-qt.dir/src/mediaplayer/client.cpp.o [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 [178/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/crash.cpp.o [179/206] Building CXX object CMakeFiles/spotify-qt.dir/src/listitem/album.cpp.o [180/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/tracks.cpp.o [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 [183/206] Building CXX object CMakeFiles/spotify-qt.dir/src/list/contributors.cpp.o [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/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; | ^~~~~~~~~~~~ [185/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/widgets.cpp.o [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/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 | ^~~~~~~~~~~ [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/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 | ^~~~~~~~~~~ [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/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 | ^~~~~~~~~~~ [189/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/settings.cpp.o [190/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/openlink.cpp.o [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/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; | ^~~~~~~~~~~~ [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/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; | ^~~~~~~~~~~~ [193/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/jsondump.cpp.o [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/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 | ^~~~~~~~~~~ [196/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/disallows.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, | ^~~ [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/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 | ^~~~~~~~~~~ [198/206] Building CXX object CMakeFiles/spotify-qt.dir/src/dialog/createplaylist.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; | ^~~~ [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/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 | ^~~~~~~~~~~ [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/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 | ^~~~~~~~~~~ [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/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 | ^~~~~~~~~~~ [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/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 | ^~~~~~~~~~~ [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/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; | ^~~~~~~~~~~~ [204/206] Building CXX object CMakeFiles/spotify-qt.dir/src/commandline/parser.cpp.o [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/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, | ^~~ 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 | ^~~~~~~~~~~ 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/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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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/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, | ^~~ 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/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/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 | ^~~~~ 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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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/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 | ^~~~~~~~~~~ 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; | ^~~~~~~~~~~~ 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/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/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 | ^~~~~~~~~~~ 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/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 | ^~~~~~~~~~~ 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/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/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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ /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/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/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/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/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/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 | ^~~~~~~~~~~ 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/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 | ^~~~~~~~~~~ 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 | ^~~~~~~~~~~ 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/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/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/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; | ^~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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-armhf.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> spotify-qt*: Package size: 1.3 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:04 +0000 elapsed time 0h 0m 59s >>> spotify-qt: Cleaning up srcdir >>> spotify-qt: Cleaning up pkgdir >>> spotify-qt: Cleaning up tmpdir >>> spotify-qt: Uninstalling dependencies... ( 1/253) Purging .makedepends-spotify-qt (20260331.231306) ( 2/253) Purging cmake (4.2.3-r0) ( 3/253) Purging samurai (1.2-r8) ( 4/253) Purging qt6-qtsvg-dev (6.10.2-r0) ( 5/253) Purging qt6-qtsvg (6.10.2-r0) ( 6/253) Purging at-spi2-core (2.60.0-r1) ( 7/253) Purging avahi-openrc (0.8-r24) ( 8/253) Purging dbus-openrc (1.16.2-r2) ( 9/253) Purging dbus-daemon-launch-helper (1.16.2-r2) ( 10/253) Purging dbus (1.16.2-r2) ( 11/253) Purging libarchive (3.8.6-r0) ( 12/253) Purging libuv (1.51.0-r0) ( 13/253) Purging py3-packaging-pyc (26.0-r1) ( 14/253) Purging py3-parsing-pyc (3.3.2-r1) ( 15/253) Purging python3-pyc (3.14.3-r0) ( 16/253) Purging python3-pycache-pyc0 (3.14.3-r0) ( 17/253) Purging xcb-proto-pyc (1.17.0-r1) ( 18/253) Purging pyc (3.14.3-r0) ( 19/253) Purging qt6-qtbase-dev (6.10.2-r2) ( 20/253) Purging qt6-qtbase-mysql (6.10.2-r2) ( 21/253) Purging qt6-qtbase-odbc (6.10.2-r2) ( 22/253) Purging qt6-qtbase-postgresql (6.10.2-r2) ( 23/253) Purging qt6-qtbase-sqlite (6.10.2-r2) ( 24/253) Purging at-spi2-core-dev (2.60.0-r1) ( 25/253) Purging libatk-bridge-2.0 (2.60.0-r1) ( 26/253) Purging cups-dev (2.4.16-r0) ( 27/253) Purging libgcrypt-dev (1.12.0-r0) ( 28/253) Purging dbus-dev (1.16.2-r2) ( 29/253) Purging double-conversion-dev (3.4.0-r0) ( 30/253) Purging harfbuzz-dev (13.2.1-r0) ( 31/253) Purging harfbuzz-cairo (13.2.1-r0) ( 32/253) Purging harfbuzz-gobject (13.2.1-r0) ( 33/253) Purging harfbuzz-icu (13.2.1-r0) ( 34/253) Purging harfbuzz-subset (13.2.1-r0) ( 35/253) Purging icu-dev (78.1-r0) ( 36/253) Purging libb2-dev (0.98.1-r3) ( 37/253) Purging libinput-dev (1.31.0-r0) ( 38/253) Purging libjpeg-turbo-dev (3.1.3-r0) ( 39/253) Purging libturbojpeg (3.1.3-r0) ( 40/253) Purging libpq-dev (18.3-r1) ( 41/253) Purging libpq (18.3-r1) ( 42/253) Purging libproxy-dev (0.5.12-r0) ( 43/253) Purging mariadb-dev (11.8.5-r1) ( 44/253) Purging fmt-dev (11.2.0-r1) ( 45/253) Purging fmt (11.2.0-r1) ( 46/253) Purging mariadb-connector-c-dev (3.4.6-r0) ( 47/253) Purging mariadb-connector-c (3.4.6-r0) ( 48/253) Purging mariadb-embedded (11.8.5-r1) ( 49/253) Purging mariadb-common (11.8.5-r1) ( 50/253) Purging mesa-dev (26.0.3-r1) ( 51/253) Purging libxdamage-dev (1.1.7-r0) ( 52/253) Purging libxdamage (1.1.7-r0) ( 53/253) Purging libxshmfence-dev (1.3.3-r0) ( 54/253) Purging mesa-gl (26.0.3-r1) ( 55/253) Purging openssl-dev (3.5.5-r1) ( 56/253) Purging tslib-dev (1.24-r0) ( 57/253) Purging unixodbc-dev (2.3.14-r1) ( 58/253) Purging unixodbc (2.3.14-r1) ( 59/253) Purging vulkan-loader-dev (1.4.347-r0) ( 60/253) Purging vulkan-headers (1.4.347-r0) ( 61/253) Purging vulkan-loader (1.4.347-r0) ( 62/253) Purging wayland-dev (1.25.0-r0) ( 63/253) Purging xcb-util-cursor-dev (0.1.5-r0) ( 64/253) Purging xcb-util-image-dev (0.4.1-r0) ( 65/253) Purging xcb-util-keysyms-dev (0.4.1-r0) ( 66/253) Purging xcb-util-renderutil-dev (0.3.10-r0) ( 67/253) Purging xcb-util-wm-dev (0.4.2-r0) ( 68/253) Purging xcb-util-dev (0.4.1-r3) ( 69/253) Purging util-macros (1.20.2-r0) ( 70/253) Purging qt6-qtwayland (6.10.2-r0) ( 71/253) Purging rhash-libs (1.4.6-r0) ( 72/253) Purging wayland-libs-server (1.25.0-r0) ( 73/253) Purging at-spi2-core-libs (2.60.0-r1) ( 74/253) Purging avahi-dev (0.8-r24) ( 75/253) Purging gdbm-dev (1.26-r0) ( 76/253) Purging gdbm-tools (1.26-r0) ( 77/253) Purging avahi-compat-howl (0.8-r24) ( 78/253) Purging avahi-compat-libdns_sd (0.8-r24) ( 79/253) Purging avahi-glib (0.8-r24) ( 80/253) Purging avahi (0.8-r24) ( 81/253) Purging qt6-qtbase-wayland (6.10.2-r2) ( 82/253) Purging qt6-qtbase-x11 (6.10.2-r2) ( 83/253) Purging hicolor-icon-theme (0.18-r0) ( 84/253) Purging xdg-utils (1.2.1-r1) ( 85/253) Purging xprop (1.2.8-r0) ( 86/253) Purging xset (1.2.5-r1) ( 87/253) Purging cups-libs (2.4.16-r0) ( 88/253) Purging avahi-libs (0.8-r24) ( 89/253) Purging gnutls-dev (3.8.12-r0) ( 90/253) Purging gnutls-c++ (3.8.12-r0) ( 91/253) Purging gnutls (3.8.12-r0) ( 92/253) Purging graphite2-dev (1.3.14-r6) ( 93/253) Purging cairo-dev (1.18.4-r1) ( 94/253) Purging cairo-tools (1.18.4-r1) ( 95/253) Purging cairo-gobject (1.18.4-r1) ( 96/253) Purging cairo (1.18.4-r1) ( 97/253) Purging fontconfig-dev (2.17.1-r1) ( 98/253) Purging fontconfig (2.17.1-r1) ( 99/253) Purging freetype-dev (2.14.2-r0) (100/253) Purging brotli-dev (1.2.0-r1) (101/253) Purging brotli (1.2.0-r1) (102/253) Purging glib-dev (2.88.0-r1) (103/253) Purging bzip2-dev (1.0.8-r6) (104/253) Purging docbook-xsl (1.79.2-r13) (105/253) Purging docbook-xsl-ns (1.79.2-r13) Executing docbook-xsl-ns-1.79.2-r13.pre-deinstall (106/253) Purging docbook-xsl-nons (1.79.2-r13) Executing docbook-xsl-nons-1.79.2-r13.pre-deinstall (107/253) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (108/253) Purging gettext-dev (0.24.1-r1) (109/253) Purging gettext-asprintf (0.24.1-r1) (110/253) Purging gettext (0.24.1-r1) (111/253) Purging gettext-envsubst (0.24.1-r1) (112/253) Purging libxslt (1.1.43-r3) (113/253) Purging py3-packaging (26.0-r1) (114/253) Purging py3-parsing (3.3.2-r1) (115/253) Purging pcre2-dev (10.47-r0) (116/253) Purging libpcre2-32 (10.47-r0) (117/253) Purging libedit-dev (20251016.3.1-r1) (118/253) Purging ncurses-dev (6.6_p20251231-r0) (119/253) Purging libncurses++ (6.6_p20251231-r0) (120/253) Purging bsd-compat-headers (0.7.2-r6) (121/253) Purging qt6-qtbase (6.10.2-r2) (122/253) Purging tzdata (2026a-r0) (123/253) Purging dbus-libs (1.16.2-r2) (124/253) Purging double-conversion (3.4.0-r0) (125/253) Purging libproxy (0.5.12-r0) (126/253) Purging duktape-libs (2.7.0-r3) (127/253) Purging eudev-dev (3.2.14-r6) (128/253) Purging libinput-libs (1.31.0-r0) (129/253) Purging eudev-libs (3.2.14-r6) (130/253) Purging expat-dev (2.7.5-r0) (131/253) Purging expat (2.7.5-r0) (132/253) Purging harfbuzz (13.2.1-r0) (133/253) Purging freetype (2.14.2-r0) (134/253) Purging libevent-dev (2.1.12-r9) (135/253) Purging libevent (2.1.12-r9) (136/253) Purging libxxf86vm-dev (1.1.7-r0) (137/253) Purging libxxf86vm (1.1.7-r0) (138/253) Purging libxrender-dev (0.9.12-r0) (139/253) Purging libxrender (0.9.12-r0) (140/253) Purging libxtst-dev (1.2.5-r0) (141/253) Purging libxtst (1.2.5-r0) (142/253) Purging libxi-dev (1.8.2-r0) (143/253) Purging libxi (1.8.2-r0) (144/253) Purging libxfixes-dev (6.0.2-r0) (145/253) Purging libxfixes (6.0.2-r0) (146/253) Purging libxext-dev (1.3.7-r0) (147/253) Purging libx11-dev (1.8.13-r0) (148/253) Purging xtrans (1.6.0-r0) (149/253) Purging libxkbcommon-dev (1.12.2-r0) (150/253) Purging libxkbcommon-x11 (1.12.2-r0) (151/253) Purging libxkbcommon (1.12.2-r0) (152/253) Purging xkeyboard-config (2.46-r0) (153/253) Purging libxcb-dev (1.17.0-r1) (154/253) Purging xcb-proto (1.17.0-r1) (155/253) Purging python3 (3.14.3-r0) (156/253) Purging gdbm (1.26-r0) (157/253) Purging gettext-libs (0.24.1-r1) (158/253) Purging libatk-1.0 (2.60.0-r1) (159/253) Purging glib (2.88.0-r1) (160/253) Purging nettle-dev (3.10.2-r0) (161/253) Purging nettle (3.10.2-r0) (162/253) Purging gmp-dev (6.3.0-r4) (163/253) Purging libgmpxx (6.3.0-r4) (164/253) Purging graphite2 (1.3.14-r6) (165/253) Purging libdrm-dev (2.4.131-r0) (166/253) Purging libpciaccess-dev (0.18.1-r1) (167/253) Purging mesa-egl (26.0.3-r1) (168/253) Purging mesa-gles (26.0.3-r1) (169/253) Purging mesa-gbm (26.0.3-r1) (170/253) Purging mesa (26.0.3-r1) (171/253) Purging libdrm (2.4.131-r0) (172/253) Purging libpciaccess (0.18.1-r1) (173/253) Purging hwdata-pci (0.405-r0) (174/253) Purging icu (78.1-r0) (175/253) Purging icu-libs (78.1-r0) (176/253) Purging icu-data-en (78.1-r0) (177/253) Purging libaio (0.3.113-r2) (178/253) Purging libb2 (0.98.1-r3) (179/253) Purging util-linux-dev (2.41.3-r1) (180/253) Purging libfdisk (2.41.3-r1) (181/253) Purging liblastlog2 (2.41.3-r1) (182/253) Purging libmount (2.41.3-r1) (183/253) Purging libsmartcols (2.41.3-r1) (184/253) Purging libblkid (2.41.3-r1) (185/253) Purging libxdmcp-dev (1.1.5-r1) (186/253) Purging xcb-util-cursor (0.1.5-r0) (187/253) Purging xcb-util-renderutil (0.3.10-r0) (188/253) Purging xcb-util-image (0.4.1-r0) (189/253) Purging xcb-util-wm (0.4.2-r0) (190/253) Purging libxmu (1.3.1-r0) (191/253) Purging libxext (1.3.7-r0) (192/253) Purging libxt (1.3.1-r0) (193/253) Purging libx11 (1.8.13-r0) (194/253) Purging xcb-util-keysyms (0.4.1-r0) (195/253) Purging xcb-util (0.4.1-r3) (196/253) Purging libxcb (1.17.0-r1) (197/253) Purging libxdmcp (1.1.5-r1) (198/253) Purging libbsd (0.12.2-r0) (199/253) Purging libbz2 (1.0.8-r6) (200/253) Purging libdaemon (0.14-r6) (201/253) Purging libeconf (0.8.3-r0) (202/253) Purging libelf (0.194-r2) (203/253) Purging libevdev (1.13.6-r0) (204/253) Purging libffi-dev (3.5.2-r0) (205/253) Purging linux-headers (6.19.10-r0) (206/253) Purging wayland-libs-cursor (1.25.0-r0) (207/253) Purging wayland-libs-client (1.25.0-r0) (208/253) Purging p11-kit-dev (0.25.5-r2) (209/253) Purging p11-kit (0.25.5-r2) (210/253) Purging llvm22-libs (22.1.2-r1) (211/253) Purging libffi (3.5.2-r0) (212/253) Purging libformw (6.6_p20251231-r0) (213/253) Purging libgcrypt (1.12.0-r0) (214/253) Purging libgpg-error-dev (1.57-r0) (215/253) Purging libgpg-error (1.57-r0) (216/253) Purging libsm (1.2.6-r0) (217/253) Purging libice (1.1.2-r0) (218/253) Purging libidn2-dev (2.3.8-r0) (219/253) Purging libintl (0.24.1-r1) (220/253) Purging libjpeg-turbo (3.1.3-r0) (221/253) Purging libmd (1.1.0-r0) (222/253) Purging libmenuw (6.6_p20251231-r0) (223/253) Purging libpanelw (6.6_p20251231-r0) (224/253) Purging libpcre2-16 (10.47-r0) (225/253) Purging libpng-dev (1.6.56-r0) (226/253) Purging libpng (1.6.56-r0) (227/253) Purging libtasn1-dev (4.21.0-r0) (228/253) Purging libtasn1-progs (4.21.0-r0) (229/253) Purging libtasn1 (4.21.0-r0) (230/253) Purging libuuid (2.41.3-r1) (231/253) Purging libxau-dev (1.0.12-r0) (232/253) Purging libxau (1.0.12-r0) (233/253) Purging libxml2-dev (2.13.9-r1) (234/253) Purging libxml2-utils (2.13.9-r1) (235/253) Purging libxml2 (2.13.9-r1) (236/253) Purging libxshmfence (1.3.3-r0) (237/253) Purging mpdecimal (4.0.1-r0) (238/253) Purging mtdev (1.1.7-r0) (239/253) Purging pixman-dev (0.46.4-r0) (240/253) Purging pixman (0.46.4-r0) (241/253) Purging spirv-tools (1.4.341.0-r0) (242/253) Purging sqlite-dev (3.51.2-r1) (243/253) Purging sqlite-libs (3.51.2-r1) (244/253) Purging sqlite (3.51.2-r1) (245/253) Purging tslib (1.24-r0) (246/253) Purging wayland-libs-egl (1.25.0-r0) (247/253) Purging xorgproto (2025.1-r0) (248/253) Purging xz-dev (5.8.2-r0) (249/253) Purging xz (5.8.2-r0) (250/253) Purging xz-libs (5.8.2-r0) (251/253) Purging zlib-dev (1.3.2-r0) (252/253) Purging zstd-dev (1.5.7-r2) (253/253) Purging zstd (1.5.7-r2) Executing busybox-1.37.0-r31.trigger OK: 343.0 MiB in 104 packages >>> spotify-qt: Updating the community/armhf repository index... >>> spotify-qt: Signing the index...