Fetching source from mirror: http://download.kde.org/stable/release-service/24.12.2/src/messagelib-24.12.2.tar.xz
CMake Warning at /usr/share/ECM/modules/ECMCheckOutboundLicense.cmake:86 (message):
  Reuse tool not found, skipping test generation
Call Stack (most recent call first):
  CMakeLists.txt:74 (include)


CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS
    ECM_MKSPECS_INSTALL_DIR


/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp: In member function ‘void WebEngineViewer::LocalDataBaseManager::checkUrl(const QUrl&)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp:82:24: warning: ignoring return value of ‘bool WebEngineViewer::LocalDataBaseFile::reload()’, declared with attribute ‘nodiscard’ [-Wunused-result]
   82 |         d->mFile.reload();
      |         ~~~~~~~~~~~~~~~^~
In file included from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasemanager_p.h:10,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp:7:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasefile.h:36:24: note: declared here
   36 |     [[nodiscard]] bool reload();
      |                        ^~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasefile.cpp: In member function ‘bool WebEngineViewer::LocalDataBaseFile::checkFileChanged()’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasefile.cpp:172:15: warning: ignoring return value of ‘bool WebEngineViewer::LocalDataBaseFile::reload()’, declared with attribute ‘nodiscard’ [-Wunused-result]
  172 |         reload(); // will mark itself as invalid on failure
      |         ~~~~~~^~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/webengineviewer/src/checkphishingurl/localdatabasefile.cpp:111:6: note: declared here
  111 | bool LocalDataBaseFile::reload()
      |      ^~~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.cpp: In member function ‘bool MimeTreeParser::EncryptedMessagePart::okDecryptMIME(KMime::Content&)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.cpp:1175:94: warning: ‘const char* GpgME::Error::asString() const’ is deprecated [-Wdeprecated-declarations]
 1175 |             partMetaData()->errorText = QString::fromLocal8Bit(decryptResult.error().asString());
      |                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/gpgme++/context.h:29,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/partmetadata.h:13,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/partmetadata.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/nodehelper.h:13,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/nodehelper.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/objecttreeparser.h:16,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/objecttreeparser.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/interfaces/bodypartformatter.h:17,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/bodypartformatter.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.h:11,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.cpp:7:
/usr/include/gpgme++/error.h:53:36: note: declared here
   53 |     GPGMEPP_DEPRECATED const char *asString() const;
      |                                    ^~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.cpp: In constructor ‘MimeTreeParser::EncapsulatedRfc822MessagePart::EncapsulatedRfc822MessagePart(MimeTreeParser::ObjectTreeParser*, KMime::Content*, const KMime::Message::Ptr&)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/messagepart.cpp:1357:60: warning: ignoring return value of ‘QString MimeTreeParser::NodeHelper::writeNodeToTempFile(KMime::Content*)’, declared with attribute ‘nodiscard’ [-Wunused-result]
 1357 |     mOtp->nodeHelper()->writeNodeToTempFile(message.data());
      |                                                            ^
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/nodehelper.h:119:27: note: declared here
  119 |     [[nodiscard]] QString writeNodeToTempFile(KMime::Content *node);
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/nodehelper.cpp: In member function ‘QString MimeTreeParser::NodeHelper::extractAttachmentIndex(const QString&) const’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/nodehelper.cpp:774:21: warning: ignoring return value of ‘qsizetype QString::lastIndexOf(const QRegularExpression&, qsizetype, QRegularExpressionMatch*) const’, declared with attribute ‘nodiscard’ [-Wunused-result]
  774 |     path.lastIndexOf(re, -1, &rmatch);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
                 from /usr/include/qt6/QtCore/qfloat16.h:10,
                 from /usr/include/qt6/QtCore/qmetatype.h:14,
                 from /usr/include/qt6/QtCore/qvariant.h:10,
                 from /usr/include/qt6/QtCore/qlocale.h:7,
                 from /usr/include/qt6/QtCore/qcalendar.h:10,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/partmetadata.h:16,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/partmetadata.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/nodehelper.h:13,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/mimetreeparser/src/nodehelper.cpp:8:
