Hi Manuel, this is the output of snapper-tools-git
[robertocannito@roberto-bohkwax9x ~]$ yay -S snapper-tools-git
AUR Explicit (1): snapper-tools-git-r5.36aa64d-1
:: (1/1) PKGBUILD scaricato: snapper-tools-git
1 snapper-tools-git (I file di compilazione sono già presenti)
==> Pacchetti da compilare in modo pulito?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
1 snapper-tools-git (I file di compilazione sono già presenti)
==> Differenze da mostrare?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
==> Creazione del pacchetto: snapper-tools-git r5.36aa64d-1 (mer 2 ott 2024, 13:51:37)
==> Download dei sorgenti in corso...
-> Clonazione del repository snapper-tools git in corso...
Clone nel repository spoglio '/home/robertocannito/.cache/yay/snapper-tools-git/snapper-tools' in corso...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 81 (delta 6), reused 16 (delta 6), pack-reused 64 (from 1)
Ricezione degli oggetti: 100% (81/81), 38.09 KiB | 19.05 MiB/s, fatto.
Risoluzione dei delta: 100% (40/40), fatto.
==> ATTENZIONE: Sto ignorando la verifica delle firme PGP.
==> Validazione di source file con md5sums...
snapper-tools ... Ignorato
:: (1/1) Analisi SRCINFO: snapper-tools-git
==> Creazione del pacchetto: snapper-tools-git r5.36aa64d-1 (mer 2 ott 2024, 13:51:40)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> Aggiornamento del repository snapper-tools git in corso...
==> Validazione di source file con md5sums...
snapper-tools ... Ignorato
==> Rimozione dell'esistente directory $srcdir/ in corso...
==> Estrazione dei sorgenti in corso...
-> Creazione di una copia di lavoro del repository snapper-tools git in corso...
Clone in 'snapper-tools' in corso...
fatto.
==> Avvio di pkgver() in corso...
==> Versione aggiornata: snapper-tools-git r16.bb0564d-1
==> I sorgenti sono pronti.
==> Creazione del pacchetto: snapper-tools-git r16.bb0564d-1 (mer 2 ott 2024, 13:51:46)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> ATTENZIONE: Sto usando il tree esistente di $srcdir/
==> Avvio di pkgver() in corso...
==> Avvio di build() in corso...
-- The CXX compiler identification is GNU 14.2.1
-- 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 CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Configuring done (1.6s)
-- Generating done (0.1s)
-- Build files have been written to: /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build
make: ingresso nella directory «/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build»
[ 0%] Built target snapper-tools_autogen_timestamp_deps
[ 12%] Automatic MOC and UIC for target snapper-tools
[ 12%] Built target snapper-tools_autogen
[ 25%] Building CXX object CMakeFiles/snapper-tools.dir/snapper-tools_autogen/mocs_compilation.cpp.o
[ 37%] Building CXX object CMakeFiles/snapper-tools.dir/main.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp: In function ‘int main(int, char**)’:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:94:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
94 | for (const auto& i : qAsConst(result)) {
| ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
from /usr/include/qt6/QtCore/qglobal.h:57,
from /usr/include/qt6/QtCore/qcalendar.h:9,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/QDateTime:1,
from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.h:4,
from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:156:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
156 | for (const auto& i : qAsConst(snapshots)) {
| ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:164:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
164 | for (const auto& i : qAsConst(subvolumes)) {
| ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:174:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
174 | for (const auto& i : qAsConst(snapshots)) {
| ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:179:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
179 | for (const auto& i : qAsConst(subvolumes)) {
| ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/snapper-tools.dir/snappertools.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:102:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
102 | auto future = QtConcurrent::run([=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:102:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:151:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
151 | auto future = QtConcurrent::run([=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:151:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:161:61: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
161 | connect(watcher, &QFutureWatcher<void>::finished, this, [=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:161:61: note: add explicit ‘this’ or ‘*this’ capture
[ 62%] Building CXX object CMakeFiles/snapper-tools.dir/backend.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:73:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
73 | for (const auto& volume : qAsConst(volumes)) {
| ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
from /usr/include/qt6/QtCore/qglobal.h:57,
from /usr/include/qt6/QtCore/qcalendar.h:9,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/QDateTime:1,
from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.h:4,
from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: conversion from ‘const char [9]’ to ‘QChar’ is ambiguous
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qstring.h:14,
from /usr/include/qt6/QtCore/qhashfunctions.h:8,
from /usr/include/qt6/QtCore/qfloat16.h:10,
from /usr/include/qt6/QtCore/qmetatype.h:14,
from /usr/include/qt6/QtCore/qvariant.h:9,
from /usr/include/qt6/QtCore/qlocale.h:7,
from /usr/include/qt6/QtCore/qcalendar.h:10:
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [9]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qchar.h:656:
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
95 | } else if (xml.name() == "date") {
| ^~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
95 | } else if (xml.name() == "date") {
| ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: conversion from ‘const char [12]’ to ‘QChar’ is ambiguous
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
100 | else if (xml.name() == "type")
| ^~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
100 | else if (xml.name() == "type")
| ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: conversion from ‘const char [8]’ to ‘QChar’ is ambiguous
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [8]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:188:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
188 | for (const auto& volume : qAsConst(volumes)) {
| ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
make[2]: *** [CMakeFiles/snapper-tools.dir/build.make:125: CMakeFiles/snapper-tools.dir/backend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/snapper-tools.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: uscita dalla directory «/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build»
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
-> errore durante la creazione: snapper-tools-git-exit status 4
-> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
snapper-tools-git - exit status 4
[robertocannito@roberto-bohkwax9x ~]$
and this is the output for snapper-tools
[robertocannito@roberto-bohkwax9x ~]$ yay -S snapper-tools
AUR Explicit (1): snapper-tools-1.1.3-1
:: (1/1) PKGBUILD scaricato: snapper-tools
1 snapper-tools (I file di compilazione sono già presenti)
==> Pacchetti da compilare in modo pulito?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
1 snapper-tools (I file di compilazione sono già presenti)
==> Differenze da mostrare?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:14)
==> Download dei sorgenti in corso...
-> Download di snapper-tools-1.1.3.tar.gz in corso...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13950 0 13950 0 0 12902 0 --:--:-- 0:00:01 --:--:-- 12904
==> ATTENZIONE: Sto ignorando la verifica delle firme PGP.
==> Validazione di source file con sha256sums...
snapper-tools-1.1.3.tar.gz ... Verificato
:: (1/1) Analisi SRCINFO: snapper-tools
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:17)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> È stato trovato snapper-tools-1.1.3.tar.gz
==> Validazione di source file con sha256sums...
snapper-tools-1.1.3.tar.gz ... Verificato
==> Rimozione dell'esistente directory $srcdir/ in corso...
==> Estrazione dei sorgenti in corso...
-> Estrazione di snapper-tools-1.1.3.tar.gz usando bsdtar in corso...
==> I sorgenti sono pronti.
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:21)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> ATTENZIONE: Sto usando il tree esistente di $srcdir/
==> Avvio di build() in corso...
-- The CXX compiler identification is GNU 14.2.1
-- 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 CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Configuring done (1.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build
make: ingresso nella directory «/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build»
[ 0%] Built target snapper-tools_autogen_timestamp_deps
[ 12%] Automatic MOC and UIC for target snapper-tools
[ 12%] Built target snapper-tools_autogen
[ 25%] Building CXX object CMakeFiles/snapper-tools.dir/snapper-tools_autogen/mocs_compilation.cpp.o
[ 37%] Building CXX object CMakeFiles/snapper-tools.dir/main.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp: In function ‘int main(int, char**)’:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:94:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
94 | for (const auto& i : qAsConst(result)) {
| ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
from /usr/include/qt6/QtCore/qglobal.h:57,
from /usr/include/qt6/QtCore/qcalendar.h:9,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/QDateTime:1,
from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.h:4,
from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:156:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
156 | for (const auto& i : qAsConst(snapshots)) {
| ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:164:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
164 | for (const auto& i : qAsConst(subvolumes)) {
| ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:174:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
174 | for (const auto& i : qAsConst(snapshots)) {
| ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:179:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
179 | for (const auto& i : qAsConst(subvolumes)) {
| ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/snapper-tools.dir/snappertools.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:102:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
102 | auto future = QtConcurrent::run([=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:102:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:151:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
151 | auto future = QtConcurrent::run([=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:151:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:161:61: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
161 | connect(watcher, &QFutureWatcher<void>::finished, this, [=]() {
| ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:161:61: note: add explicit ‘this’ or ‘*this’ capture
[ 62%] Building CXX object CMakeFiles/snapper-tools.dir/backend.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:73:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
73 | for (const auto& volume : qAsConst(volumes)) {
| ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
from /usr/include/qt6/QtCore/qglobal.h:57,
from /usr/include/qt6/QtCore/qcalendar.h:9,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/QDateTime:1,
from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.h:4,
from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: conversion from ‘const char [9]’ to ‘QChar’ is ambiguous
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qstring.h:14,
from /usr/include/qt6/QtCore/qhashfunctions.h:8,
from /usr/include/qt6/QtCore/qfloat16.h:10,
from /usr/include/qt6/QtCore/qmetatype.h:14,
from /usr/include/qt6/QtCore/qvariant.h:9,
from /usr/include/qt6/QtCore/qlocale.h:7,
from /usr/include/qt6/QtCore/qcalendar.h:10:
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [9]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [9]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
92 | if (xml.name() == "snapshot") {
| ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qchar.h:656:
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
95 | } else if (xml.name() == "date") {
| ^~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
95 | } else if (xml.name() == "date") {
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
95 | } else if (xml.name() == "date") {
| ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: conversion from ‘const char [12]’ to ‘QChar’ is ambiguous
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [12]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
98 | } else if (xml.name() == "description")
| ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
100 | else if (xml.name() == "type")
| ^~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
100 | else if (xml.name() == "type")
| ^~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
100 | else if (xml.name() == "type")
| ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: conversion from ‘const char [8]’ to ‘QChar’ is ambiguous
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
| |
| const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QLatin1Char’
82 | constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QChar::SpecialCharacter’
81 | constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
| ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
75 | constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
48 | class Q_CORE_EXPORT QChar {
| ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [8]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note: no known conversion for argument 1 from ‘const char [8]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
102 | else if (xml.name() == "cleanup") {
| ^~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note: initializing argument 2 of ‘bool operator==(QStringView, QChar)’
377 | friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
| ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:188:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
188 | for (const auto& volume : qAsConst(volumes)) {
| ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
make[2]: *** [CMakeFiles/snapper-tools.dir/build.make:125: CMakeFiles/snapper-tools.dir/backend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/snapper-tools.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: uscita dalla directory «/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build»
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
-> errore durante la creazione: snapper-tools-exit status 4
-> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
snapper-tools - exit status 4
As you may see the two commands stops with error -4