/usr/include/qt6/QtCore/qstring.h:337:29: note: declared here
  337 |     [[nodiscard]] qsizetype lastIndexOf(const QRegularExpression &re, qsizetype from,
      |                             ^~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/model.cpp: In member function ‘MessageList::Core::MessageItemSetReference MessageList::Core::Model::createPersistentSet(const QList&)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/model.cpp:4555:49: warning: ignoring return value of ‘bool MessageList::Core::MessageItemSetManager::addMessageItem(MessageList::Core::MessageItemSetReference, MessageList::Core::MessageItem*)’, declared with attribute ‘nodiscard’ [-Wunused-result]
 4555 |         d->mPersistentSetManager->addMessageItem(ref, mi);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/model.cpp:34:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/messageitemsetmanager.h:49:24: note: declared here
   49 |     [[nodiscard]] bool addMessageItem(MessageItemSetReference ref, MessageItem *mi);
      |                        ^~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/theme.cpp: In member function ‘void MessageList::Core::Theme::Column::detach()’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/theme.cpp:664:40: warning: ignoring return value of ‘bool MessageList::Core::Theme::Column::SharedRuntimeData::deleteReference()’, declared with attribute ‘nodiscard’ [-Wunused-result]
  664 |     mSharedRuntimeData->deleteReference();
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/theme.cpp:533:6: note: declared here
  533 | bool Theme::Column::SharedRuntimeData::deleteReference()
      |      ^~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/threadingcache.cpp:30:8: warning: ‘QDebug {anonymous}::operator<<(QDebug, const CacheHeader&)’ defined but not used [-Wunused-function]
   30 | QDebug operator<<(QDebug d, const CacheHeader &t)
      |        ^~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/sortorder.cpp: In member function ‘void MessageList::Core::SortOrder::readConfig(KConfigGroup&, const QString&, bool*)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/sortorder.cpp:237:37: warning: ignoring return value of ‘bool MessageList::Core::SortOrder::readConfigHelper(KConfigGroup&, const QString&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  237 |     globalSortOrder.readConfigHelper(conf, QStringLiteral("GlobalSortOrder"));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagelist/src/core/sortorder.cpp:221:6: note: declared here
  221 | bool SortOrder::readConfigHelper(KConfigGroup &conf, const QString &id)
      |      ^~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/urlhandlermanager.cpp: In member function ‘virtual bool MessageViewer::AttachmentURLHandler::handleClick(const QUrl&, MessageViewer::ViewerPrivate*) const’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/urlhandlermanager.cpp:635:16: warning: unused variable ‘shouldShowDialog’ [-Wunused-variable]
  635 |     const bool shouldShowDialog = !w->nodeHelper()->isNodeDisplayedEmbedded(node) || !inHeader;
      |                ^~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/urlhandlermanager.cpp: In member function ‘virtual bool MessageViewer::AttachmentURLHandler::handleDrag(const QUrl&, MessageViewer::ViewerPrivate*) const’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/urlhandlermanager.cpp:717:64: warning: ignoring return value of ‘KMBox::MBoxEntry KMBox::MBox::appendMessage(const KMime::Message::Ptr&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  717 |         mbox.appendMessage(item.payload());
      |                                                                ^
In file included from /usr/include/KPim6/KMbox/KMbox/MBox:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/urlhandlermanager.cpp:33:
/usr/include/KPim6/KMbox/kmbox/mbox.h:60:29: note: declared here
   60 |     [[nodiscard]] MBoxEntry appendMessage(const KMime::Message::Ptr &message);
      |                             ^~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/viewer_p.cpp: In member function ‘void MessageViewer::ViewerPrivate::parseContent(KMime::Content*)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/viewer_p.cpp:831:59: warning: ignoring return value of ‘QString MimeTreeParser::NodeHelper::writeNodeToTempFile(KMime::Content*)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  831 |             mNodeHelper->writeNodeToTempFile(vCardContent);
      |                                                           ^
In file included from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/nodehelper.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/objecttreeparser.h:16,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/objecttreeparser.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/interfaces/bodypartformatter.h:17,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/bodypartformatter.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/messagepart.h:11,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/messagepart.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/MimeTreeParser/MessagePart:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecore/src/messagecore/../../../../messagecore/src/autocrypt/autocryptutils.h:14,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecore/src/messagecore/autocryptutils.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecore/src/MessageCore/AutocryptUtils:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/viewer_p.cpp:92:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/nodehelper.h:119:27: note: declared here
  119 |     [[nodiscard]] QString writeNodeToTempFile(KMime::Content *node);
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/viewer_p.cpp: In member function ‘QString MessageViewer::ViewerPrivate::renderAttachments(KMime::Content*, const QColor&) const’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/viewer/viewer_p.cpp:1879:51: warning: ignoring return value of ‘QString MimeTreeParser::NodeHelper::writeNodeToTempFile(KMime::Content*)’, declared with attribute ‘nodiscard’ [-Wunused-result]
 1879 |             mNodeHelper->writeNodeToTempFile(node);
      |                                                   ^
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/mimetreeparser/src/mimetreeparser/../../../../mimetreeparser/src/nodehelper.h:119:27: note: declared here
  119 |     [[nodiscard]] QString writeNodeToTempFile(KMime::Content *node);
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/header/grantleeheaderformatter.cpp: In static member function ‘static QVariant KTextTemplate::TypeAccessor::lookUp(const T&, const QString&) [with T = QByteArray]’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/header/grantleeheaderformatter.cpp:62:93: warning: unused parameter ‘property’ [-Wunused-parameter]
   62 | inline QVariant TypeAccessor::lookUp(const QByteArray &object, const QString &property)
      |                                                                              ~~~~~~~~~~~~~~~^~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/header/grantleeheaderformatter.cpp: In member function ‘virtual QVariant MessageIdFormatter::format(KMime::Message*, MimeTreeParser::NodeHelper*, bool)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/header/grantleeheaderformatter.cpp:242:91: warning: unused parameter ‘showEmoticons’ [-Wunused-parameter]
  242 |     QVariant format(KMime::Message *message, MimeTreeParser::NodeHelper *nodeHelper, bool showEmoticons) override
      |                                                                                      ~~~~~^~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/utils/messageviewerutil.cpp: In function ‘bool MessageViewer::Util::saveMessageInMboxAndGetUrl(QUrl&, const Akonadi::Item::List&, QWidget*, bool)’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/utils/messageviewerutil.cpp:516:72: warning: ignoring return value of ‘KMBox::MBoxEntry KMBox::MBox::appendMessage(const KMime::Message::Ptr&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  516 |                 mbox.appendMessage(item.payload());
      |                                                                        ^
In file included from /usr/include/KPim6/KMbox/KMbox/MBox:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messageviewer/src/utils/messageviewerutil.cpp:18:
/usr/include/KPim6/KMbox/kmbox/mbox.h:60:29: note: declared here
   60 |     [[nodiscard]] MBoxEntry appendMessage(const KMime::Message::Ptr &message);
      |                             ^~~~~~~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/composer/composerviewbase.cpp: In lambda function:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/composer/composerviewbase.cpp:648:131: warning: ‘const char* GpgME::Error::asString() const’ is deprecated [-Wdeprecated-declarations]
  648 |                                 qCWarning(MESSAGECOMPOSER_LOG) << "Failed to export " << k.primaryFingerprint() << result.asString();
      |                                                                                                                    ~~~~~~~~~~~~~~~^~
In file included from /usr/include/gpgme++/result.h:29,
                 from /usr/include/gpgme++/verificationresult.h:29,
                 from /usr/include/gpgme++/notation.h:29,
                 from /usr/include/gpgme++/key.h:28,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/messagecomposer/../../../../messagecomposer/src/recipient/recipient.h:16,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/messagecomposer/recipient.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/MessageComposer/Recipient:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/composer/composerviewbase.h:10,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/composer/composerviewbase.cpp:8:
/usr/include/gpgme++/error.h:53:36: note: declared here
   53 |     GPGMEPP_DEPRECATED const char *asString() const;
      |                                    ^~~~~~~~
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/attachment/attachmentcontrollerbase.cpp: In member function ‘void MessageComposer::AttachmentControllerBase::AttachmentControllerBasePrivate::removeSelectedAttachments()’:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/attachment/attachmentcontrollerbase.cpp:244:32: warning: ignoring return value of ‘bool MessageComposer::AttachmentModel::removeAttachment(const MessageCore::AttachmentPart::Ptr&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
  244 |         model->removeAttachment(part);
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/messagecomposer/attachmentmodel.h:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/MessageComposer/AttachmentModel:1,
                 from /var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/messagecomposer/src/attachment/attachmentcontrollerbase.cpp:19:
/var/pisi/messagelib-24.12.2-56/work/messagelib-24.12.2/build/messagecomposer/src/messagecomposer/../../../../messagecomposer/src/attachment/attachmentmodel.h:88:24: note: declared here
   88 |     [[nodiscard]] bool removeAttachment(const MessageCore::AttachmentPart::Ptr &part);
      |                        ^~~~~~~~~~~~~~~~
*** 0 error(s), 1 warning(s)