deepin-file-manager-6.0.56-3.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-88): [#def1]
/usr/bin/file-manager.sh:7:36: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#    5|   # SPDX-License-Identifier: GPL-3.0-or-later
#    6|   
#    7|-> exec /usr/libexec/dde-file-manager $@

Error: COMPILER_WARNING: [#def2]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/entry/entryfileinfo.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/entry/entryfileinfo.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:356:23: warning[-Woverloaded-virtual=]: ‘virtual dfmbase::FileInfo& dfmbase::FileInfo::operator=(const dfmbase::FileInfo&)’ was hidden
#  356 |     virtual FileInfo &operator=(const FileInfo &fileinfo);
#      |                       ^~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/entry/entryfileinfo.h:15:7: note:   by ‘dfmbase::EntryFileInfo& dfmbase::EntryFileInfo::operator=(const dfmbase::EntryFileInfo&)’
#   15 | class EntryFileInfo : public FileInfo
#      |       ^~~~~~~~~~~~~
#  354|       explicit FileInfo() = delete;
#  355|       virtual ~FileInfo();
#  356|->     virtual FileInfo &operator=(const FileInfo &fileinfo);
#  357|       virtual bool operator==(const FileInfo &fileinfo) const;
#  358|       virtual bool operator!=(const FileInfo &fileinfo) const;

Error: COMPILER_WARNING: [#def3]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/infocache.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/dfm-base/dfm-base_autogen/SIWBZY53OC/moc_infocache.cpp:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/dfm-base/dfm-base_autogen/mocs_compilation.cpp:13: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/threadcontainer.h:25:19: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
#   25 |     DThreadList<T>()
#      |                   ^
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/threadcontainer.h:25:19: note: remove the ‘< >’
#   23|   {
#   24|   public:
#   25|->     DThreadList<T>()
#   26|           : myList(new QList<T>) {}
#   27|       ~DThreadList()

Error: COMPILER_WARNING: [#def4]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/threadcontainer.h:250:29: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
#  250 |     DThreadMap<DKey, DValue>()
#      |                             ^
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/threadcontainer.h:250:29: note: remove the ‘< >’
#  248|   {
#  249|   public:
#  250|->     DThreadMap<DKey, DValue>()
#  251|           : myMap()
#  252|       {

Error: COMPILER_WARNING (CWE-563): [#def5]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/apps/dde-file-manager/singleapplication.cpp: scope_hint: In member function ‘void SingleApplication::handleNewClient(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/apps/dde-file-manager/singleapplication.cpp:90:10: warning[-Wunused-but-set-variable]: variable ‘isSetGetMonitorFiles’ set but not used
#   90 |     bool isSetGetMonitorFiles = false;
#      |          ^~~~~~~~~~~~~~~~~~~~
#   88|   {
#   89|       QByteArray data { nullptr };
#   90|->     bool isSetGetMonitorFiles = false;
#   91|   
#   92|       for (const QString &arg : arguments()) {

Error: COMPILER_WARNING (CWE-563): [#def6]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/device/private/devicewatcher.cpp: scope_hint: In member function ‘void dfmbase::DeviceWatcherPrivate::queryUsageOfItem(const QVariantMap&, dfmmount::DeviceType)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/device/private/devicewatcher.cpp:89:16: warning[-Wunused-variable]: unused variable ‘old’
#   89 |     DevStorage old { itemData.value(DeviceProperty::kSizeTotal).toULongLong(),
#      |                ^~~
#   87|           return;
#   88|   
#   89|->     DevStorage old { itemData.value(DeviceProperty::kSizeTotal).toULongLong(),
#   90|                        itemData.value(DeviceProperty::kSizeFree).toULongLong(),
#   91|                        itemData.value(DeviceProperty::kSizeUsed).toULongLong() };

Error: COMPILER_WARNING: [#def7]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/standardpaths.cpp: scope_hint: In static member function ‘static QString dfmbase::StandardPaths::getCachePath()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/standardpaths.cpp:309:20: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  309 |     const QString &cachePath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).first();
#      |                    ^~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/standardpaths.cpp:309:102: note: the temporary was destroyed at the end of the full expression ‘QStandardPaths::standardLocations(StandardLocation)().QStringList::QList<QString>.QList<QString>::first()’
#  309 |     const QString &cachePath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).first();
#      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
#  307|       QString projectName = qApp->applicationName();
#  308|   
#  309|->     const QString &cachePath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).first();
#  310|       QDir::home().mkpath(cachePath);
#  311|   

Error: COMPILER_WARNING (CWE-477): [#def8]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp: scope_hint: In static member function ‘static bool dfmbase::UrlRoute::isAncestorsUrl(QUrl, const QUrl&, QList<QUrl>*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp:184:32: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  184 |         QUrl parent { urlParent(url) };
#      |                       ~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp:147:6: note: declared here
#  147 | QUrl UrlRoute::urlParent(const QUrl &url)
#      |      ^~~~~~~~
#  182|   
#  183|       while (!isRootUrl(url)) {
#  184|->         QUrl parent { urlParent(url) };
#  185|           list->append(parent);
#  186|           url = parent;

Error: COMPILER_WARNING (CWE-477): [#def9]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp: scope_hint: In static member function ‘static void dfmbase::UrlRoute::urlParentList(QUrl, QList<QUrl>*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp:199:32: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  199 |         QUrl parent { urlParent(url) };
#      |                       ~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/base/urlroute.cpp:147:6: note: declared here
#  147 | QUrl UrlRoute::urlParent(const QUrl &url)
#      |      ^~~~~~~~
#  197|   
#  198|       while (!isRootUrl(url)) {
#  199|->         QUrl parent { urlParent(url) };
#  200|           list->append(parent);
#  201|           url = parent;

Error: COMPILER_WARNING (CWE-477): [#def10]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskdialog.cpp: scope_hint: In member function ‘void dfmbase::TaskDialog::adjustSize(int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskdialog.cpp:169:56: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
#  169 |     if (listHeight < qApp->desktop()->availableGeometry().height() - 60) {
#      |                                                        ^
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskdialog.cpp:13: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
#   88 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~~~~
#  167|       }
#  168|   
#  169|->     if (listHeight < qApp->desktop()->availableGeometry().height() - 60) {
#  170|           taskListWidget->setFixedHeight(listHeight);
#  171|           setFixedHeight(listHeight + 60);

Error: COMPILER_WARNING (CWE-477): [#def11]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskdialog.cpp: scope_hint: In member function ‘void dfmbase::TaskDialog::moveYCenter()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskdialog.cpp:189:48: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
#  189 |         cp = qApp->desktop()->availableGeometry().center();
#      |                                                ^
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
#   88 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~~~~
#  187|           cp = static_cast<QWidget *>(parent())->geometry().center();
#  188|       } else {
#  189|->         cp = qApp->desktop()->availableGeometry().center();
#  190|       }
#  191|       qr.moveCenter(cp);

Error: COMPILER_WARNING (CWE-477): [#def12]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp: scope_hint: In member function ‘void dfmbase::TaskWidget::onButtonClicked()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp:127:22: warning[-Wdeprecated-declarations]: ‘void QBasicAtomicInteger<T>::store(T) [with T = bool]’ is deprecated: Use storeRelaxed
#  127 |     isShowError.store(false);
#      |     ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/qt5/QtCore/qatomic.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qglobal.h:1309: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qbasicatomic.h:104:59: note: declared here
#  104 |     QT_DEPRECATED_VERSION_X_5_14("Use storeRelaxed") void store(T newValue) noexcept { storeRelaxed(newValue); }
#      |                                                           ^~~~~
#  125|       if (btnPause)
#  126|           btnPause->setEnabled(true);
#  127|->     isShowError.store(false);
#  128|       AbstractJobHandler::SupportActions actions = obj->property(kBtnPropertyActionName).value<AbstractJobHandler::SupportAction>();
#  129|       showConflictButtons(actions.testFlag(AbstractJobHandler::SupportAction::kPauseAction));

Error: COMPILER_WARNING (CWE-477): [#def13]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp: scope_hint: In member function ‘void dfmbase::TaskWidget::onShowErrors(JobInfoPointer)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp:148:22: warning[-Wdeprecated-declarations]: ‘void QBasicAtomicInteger<T>::store(T) [with T = bool]’ is deprecated: Use storeRelaxed
#  148 |     isShowError.store(true);
#      |     ~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt5/QtCore/qbasicatomic.h:104:59: note: declared here
#  104 |     QT_DEPRECATED_VERSION_X_5_14("Use storeRelaxed") void store(T newValue) noexcept { storeRelaxed(newValue); }
#      |                                                           ^~~~~
#  146|   void TaskWidget::onShowErrors(const JobInfoPointer jobInfo)
#  147|   {
#  148|->     isShowError.store(true);
#  149|   
#  150|       AbstractJobHandler::JobErrorType errorType = jobInfo->value(AbstractJobHandler::NotifyInfoKey::kErrorTypeKey).value<AbstractJobHandler::JobErrorType>();

Error: COMPILER_WARNING (CWE-477): [#def14]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp: scope_hint: In member function ‘void dfmbase::TaskWidget::onShowTaskProccess(JobInfoPointer)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp:316:25: warning[-Wdeprecated-declarations]: ‘T QBasicAtomicInteger<T>::load() const [with T = bool]’ is deprecated: Use loadRelaxed
#  316 |     if (isShowError.load())
#      |         ~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qbasicatomic.h:103:55: note: declared here
#  103 |     QT_DEPRECATED_VERSION_X_5_14("Use loadRelaxed") T load() const noexcept { return loadRelaxed(); }
#      |                                                       ^~~~
#  314|       if (isPauseState)
#  315|           return;
#  316|->     if (isShowError.load())
#  317|           return;
#  318|   

Error: COMPILER_WARNING (CWE-477): [#def15]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp: scope_hint: In member function ‘void dfmbase::TaskWidget::onShowSpeedUpdatedInfo(JobInfoPointer)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/dialogs/taskdialog/taskwidget.cpp:366:25: warning[-Wdeprecated-declarations]: ‘T QBasicAtomicInteger<T>::load() const [with T = bool]’ is deprecated: Use loadRelaxed
#  366 |     if (isShowError.load())
#      |         ~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qbasicatomic.h:103:55: note: declared here
#  103 |     QT_DEPRECATED_VERSION_X_5_14("Use loadRelaxed") T load() const noexcept { return loadRelaxed(); }
#      |                                                       ^~~~
#  364|       if (isPauseState)
#  365|           return;
#  366|->     if (isShowError.load())
#  367|           return;
#  368|   

Error: COMPILER_WARNING (CWE-477): [#def16]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/localfilehandler.cpp: scope_hint: In member function ‘bool dfmbase::LocalFileHandler::renameFile(const QUrl&, const QUrl&, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/localfilehandler.cpp:184:56: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  184 |         const QUrl &fromParentUrl = UrlRoute::urlParent(url);
#      |                                     ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/localfilehandler.cpp:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  182|       // check device, use set displayname if device is mtp
#  183|       if (Q_UNLIKELY(FileUtils::isMtpFile(newUrl))) {
#  184|->         const QUrl &fromParentUrl = UrlRoute::urlParent(url);
#  185|           const QUrl &toParentUrl = UrlRoute::urlParent(newUrl);
#  186|           if (fromParentUrl == toParentUrl) {

Error: COMPILER_WARNING (CWE-477): [#def17]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/localfilehandler.cpp:185:54: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  185 |         const QUrl &toParentUrl = UrlRoute::urlParent(newUrl);
#      |                                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  183|       if (Q_UNLIKELY(FileUtils::isMtpFile(newUrl))) {
#  184|           const QUrl &fromParentUrl = UrlRoute::urlParent(url);
#  185|->         const QUrl &toParentUrl = UrlRoute::urlParent(newUrl);
#  186|           if (fromParentUrl == toParentUrl) {
#  187|               // if fileinfo or other operation query info in mtp device, file will rename false. mtp device is busy

Error: COMPILER_WARNING (CWE-457): [#def18]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/syncfileinfo.cpp: scope_hint: In member function ‘dfmbase::SyncFileInfoPrivate::updateFileType()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/syncfileinfo.cpp:677:24: warning[-Wmaybe-uninitialized]: ‘fileType’ may be used uninitialized
#  677 |         this->fileType = FileInfo::FileType(fileType);
#      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/syncfileinfo.cpp:646:24: note: ‘fileType’ was declared here
#  646 |     FileInfo::FileType fileType;
#      |                        ^~~~~~~~
#  675|   
#  676|           QWriteLocker locker(&lock);
#  677|->         this->fileType = FileInfo::FileType(fileType);
#  678|       }
#  679|       return fileType;

Error: COMPILER_WARNING (CWE-477): [#def19]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/interfaces/fileinfo.cpp: scope_hint: In member function ‘virtual QString dfmbase::FileInfo::pathOf(dfmbase::PathInfoType) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/interfaces/fileinfo.cpp:166:35: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  166 |         return UrlRoute::urlParent(url).path();
#      |                ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/interfaces/private/fileinfo_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  164|           [[fallthrough]];
#  165|       case FilePathInfoType::kAbsolutePath:
#  166|->         return UrlRoute::urlParent(url).path();
#  167|       default:
#  168|           return QString();

Error: COMPILER_WARNING (CWE-477): [#def20]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/interfaces/fileinfo.cpp: scope_hint: In member function ‘virtual QUrl dfmbase::FileInfo::urlOf(dfmbase::UrlInfoType) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/interfaces/fileinfo.cpp:335:35: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  335 |         return UrlRoute::urlParent(url);
#      |                ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  333|           return url;
#  334|       case FileUrlInfoType::kParentUrl:
#  335|->         return UrlRoute::urlParent(url);
#  336|       default:
#  337|           return QUrl();

Error: COMPILER_WARNING (CWE-477): [#def21]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimedata/dfmmimedata.cpp: scope_hint: In member function ‘QByteArray dfmbase::DFMMimeData::toByteArray()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimedata/dfmmimedata.cpp:118:15: warning[-Wdeprecated-declarations]: ‘QMap<K, V>& QMap<K, V>::unite(const QMap<K, V>&) [with Key = QString; T = QVariant]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  118 |     data.unite(d->attributes);
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimedata/dfmmimedata.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimedata/dfmmimedata.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1378:15: note: declared here
# 1378 | QMap<Key, T> &QMap<Key, T>::unite(const QMap<Key, T> &other)
#      |               ^~~~~~~~~~~~
#  116|       data.insert(kVersionKey, d->version);
#  117|       data.insert(kUrlsKey, QUrl::toStringList(d->urlList));
#  118|->     data.unite(d->attributes);
#  119|   
#  120|       QJsonDocument doc = QJsonDocument::fromVariant(data);

Error: COMPILER_WARNING (CWE-477): [#def22]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.cpp: scope_hint: In member function ‘QMimeType dfmbase::DMimeDatabase::mimeTypeForFile(const FileInfoPointer&, QMimeDatabase::MatchMode) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.cpp:52:69: warning[-Wdeprecated-declarations]: ‘QRegularExpression::OptimizeOnFirstUsageOption’ is deprecated: This option does not have any effect since Qt 5.12
#   52 |                                               | QRegularExpression::OptimizeOnFirstUsageOption);
#      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcborvalue.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qregularexpression.h:76:9: note: declared here
#   76 |         OptimizeOnFirstUsageOption Q_DECL_ENUMERATOR_DEPRECATED_X("This option does not have any effect since Qt 5.12") = 0x0080,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
#   50|                                         QRegularExpression::DotMatchesEverythingOption
#   51|                                                 | QRegularExpression::DontCaptureOption
#   52|->                                               | QRegularExpression::OptimizeOnFirstUsageOption);
#   53|   
#   54|               const QRegularExpressionMatch &match = regExp.match(path, 0, QRegularExpression::NormalMatch,

Error: COMPILER_WARNING (CWE-477): [#def23]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.cpp: scope_hint: In member function ‘QMimeType dfmbase::DMimeDatabase::mimeTypeForFile(const QFileInfo&, QMimeDatabase::MatchMode, const QString&, bool) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/dmimedatabase.cpp:122:69: warning[-Wdeprecated-declarations]: ‘QRegularExpression::OptimizeOnFirstUsageOption’ is deprecated: This option does not have any effect since Qt 5.12
#  122 |                                               | QRegularExpression::OptimizeOnFirstUsageOption);
#      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qregularexpression.h:76:9: note: declared here
#   76 |         OptimizeOnFirstUsageOption Q_DECL_ENUMERATOR_DEPRECATED_X("This option does not have any effect since Qt 5.12") = 0x0080,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  120|                                         QRegularExpression::DotMatchesEverythingOption
#  121|                                                 | QRegularExpression::DontCaptureOption
#  122|->                                               | QRegularExpression::OptimizeOnFirstUsageOption);
#  123|   
#  124|               const QRegularExpressionMatch &match = regExp.match(path, 0, QRegularExpression::NormalMatch,

Error: COMPILER_WARNING (CWE-477): [#def24]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.cpp: scope_hint: In static member function ‘static void dfmbase::MimesAppsManager::initMimeTypeApps()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.cpp:528:41: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead.
#  528 |             orderApps.append(apps.toList());
#      |                              ~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/desktopfile.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.h:8: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  526|               }
#  527|           } else {
#  528|->             orderApps.append(apps.toList());
#  529|           }
#  530|           MimeApps.insert(key, orderApps);

Error: COMPILER_WARNING (CWE-477): [#def25]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.cpp: scope_hint: In static member function ‘static bool dfmbase::MimesAppsManager::lessByDateTime(const QFileInfo&, const QFileInfo&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.cpp:655:22: warning[-Wdeprecated-declarations]: ‘QDateTime QFileInfo::created() const’ is deprecated: Use either birthTime() or metadataChangeTime()
#  655 |     return f1.created() < f2.created();
#      |            ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdir.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:70: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.h:10: included_from: Included from here.
/usr/include/qt5/QtCore/qfileinfo.h:139:15: note: declared here
#  139 |     QDateTime created() const;
#      |               ^~~~~~~
#  653|   bool MimesAppsManager::lessByDateTime(const QFileInfo &f1, const QFileInfo &f2)
#  654|   {
#  655|->     return f1.created() < f2.created();
#  656|   }
#  657|   

Error: COMPILER_WARNING (CWE-477): [#def26]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/mimetype/mimesappsmanager.cpp:655:37: warning[-Wdeprecated-declarations]: ‘QDateTime QFileInfo::created() const’ is deprecated: Use either birthTime() or metadataChangeTime()
#  655 |     return f1.created() < f2.created();
#      |                           ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qfileinfo.h:139:15: note: declared here
#  139 |     QDateTime created() const;
#      |               ^~~~~~~
#  653|   bool MimesAppsManager::lessByDateTime(const QFileInfo &f1, const QFileInfo &f2)
#  654|   {
#  655|->     return f1.created() < f2.created();
#  656|   }
#  657|   

Error: COMPILER_WARNING (CWE-477): [#def27]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/clipboard.cpp: scope_hint: In static member function ‘static void dfmbase::ClipBoard::setUrlsToClipboard(const QList<QUrl>&, ClipboardAction, QMimeData*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/clipboard.cpp:128:18: warning[-Wdeprecated-declarations]: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit()
#  128 |         ba.append(qurl.toString());
#      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/clipboard.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/clipboard.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:1508:20: note: declared here
# 1508 | inline QByteArray &QByteArray::append(const QString &s)
#      |                    ^~~~~~~~~~
#  126|       for (const QUrl &qurl : list) {
#  127|           ba.append("\n");
#  128|->         ba.append(qurl.toString());
#  129|   
#  130|           const QString &path = qurl.toLocalFile();

Error: COMPILER_WARNING (CWE-477): [#def28]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/clipboard.cpp:179:22: warning[-Wdeprecated-declarations]: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit()
#  179 |         userId.append(QString::number(getuid()));
#      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:1508:20: note: declared here
# 1508 | inline QByteArray &QByteArray::append(const QString &s)
#      |                    ^~~~~~~~~~
#  177|       if (ClipBoard::kCutAction == action) {
#  178|           QByteArray userId;
#  179|->         userId.append(QString::number(getuid()));
#  180|           mimeData->setData(GlobalData::kUserIdKey, userId);
#  181|       }

Error: COMPILER_WARNING (CWE-477): [#def29]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/filestatisticsjob.cpp: scope_hint: In member function ‘dfmbase::FileStatisticsJob::State dfmbase::FileStatisticsJob::state() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/filestatisticsjob.cpp:306:63: warning[-Wdeprecated-declarations]: ‘T QBasicAtomicInteger<T>::load() const [with T = int]’ is deprecated: Use loadRelaxed
#  306 |     return static_cast<FileStatisticsJob::State>(d->state.load());
#      |                                                  ~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qatomic.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qglobal.h:1309: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/filestatisticsjob.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/filestatisticsjob.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qbasicatomic.h:103:55: note: declared here
#  103 |     QT_DEPRECATED_VERSION_X_5_14("Use loadRelaxed") T load() const noexcept { return loadRelaxed(); }
#      |                                                       ^~~~
#  304|   FileStatisticsJob::State FileStatisticsJob::state() const
#  305|   {
#  306|->     return static_cast<FileStatisticsJob::State>(d->state.load());
#  307|   }
#  308|   

Error: COMPILER_WARNING (CWE-477): [#def30]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:45:47: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#   45 |             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#      |                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
#  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
#      |         ^~~~~~~
#   43|               const QByteArray &data = dfile->readAll();
#   44|               const QString &dataStr = QString::fromLocal8Bit(data);
#   45|->             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#   46|               hideListUpdate = hideList;
#   47|               dfile->close();

Error: COMPILER_WARNING (CWE-477): [#def31]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:45:61: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
#   45 |             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#      |                                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
#  612 |     QStringList split(QChar sep, SplitBehavior behavior,
#      |                 ^~~~~
#   43|               const QByteArray &data = dfile->readAll();
#   44|               const QString &dataStr = QString::fromLocal8Bit(data);
#   45|->             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#   46|               hideListUpdate = hideList;
#   47|               dfile->close();

Error: COMPILER_WARNING (CWE-477): [#def32]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp: scope_hint: In member function ‘void dfmbase::HideFileHelperPrivate::init()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:45:77: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#   45 |             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#      |                                                                             ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#   43|               const QByteArray &data = dfile->readAll();
#   44|               const QString &dataStr = QString::fromLocal8Bit(data);
#   45|->             hideList = QSet<QString>::fromList(dataStr.split('\n', QString::SkipEmptyParts));
#   46|               hideListUpdate = hideList;
#   47|               dfile->close();

Error: COMPILER_WARNING (CWE-477): [#def33]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp: scope_hint: In member function ‘bool dfmbase::HideFileHelper::save() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:106:41: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead.
#  106 |     QStringList lines(d->hideList.toList());
#      |                       ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  104|           return false;
#  105|   
#  106|->     QStringList lines(d->hideList.toList());
#  107|       QString dataStr = lines.join('\n');
#  108|       QByteArray data;

Error: COMPILER_WARNING (CWE-477): [#def34]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/hidefilehelper.cpp:109:16: warning[-Wdeprecated-declarations]: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit()
#  109 |     data.append(dataStr);
#      |     ~~~~~~~~~~~^~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:1508:20: note: declared here
# 1508 | inline QByteArray &QByteArray::append(const QString &s)
#      |                    ^~~~~~~~~~
#  107|       QString dataStr = lines.join('\n');
#  108|       QByteArray data;
#  109|->     data.append(dataStr);
#  110|   
#  111|       if (d->dfile->open(DFMIO::DFile::OpenFlag::kWriteOnly | DFMIO::DFile::OpenFlag::kTruncate)) {

Error: COMPILER_WARNING (CWE-477): [#def35]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp: scope_hint: In member function ‘void dfmbase::InfoCache::disconnectWatcher(QMap<QUrl, QSharedPointer<dfmbase::FileInfo> >)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp:62:39: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#   62 |         auto url = UrlRoute::urlParent(info->urlOf(UrlInfoType::kUrl));
#      |                    ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/infocache.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#   60|               continue;
#   61|           // 断开信号连接
#   62|->         auto url = UrlRoute::urlParent(info->urlOf(UrlInfoType::kUrl));
#   63|           auto parentPath = url.path();
#   64|           if (parentPath != QDir::separator() && !parentPath.endsWith(QDir::separator()))

Error: COMPILER_WARNING (CWE-477): [#def36]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp: scope_hint: In member function ‘void dfmbase::InfoCache::cacheInfo(QUrl, FileInfoPointer)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp:150:45: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  150 |         auto parentUrl = UrlRoute::urlParent(url);
#      |                          ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  148|       // 代理就将启动的缓存了监视关闭了。本来没有缓存的监视器监视就没有意义
#  149|       if (!WatcherCache::instance().cacheDisable(url.scheme())) {
#  150|->         auto parentUrl = UrlRoute::urlParent(url);
#  151|           auto parentPath = parentUrl.path();
#  152|           if (parentPath != QDir::separator() && !parentPath.endsWith(QDir::separator()))

Error: COMPILER_WARNING (CWE-477): [#def37]
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/utils/infocache.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp: scope_hint: In member function ‘void dfmbase::InfoCache::timeRemoveCache()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp:307:57: warning[-Wdeprecated-declarations]: ‘QList<T> QMap<K, V>::uniqueKeys() const [with Key = QString; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  307 |     foreach (const auto time, d->timeToUrlMap.uniqueKeys()) {
#      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1354:12: note: declared here
# 1354 | QList<Key> QMap<Key, T>::uniqueKeys() const
#      |            ^~~~~~~~~~~~
#  305|       qint64 delCount = d->urlTimeSortMap.size() < kCacheFileinfoCount ? 0 : d->urlTimeSortMap.size() - kCacheFileinfoCount;
#  306|       QList<QUrl> delList;
#  307|->     foreach (const auto time, d->timeToUrlMap.uniqueKeys()) {
#  308|           if (d->cacheWorkerStoped)
#  309|               return;

Error: COMPILER_WARNING (CWE-477): [#def38]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp:312:50: warning[-Wdeprecated-declarations]: ‘QList<ValueType> QMap<K, V>::values(const Key&) const [with Key = QString; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  312 |             delList.append(d->timeToUrlMap.values(time));
#      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt5/QtCore/qmap.h:1360:10: note: declared here
# 1360 | QList<T> QMap<Key, T>::values(const Key &key) const
#      |          ^~~~~~~~~~~~
#  310|   
#  311|           if (time < QString::number(QDateTime::currentDateTime().toMSecsSinceEpoch() - kCacheRemoveTime)) {
#  312|->             delList.append(d->timeToUrlMap.values(time));
#  313|               continue;
#  314|           }

Error: COMPILER_WARNING (CWE-477): [#def39]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/infocache.cpp:320:46: warning[-Wdeprecated-declarations]: ‘QList<ValueType> QMap<K, V>::values(const Key&) const [with Key = QString; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  320 |         delList.append(d->timeToUrlMap.values(time));
#      |                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt5/QtCore/qmap.h:1360:10: note: declared here
# 1360 | QList<T> QMap<Key, T>::values(const Key &key) const
#      |          ^~~~~~~~~~~~
#  318|           }
#  319|   
#  320|->         delList.append(d->timeToUrlMap.values(time));
#  321|       }
#  322|       // 发送异步消息 告诉移除线程创建移除线程移除,考虑是否是使用线程一直还是使用临时线程(使用临时线程)

Error: COMPILER_WARNING (CWE-477): [#def40]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/sysinfoutils.cpp: scope_hint: In static member function ‘static void dfmbase::SysInfoUtils::setMimeDataUserId(QMimeData*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/sysinfoutils.cpp:114:18: warning[-Wdeprecated-declarations]: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit()
#  114 |     userId.append(strUserID);
#      |     ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/sysinfoutils.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/sysinfoutils.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:1508:20: note: declared here
# 1508 | inline QByteArray &QByteArray::append(const QString &s)
#      |                    ^~~~~~~~~~
#  112|       QByteArray userId;
#  113|       QString strUserID = QString::number(getUserId());
#  114|->     userId.append(strUserID);
#  115|       data->setData(DFMGLOBAL_NAMESPACE::Mime::kDataUserIDKey, userId);
#  116|   

Error: COMPILER_WARNING (CWE-477): [#def41]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/thumbnail/thumbnailcreators.cpp:81:41: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QRegExp&, SplitBehavior) const’ is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead
#   81 |         QStringList data = outputs.split(QRegExp("[\n]"), QString::SkipEmptyParts);
#      |                            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:619:17: note: declared here
#  619 |     QStringList split(const QRegExp &sep, SplitBehavior behavior) const;
#      |                 ^~~~~
#   79|       QString outputs(data);
#   80|       if (!img.loadFromData(data)) {   // filter the outputs outputed by video tool.
#   81|->         QStringList data = outputs.split(QRegExp("[\n]"), QString::SkipEmptyParts);
#   82|           if (data.isEmpty())
#   83|               return img;

Error: COMPILER_WARNING (CWE-477): [#def42]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/thumbnail/thumbnailcreators.cpp: scope_hint: In function ‘QImage dfmbase::ThumbnailCreators::videoThumbnailCreatorFfmpeg(const QString&, dfmbase::Global::ThumbnailSize)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/thumbnail/thumbnailcreators.cpp:81:68: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#   81 |         QStringList data = outputs.split(QRegExp("[\n]"), QString::SkipEmptyParts);
#      |                                                                    ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/thumbnail/thumbnailcreators.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/thumbnail/thumbnailcreators.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#   79|       QString outputs(data);
#   80|       if (!img.loadFromData(data)) {   // filter the outputs outputed by video tool.
#   81|->         QStringList data = outputs.split(QRegExp("[\n]"), QString::SkipEmptyParts);
#   82|           if (data.isEmpty())
#   83|               return img;

Error: COMPILER_WARNING (CWE-477): [#def43]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindow.cpp: scope_hint: In member function ‘void dfmbase::FileManagerWindowPrivate::saveWindowState()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindow.cpp:164:28: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = dfmbase::NetWmState; Zero = int QFlags<dfmbase::NetWmState>::Private::*]’ is deprecated: Use default constructor instead
#  164 |     NetWmStates states { 0 };
#      |                            ^
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/widgets/filemanagerwindow.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/private/filemanagerwindow_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindow.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  162|   void FileManagerWindowPrivate::saveWindowState()
#  163|   {
#  164|->     NetWmStates states { 0 };
#  165|       if (WindowUtils::isWayLand()) {
#  166|           if (q->isMaximized())

Error: COMPILER_WARNING (CWE-477): [#def44]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindowsmanager.cpp: scope_hint: In member function ‘dfmbase::FileManagerWindowsManager::FMWindow* dfmbase::FileManagerWindowsManager::createWindow(const QUrl&, bool, QString*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindowsmanager.cpp:158:44: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  158 |             showedUrl = UrlRoute::urlParent(url);
#      |                         ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmwindow/filemanagerwindowsmanager.cpp:7: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  156|           const FileInfoPointer &info = InfoFactory::create<FileInfo>(url);
#  157|           if (info && info->isAttributes(OptInfoType::kIsFile)) {
#  158|->             showedUrl = UrlRoute::urlParent(url);
#  159|           } else {
#  160|               showedUrl = url;

Error: COMPILER_WARNING (CWE-477): [#def45]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp: scope_hint: In copy constructor ‘dfmext::DFMExtEmblemIconLayout::DFMExtEmblemIconLayout(const dfmext::DFMExtEmblemIconLayout&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp:34:51: warning[-Wdeprecated-declarations]: ‘int dfmext::DFMExtEmblemIconLayout::x() const’ is deprecated
#   34 |                                           emblem.x(), emblem.y());
#      |                                           ~~~~~~~~^~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/private/dfmextemblemiconlayoutprivate.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-extension/emblemicon/dfmextemblemiconlayout.h:37:24: note: declared here
#   37 |     [[deprecated]] int x() const;
#      |                        ^
#   32|       d = new DFMExtEmblemIconLayoutPrivate(emblem.locationType(),
#   33|                                             emblem.iconPath(),
#   34|->                                           emblem.x(), emblem.y());
#   35|   }
#   36|   

Error: COMPILER_WARNING (CWE-477): [#def46]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp:34:63: warning[-Wdeprecated-declarations]: ‘int dfmext::DFMExtEmblemIconLayout::y() const’ is deprecated
#   34 |                                           emblem.x(), emblem.y());
#      |                                                       ~~~~~~~~^~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-extension/emblemicon/dfmextemblemiconlayout.h:38:24: note: declared here
#   38 |     [[deprecated]] int y() const;
#      |                        ^
#   32|       d = new DFMExtEmblemIconLayoutPrivate(emblem.locationType(),
#   33|                                             emblem.iconPath(),
#   34|->                                           emblem.x(), emblem.y());
#   35|   }
#   36|   

Error: COMPILER_WARNING (CWE-477): [#def47]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp: scope_hint: In member function ‘dfmext::DFMExtEmblemIconLayout& dfmext::DFMExtEmblemIconLayout::operator=(const dfmext::DFMExtEmblemIconLayout&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp:47:51: warning[-Wdeprecated-declarations]: ‘int dfmext::DFMExtEmblemIconLayout::x() const’ is deprecated
#   47 |                                           emblem.x(), emblem.y());
#      |                                           ~~~~~~~~^~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-extension/emblemicon/dfmextemblemiconlayout.h:37:24: note: declared here
#   37 |     [[deprecated]] int x() const;
#      |                        ^
#   45|       d = new DFMExtEmblemIconLayoutPrivate(emblem.locationType(),
#   46|                                             emblem.iconPath(),
#   47|->                                           emblem.x(), emblem.y());
#   48|       return *this;
#   49|   }

Error: COMPILER_WARNING (CWE-477): [#def48]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/emblemicon/dfmextemblemiconlayout.cpp:47:63: warning[-Wdeprecated-declarations]: ‘int dfmext::DFMExtEmblemIconLayout::y() const’ is deprecated
#   47 |                                           emblem.x(), emblem.y());
#      |                                                       ~~~~~~~~^~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-extension/emblemicon/dfmextemblemiconlayout.h:38:24: note: declared here
#   38 |     [[deprecated]] int y() const;
#      |                        ^
#   45|       d = new DFMExtEmblemIconLayoutPrivate(emblem.locationType(),
#   46|                                             emblem.iconPath(),
#   47|->                                           emblem.x(), emblem.y());
#   48|       return *this;
#   49|   }

Error: COMPILER_WARNING: [#def49]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.cpp: scope_hint: In destructor ‘dfmext::DFMExtWindow::~DFMExtWindow()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.cpp:14:9: warning[-Wdelete-incomplete]: possible problem detected in invocation of ‘operator delete’
#   14 |         delete d;
#      |         ^~~~~~~~
#   12|   {
#   13|       if (d)
#   14|->         delete d;
#   15|   }
#   16|   

Error: COMPILER_WARNING: [#def50]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.cpp:14:16: warning: invalid use of incomplete type ‘class dfmext::DFMExtWindowPrivate’
#   14 |         delete d;
#      |                ^
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.h:15:7: note: forward declaration of ‘class dfmext::DFMExtWindowPrivate’
#   15 | class DFMExtWindowPrivate;   // TODO: impl me
#      |       ^~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindow.cpp:14:9: note: neither the destructor nor the class-specific ‘operator delete’ will be called, even if they are declared when the class is defined
#   14 |         delete d;
#      |         ^~~~~~~~
#   12|   {
#   13|       if (d)
#   14|->         delete d;
#   15|   }
#   16|   

Error: COMPILER_WARNING: [#def51]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.cpp: scope_hint: In destructor ‘dfmext::DFMExtWindowProxy::~DFMExtWindowProxy()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.cpp:13:5: warning[-Wdelete-incomplete]: possible problem detected in invocation of ‘operator delete’
#   13 |     delete d;
#      |     ^~~~~~~~
#   11|   DFMExtWindowProxy::~DFMExtWindowProxy()
#   12|   {
#   13|->     delete d;
#   14|   }
#   15|   

Error: COMPILER_WARNING: [#def52]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.cpp:13:12: warning: invalid use of incomplete type ‘class dfmext::DFMExtWindowProxyPrivate’
#   13 |     delete d;
#      |            ^
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.h:19:7: note: forward declaration of ‘class dfmext::DFMExtWindowProxyPrivate’
#   19 | class DFMExtWindowProxyPrivate;
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-extension/window/dfmextwindowproxy.cpp:13:5: note: neither the destructor nor the class-specific ‘operator delete’ will be called, even if they are declared when the class is defined
#   13 |     delete d;
#      |     ^~~~~~~~
#   11|   DFMExtWindowProxy::~DFMExtWindowProxy()
#   12|   {
#   13|->     delete d;
#   14|   }
#   15|   

Error: COMPILER_WARNING (CWE-477): [#def53]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/external/dde-dock-plugins/disk-mount/widgets/devicelist.cpp: scope_hint: In member function ‘void DeviceList::addDevice(const DockItemData&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/external/dde-dock-plugins/disk-mount/widgets/devicelist.cpp:38:10: warning[-Wdeprecated-declarations]: ‘void qSort(Container&) [with Container = QStringList]’ is deprecated: Use std::sort
#   38 |     qSort(order);
#      |     ~~~~~^~~~~~~
/usr/include/qt5/QtCore/qlist.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qobject.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/QObject:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/external/dde-dock-plugins/disk-mount/device/typedefines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/external/dde-dock-plugins/disk-mount/widgets/devicelist.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/external/dde-dock-plugins/disk-mount/widgets/devicelist.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:188:46: note: declared here
#  188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c)
#      |                                              ^~~~~
#   36|       sortKeys.insert(item.id, item.sortKey);
#   37|       QStringList order = sortKeys.values();
#   38|->     qSort(order);
#   39|       deviceLay->insertWidget(order.indexOf(item.sortKey), devItem);
#   40|       qCInfo(logAppDock) << "added item:" << item.id << devItem;

Error: COMPILER_WARNING (CWE-477): [#def54]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/abstractworker.cpp: scope_hint: In member function ‘virtual void dfmplugin_fileoperations::AbstractWorker::endWork()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/abstractworker.cpp:334:58: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  334 |             << "\n time elapsed: " << timeElapsed.elapsed()
#      |                                       ~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qcborvalue.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/fileutils.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperationsutils.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/abstractworker.h:9: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  332|               << "\n sources count: " << sourceUrls.count()
#  333|               << "\n target: " << targetUrl
#  334|->             << "\n time elapsed: " << timeElapsed.elapsed()
#  335|               << "\n";
#  336|       fmDebug() << "\n sources urls: " << sourceUrls;

Error: COMPILER_WARNING (CWE-477): [#def55]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/abstractworker.cpp: scope_hint: In member function ‘virtual bool dfmplugin_fileoperations::AbstractWorker::doWork()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/abstractworker.cpp:506:22: warning[-Wdeprecated-declarations]: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead
#  506 |     timeElapsed.start();
#      |     ~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here
#  235 |     QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
#      |                                                       ^~~~~
#  504|   bool AbstractWorker::doWork()
#  505|   {
#  506|->     timeElapsed.start();
#  507|       fmDebug() << "\n=========================\nwork begin, job: " << jobType << " sources: " << sourceUrls << " target: " << targetUrl << "\n";
#  508|   

Error: COMPILER_WARNING (CWE-477): [#def56]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/dfmplugin_fileoperations_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/docopyfileworker.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/docopyfileworker.cpp: scope_hint: In member function ‘bool dfmplugin_fileoperations::DoCopyFileWorker::verifyFileIntegrity(const qint64&, const ulong&, const dfmplugin_fileoperations::DFileInfoPointer&, const dfmplugin_fileoperations::DFileInfoPointer&, QSharedPointer<dfmio::DFile>&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/docopyfileworker.cpp:769:71: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  769 |     fmDebug("Time spent of integrity check of the file: %d", t.elapsed());
#      |                                                              ~~~~~~~~~^~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:64:125: note: in definition of macro ‘fmDebug’
#   64 |     QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC, __getLogCategoryName().categoryName()).debug(__VA_ARGS__)
#      |                                                                                                                             ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcborvalue.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/workerdata.h:9: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  767|       delete[] data;
#  768|   
#  769|->     fmDebug("Time spent of integrity check of the file: %d", t.elapsed());
#  770|   
#  771|       if (sourceCheckSum != targetCheckSum) {

Error: COMPILER_WARNING (CWE-477): [#def57]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/errormessageandaction.cpp: scope_hint: In static member function ‘static void dfmplugin_fileoperations::ErrorMessageAndAction::errorSrcAndDestString(const QUrl&, const QUrl&, QString*, QString*, dfmbase::AbstractJobHandler::JobErrorType)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/errormessageandaction.cpp:245:32: warning[-Wdeprecated-declarations]: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance
#  245 |         int pre = metrics.width(tr("Original path %1").arg(from.path()));
#      |                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:50: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractbaseview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/schemefactory.h:14: included_from: Included from here.
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
#  106 |     int width(const QString &, int len = -1) const;
#      |         ^~~~~
#  243|           static QFontMetrics metrics(label.font());
#  244|           static Qt::TextElideMode em = Qt::TextElideMode::ElideMiddle;
#  245|->         int pre = metrics.width(tr("Original path %1").arg(from.path()));
#  246|           int last = metrics.width(tr("Target path %1").arg(FileOperationsUtils::parentUrl(to).path()));
#  247|           static int total = 350;

Error: COMPILER_WARNING (CWE-477): [#def58]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/errormessageandaction.cpp:246:33: warning[-Wdeprecated-declarations]: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance
#  246 |         int last = metrics.width(tr("Target path %1").arg(FileOperationsUtils::parentUrl(to).path()));
#      |                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
#  106 |     int width(const QString &, int len = -1) const;
#      |         ^~~~~
#  244|           static Qt::TextElideMode em = Qt::TextElideMode::ElideMiddle;
#  245|           int pre = metrics.width(tr("Original path %1").arg(from.path()));
#  246|->         int last = metrics.width(tr("Target path %1").arg(FileOperationsUtils::parentUrl(to).path()));
#  247|           static int total = 350;
#  248|           if (pre > total / 2 && last > total / 2) {

Error: COMPILER_WARNING (CWE-477): [#def59]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperationsutils.cpp: scope_hint: In static member function ‘static bool dfmplugin_fileoperations::FileOperationsUtils::isAncestorUrl(const QUrl&, const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperationsutils.cpp:139:41: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  139 |     QUrl parentUrl = UrlRoute::urlParent(to);
#      |                      ~~~~~~~~~~~~~~~~~~~^~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/fileutils.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperationsutils.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/fileoperationutils/fileoperationsutils.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  137|   bool FileOperationsUtils::isAncestorUrl(const QUrl &from, const QUrl &to)
#  138|   {
#  139|->     QUrl parentUrl = UrlRoute::urlParent(to);
#  140|       return from.path() == parentUrl.path();
#  141|   }

Error: COMPILER_WARNING (CWE-477): [#def60]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp: scope_hint: In member function ‘bool dfmplugin_fileoperations::FileOperationsEventReceiver::doRenameDesktopFiles(QList<QUrl>&, QPair<QString, QString>, QMap<QUrl, QUrl>&, QMap<QUrl, QUrl>&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp:429:43: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  429 |         newUrl.setPath(UrlRoute::urlParent(oldUrl).path() + QDir::separator() + newName);
#      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  427|           auto newName = oldName;
#  428|           newName = newName.replace(pair.first, pair.second);
#  429|->         newUrl.setPath(UrlRoute::urlParent(oldUrl).path() + QDir::separator() + newName);
#  430|           needDealUrls.insert(oldUrl, newUrl);
#  431|           if (newName == oldName) {

Error: COMPILER_WARNING (CWE-477): [#def61]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp: scope_hint: In member function ‘JobHandlePointer dfmplugin_fileoperations::FileOperationsEventReceiver::doCutFile(quint64, const QList<QUrl>&, const QUrl&, dfmbase::AbstractJobHandler::JobFlags, dfmbase::AbstractJobHandler::OperatorHandleCallback, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp:496:50: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  496 |     if (FileUtils::isSameFile(UrlRoute::urlParent(sources[0]), target)) {
#      |                               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  494|   
#  495|       // cut file to file current dir
#  496|->     if (FileUtils::isSameFile(UrlRoute::urlParent(sources[0]), target)) {
#  497|           fmWarning() << "cut file to same dir!!!!!!!!!";
#  498|           return nullptr;

Error: COMPILER_WARNING (CWE-477): [#def62]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp: scope_hint: In member function ‘bool dfmplugin_fileoperations::FileOperationsEventReceiver::handleOperationOpenInTerminal(quint64, QList<QUrl>)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp:1347:37: warning[-Wdeprecated-declarations]: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead
# 1347 |         ok = QProcess::startDetached(fileHandler->defaultTerminalPath());
#      |              ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/QtCore:170: included_from: Included from here.
/usr/include/qt5/QtDBus/QtDBusDepends:3: included_from: Included from here.
/usr/include/qt5/QtDBus/QtDBus:3: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/common/core/dfmplugin-fileoperations/operationsstackmanager_interface.h:21: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperations/operationsstackproxy.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-fileoperations/fileoperationsevent/fileoperationseventreceiver.cpp:8: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
#  280 |     static bool startDetached(const QString &command);
#      |                 ^~~~~~~~~~~~~
# 1345|           if (fileHandler.isNull())
# 1346|               fileHandler.reset(new LocalFileHandler());
# 1347|->         ok = QProcess::startDetached(fileHandler->defaultTerminalPath());
# 1348|           if (!result)
# 1349|               result = ok;

Error: COMPILER_WARNING (CWE-477): [#def63]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-menu/menuscene/sendtomenuscene.cpp: scope_hint: In member function ‘virtual bool dfmplugin_menu::SendToMenuScene::create(QMenu*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-menu/menuscene/sendtomenuscene.cpp:120:38: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  120 |         auto dedupedDevs = devs.toSet();
#      |                            ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-menu/dfmplugin_menu_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-menu/menuscene/sendtomenuscene.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-menu/menuscene/sendtomenuscene.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  118|           using namespace GlobalServerDefines;
#  119|           auto devs = DevProxyMng->getAllBlockIds(DeviceQueryOption::kMounted | DeviceQueryOption::kRemovable);
#  120|->         auto dedupedDevs = devs.toSet();
#  121|           int idx = 0;
#  122|           for (const QString &dev : dedupedDevs) {

Error: COMPILER_WARNING (CWE-477): [#def64]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.cpp: scope_hint: In member function ‘void dfmplugin_propertydialog::BasicWidget::basicExpand(const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.cpp:158:79: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = dfmplugin_propertydialog::BasicFieldExpandEnum]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  158 |     QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/dfmplugin_propertydialog_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
#  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
#      |         ^~~~~~~
#  156|       int row = 0;
#  157|       QList<BasicFieldExpandEnum> fields = fieldMap.keys();
#  158|->     QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  159|       fields = fieldset.toList();
#  160|       qSort(fields.begin(), fields.end());

Error: COMPILER_WARNING (CWE-477): [#def65]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.cpp:159:29: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = dfmplugin_propertydialog::BasicFieldExpandEnum]’ is deprecated: Use values() instead.
#  159 |     fields = fieldset.toList();
#      |              ~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  157|       QList<BasicFieldExpandEnum> fields = fieldMap.keys();
#  158|       QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  159|->     fields = fieldset.toList();
#  160|       qSort(fields.begin(), fields.end());
#  161|       for (BasicFieldExpandEnum &key : fields) {

Error: COMPILER_WARNING (CWE-477): [#def66]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/basicwidget.cpp:160:10: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList<dfmplugin_propertydialog::BasicFieldExpandEnum>::iterator]’ is deprecated: Use std::sort
#  160 |     qSort(fields.begin(), fields.end());
#      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here
#  174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end)
#      |                                              ^~~~~
#  158|       QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  159|       fields = fieldset.toList();
#  160|->     qSort(fields.begin(), fields.end());
#  161|       for (BasicFieldExpandEnum &key : fields) {
#  162|           QList<KeyValueLabel *> kvls = fieldMap.values(key);

Error: COMPILER_WARNING (CWE-477): [#def67]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/filepropertydialog.cpp: scope_hint: In member function ‘void dfmplugin_propertydialog::FilePropertyDialog::initInfoUI()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/filepropertydialog.cpp:67:32: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#   67 |     palette.setBrush(QPalette::Background, Qt::NoBrush);
#      |                                ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/dfmplugin_propertydialog_global.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/filepropertydialog.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/filepropertydialog.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#   65|       scrollArea->setObjectName("PropertyDialog-QScrollArea");
#   66|       QPalette palette = scrollArea->viewport()->palette();
#   67|->     palette.setBrush(QPalette::Background, Qt::NoBrush);
#   68|       scrollArea->viewport()->setPalette(palette);
#   69|       scrollArea->setFrameShape(QFrame::Shape::NoFrame);

Error: COMPILER_WARNING (CWE-477): [#def68]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/permissionmanagerwidget.cpp: scope_hint: In member function ‘bool dfmplugin_propertydialog::PermissionManagerWidget::canChmod(const FileInfoPointer&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/permissionmanagerwidget.cpp:271:68: warning[-Wdeprecated-declarations]: ‘QRegularExpression::OptimizeOnFirstUsageOption’ is deprecated: This option does not have any effect since Qt 5.12
#  271 |                                              | QRegularExpression::OptimizeOnFirstUsageOption);
#      |                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcborvalue.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/permissionmanagerwidget.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-propertydialog/views/permissionmanagerwidget.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qregularexpression.h:76:9: note: declared here
#   76 |         OptimizeOnFirstUsageOption Q_DECL_ENUMERATOR_DEPRECATED_X("This option does not have any effect since Qt 5.12") = 0x0080,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  269|                                        QRegularExpression::DotMatchesEverythingOption
#  270|                                                | QRegularExpression::DontCaptureOption
#  271|->                                              | QRegularExpression::OptimizeOnFirstUsageOption);
#  272|       if (regExp.match(path, 0, QRegularExpression::NormalMatch, QRegularExpression::DontCheckSubjectStringMatchOption).hasMatch())
#  273|           return false;

Error: COMPILER_WARNING (CWE-477): [#def69]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp: scope_hint: In member function ‘QUrl dfmplugin_trashcore::TrashFileInfoPrivate::initTarget()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp:39:44: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#   39 |             ancestors = UrlRoute::urlParent(ancestors);
#      |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#   37|           while (TrashCoreHelper::rootUrl().isParentOf(ancestors)) {
#   38|               QUrl urlPre = ancestors;
#   39|->             ancestors = UrlRoute::urlParent(ancestors);
#   40|               if (UniversalUtils::urlEquals(TrashCoreHelper::rootUrl(), ancestors)) {
#   41|                   ancestors = urlPre;

Error: COMPILER_WARNING (CWE-477): [#def70]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/events/burneventreceiver.cpp: scope_hint: In member function ‘void dfmplugin_burn::BurnEventReceiver::handlePasteTo(const QList<QUrl>&, const QUrl&, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/events/burneventreceiver.cpp:115:38: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  115 |         tmpDest = UrlRoute::urlParent(tmpDest);
#      |                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/events/burneventreceiver.cpp:13: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  113|       QFileInfo fileInfo(tmpDest.path());
#  114|       if (fileInfo.isFile())
#  115|->         tmpDest = UrlRoute::urlParent(tmpDest);
#  116|       QDir().mkpath(tmpDest.toLocalFile());
#  117|   

Error: COMPILER_WARNING (CWE-477): [#def71]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burncheckstrategy.cpp:128:26: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
#  128 |     return filePath.split(QDir::separator(), QString::SkipEmptyParts).size() <= kMaxCommonDirDeepLength;
#      |            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
#  612 |     QStringList split(QChar sep, SplitBehavior behavior,
#      |                 ^~~~~
#  126|   bool BurnCheckStrategy::validCommonFilePathDeepLength(const QString &filePath)
#  127|   {
#  128|->     return filePath.split(QDir::separator(), QString::SkipEmptyParts).size() <= kMaxCommonDirDeepLength;
#  129|   }
#  130|   

Error: COMPILER_WARNING (CWE-477): [#def72]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burncheckstrategy.cpp: scope_hint: In member function ‘bool dfmplugin_burn::BurnCheckStrategy::validCommonFilePathDeepLength(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burncheckstrategy.cpp:128:55: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#  128 |     return filePath.split(QDir::separator(), QString::SkipEmptyParts).size() <= kMaxCommonDirDeepLength;
#      |                                                       ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qobject.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/QObject:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burncheckstrategy.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burncheckstrategy.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#  126|   bool BurnCheckStrategy::validCommonFilePathDeepLength(const QString &filePath)
#  127|   {
#  128|->     return filePath.split(QDir::separator(), QString::SkipEmptyParts).size() <= kMaxCommonDirDeepLength;
#  129|   }
#  130|   

Error: COMPILER_WARNING (CWE-252): [#def73]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp: scope_hint: In member function ‘virtual void dfmplugin_burn::AbstractBurnJob::readFunc(int, int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp:146:13: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
#  146 |         read(checkFd, &bad, sizeof(bad));
#      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  144|       double bad {};
#  145|       if (check && lastStatus != JobStatus::kFailed)
#  146|->         read(checkFd, &bad, sizeof(bad));
#  147|       bool checkRet { !(check && (bad > (2 + 1e-6))) };
#  148|   

Error: COMPILER_WARNING: [#def74]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp: scope_hint: In member function ‘dfmplugin_burn::AbstractBurnJob::createManager(int)::{lambda(dfmburn::JobStatus, int, QString const&, QStringList const&)#1}::operator()(dfmburn::JobStatus, int, QString const&, QStringList const&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp:274:28: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 4096 equals destination size
#  274 |                     strncpy(progressBuf, bytes.data(), kPipeBufferSize);
#      |                            ^
#  272|                   if (bytes.size() < kPipeBufferSize) {
#  273|                       char progressBuf[kPipeBufferSize] = { 0 };
#  274|->                     strncpy(progressBuf, bytes.data(), kPipeBufferSize);
#  275|                       write(fd, progressBuf, strlen(progressBuf) + 1);
#  276|                   }

Error: COMPILER_WARNING (CWE-252): [#def75]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp: scope_hint: In lambda function
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp:275:26: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#  275 |                     write(fd, progressBuf, strlen(progressBuf) + 1);
#      |                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  273|                       char progressBuf[kPipeBufferSize] = { 0 };
#  274|                       strncpy(progressBuf, bytes.data(), kPipeBufferSize);
#  275|->                     write(fd, progressBuf, strlen(progressBuf) + 1);
#  276|                   }
#  277|               },

Error: COMPILER_WARNING (CWE-252): [#def76]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp: scope_hint: In member function ‘virtual void dfmplugin_burn::BurnISOFilesJob::writeFunc(int, int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp:450:14: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#  450 |         write(checkFd, &bad, sizeof(bad));
#      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  448|           curPhase = kCheckData;
#  449|           manager->checkmedia(&gud, &slo, &bad);
#  450|->         write(checkFd, &bad, sizeof(bad));
#  451|       }
#  452|       delete manager;

Error: COMPILER_WARNING (CWE-252): [#def77]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp: scope_hint: In member function ‘virtual void dfmplugin_burn::BurnISOImageJob::writeFunc(int, int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-burn/utils/burnjob.cpp:491:14: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#  491 |         write(checkFd, &bad, sizeof(bad));
#      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  489|           curPhase = kCheckData;
#  490|           manager->checkmedia(&gud, &slo, &bad);
#  491|->         write(checkFd, &bad, sizeof(bad));
#  492|       }
#  493|       delete manager;

Error: COMPILER_WARNING (CWE-477): [#def78]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/utils/usersharehelper.cpp:269:68: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
#  269 |     auto ports = smbConf.value("global/smb ports").toString().split(" ", QString::SkipEmptyParts);
#      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
#  606 |     QStringList split(const QString &sep, SplitBehavior behavior,
#      |                 ^~~~~
#  267|   {
#  268|       QSettings smbConf("/etc/samba/smb.conf", QSettings::IniFormat);
#  269|->     auto ports = smbConf.value("global/smb ports").toString().split(" ", QString::SkipEmptyParts);
#  270|       return ports.isEmpty() ? -1 : ports.first().toInt();
#  271|   }

Error: COMPILER_WARNING (CWE-477): [#def79]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/utils/usersharehelper.cpp: scope_hint: In member function ‘int dfmplugin_dirshare::UserShareHelper::getSharePort() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/utils/usersharehelper.cpp:269:83: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#  269 |     auto ports = smbConf.value("global/smb ports").toString().split(" ", QString::SkipEmptyParts);
#      |                                                                                   ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/dfmplugin_dirshare_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/utils/usersharehelper.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-dirshare/utils/usersharehelper.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#  267|   {
#  268|       QSettings smbConf("/etc/samba/smb.conf", QSettings::IniFormat);
#  269|->     auto ports = smbConf.value("global/smb ports").toString().split(" ", QString::SkipEmptyParts);
#  270|       return ports.isEmpty() ? -1 : ports.first().toInt();
#  271|   }

Error: COMPILER_WARNING (CWE-477): [#def80]
/usr/include/qt5/QtCore/qglobal.h:1310: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/dfmplugin_filepreview_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp: scope_hint: In function ‘{anonymous}::Q_QGS_qt_factoryloader_mutex::Type* {anonymous}::Q_QGS_qt_factoryloader_mutex::innerFunction()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp:17:77: warning[-Wdeprecated-declarations]: ‘QMutex::QMutex(RecursionMode)’ is deprecated: Use QRecursiveMutex instead of a recursive QMutex
#   17 | Q_GLOBAL_STATIC_WITH_ARGS(QMutex, qt_factoryloader_mutex, (QMutex::Recursive))
#      |                                                                             ^
/usr/include/qt5/QtCore/QMutex:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.h:11: included_from: Included from here.
/usr/include/qt5/QtCore/qmutex.h:159:14: note: declared here
#  159 |     explicit QMutex(RecursionMode mode);
#      |              ^~~~~~
#   15|   Q_GLOBAL_STATIC(QList<PreviewPluginLoader *>, qt_factory_loaders)
#   16|   
#   17|-> Q_GLOBAL_STATIC_WITH_ARGS(QMutex, qt_factoryloader_mutex, (QMutex::Recursive))
#   18|   
#   19|   /* Internal, for debugging */

Error: COMPILER_WARNING (CWE-477): [#def81]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp: scope_hint: In member function ‘void dfmplugin_filepreview::PreviewPluginLoader::update()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp:236:45: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QPluginLoader*]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  236 |                     dptr->keyMap.insertMulti(key, loader);
#      |                     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
#  234|   
#  235|                   if (dptr->rki) {
#  236|->                     dptr->keyMap.insertMulti(key, loader);
#  237|                       ++keyUsageCount;
#  238|                   } else {

Error: COMPILER_WARNING (CWE-477): [#def82]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/filepreview/pluginInterface/previewpluginloader.cpp:246:49: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QPluginLoader*]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  246 |                         dptr->keyMap.insertMulti(key, loader);
#      |                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
#  244|                       int dfm_version = static_cast<int>(loader->metaData().value(versionKeyLiteral()).toDouble());
#  245|                       if (!previous || (prev_dfm_version > QString(VERSION).toDouble() && dfm_version <= QString(VERSION).toDouble())) {
#  246|->                         dptr->keyMap.insertMulti(key, loader);
#  247|                           ++keyUsageCount;
#  248|                       }

Error: COMPILER_WARNING (CWE-477): [#def83]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/dciicon-preview/ddciiconpreview.cpp: scope_hint: In member function ‘void plugin_filepreview::DDciIconPreview::initControlWidgets()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/dciicon-preview/ddciiconpreview.cpp:345:32: warning[-Wdeprecated-declarations]: ‘QPalette::Foreground’ is deprecated: Use QPalette::WindowText instead
#  345 |     palette.setBrush(QPalette::Foreground, QColor(220, 20, 60));
#      |                                ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractbaseview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/schemefactory.h:14: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:100:22: note: declared here
#  100 |                      Foreground Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::WindowText instead") = WindowText,
#      |                      ^~~~~~~~~~
#  343|       this->paletteNosupportedText->setFont(textFont);
#  344|       auto palette = this->paletteNosupportedText->palette();
#  345|->     palette.setBrush(QPalette::Foreground, QColor(220, 20, 60));
#  346|       this->paletteNosupportedText->setPalette(palette);
#  347|       this->paletteWidget->addHeaderWidget(this->paletteNosupportedText);

Error: COMPILER_WARNING (CWE-477): [#def84]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/dciicon-preview/ddciiconpreview.cpp:363:80: warning[-Wdeprecated-declarations]: ‘const QBrush& QPalette::foreground() const’ is deprecated: Use QPalette::windowText() instead
#  363 |     this->foregroundPaletteEdit->setText(this->mainWidget->palette().foreground().color().name());
#      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qpalette.h:147:26: note: declared here
#  147 |     inline const QBrush &foreground() const { return windowText(); }
#      |                          ^~~~~~~~~~
#  361|       foregroundPaletteTitle->setFont(font);
#  362|       this->foregroundPaletteEdit = new QLineEdit(this->controlWidget);
#  363|->     this->foregroundPaletteEdit->setText(this->mainWidget->palette().foreground().color().name());
#  364|       this->foregroundPaletteEdit->setFixedWidth(100);
#  365|       this->foregroundPaletteEdit->setFont(font);

Error: COMPILER_WARNING (CWE-477): [#def85]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/dciicon-preview/ddciiconpreview.cpp:375:80: warning[-Wdeprecated-declarations]: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead
#  375 |     this->backgroundPaletteEdit->setText(this->mainWidget->palette().background().color().name());
#      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qpalette.h:149:26: note: declared here
#  149 |     inline const QBrush &background() const { return window(); }
#      |                          ^~~~~~~~~~
#  373|       backgroundPaletteTitle->setFixedWidth(140);
#  374|       this->backgroundPaletteEdit = new QLineEdit(this->controlWidget);
#  375|->     this->backgroundPaletteEdit->setText(this->mainWidget->palette().background().color().name());
#  376|       this->backgroundPaletteEdit->setFixedWidth(100);
#  377|       this->backgroundPaletteEdit->setFont(font);

Error: COMPILER_WARNING (CWE-477): [#def86]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/music-preview/cover.cpp: scope_hint: In member function ‘virtual void plugin_filepreview::Cover::paintEvent(QPaintEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/music-preview/cover.cpp:30:63: warning[-Wdeprecated-declarations]: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead
#   30 |     painter.setRenderHints(QPainter::Antialiasing | QPainter::HighQualityAntialiasing | QPainter::SmoothPixmapTransform);
#      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/QPainter:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dstyle.h:13: included_from: Included from here.
/usr/include/dtk5/DWidget/dlabel.h:9: included_from: Included from here.
/usr/include/dtk5/DWidget/DLabel:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/music-preview/cover.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/music-preview/cover.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here
#   92 |         HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~
#   28|   
#   29|       QPainter painter(this);
#   30|->     painter.setRenderHints(QPainter::Antialiasing | QPainter::HighQualityAntialiasing | QPainter::SmoothPixmapTransform);
#   31|   
#   32|       QRect backgroundRect = rect();

Error: COMPILER_WARNING (CWE-477): [#def87]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/docsheet.cpp: scope_hint: In constructor ‘plugin_filepreview::DocSheet::DocSheet(const plugin_filepreview::FileType&, const QString&, QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/docsheet.cpp:49:54: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = plugin_filepreview::PreviewWidgesFlag; Zero = int QFlags<plugin_filepreview::PreviewWidgesFlag>::Private::*]’ is deprecated: Use default constructor instead
#   49 |         sheetSidebar = new SheetSidebar(this, nullptr);
#      |                                                      ^
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/preview_plugin_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/docsheet.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/docsheet.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#   47|           sheetSidebar = new SheetSidebar(this, PREVIEW_THUMBNAIL);
#   48|       else
#   49|->         sheetSidebar = new SheetSidebar(this, nullptr);
#   50|   
#   51|       sheetSidebar->setFixedWidth(96);

Error: COMPILER_WARNING (CWE-477): [#def88]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/encryptionpage.cpp: scope_hint: In member function ‘void plugin_filepreview::EncryptionPage::onUpdateTheme()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/encryptionpage.cpp:117:38: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  117 |     plt.setColor(Dtk::Gui::DPalette::Background, plt.color(Dtk::Gui::DPalette::Base));
#      |                                      ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/encryptionpage.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/encryptionpage.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  115|   {
#  116|       DPalette plt = Dtk::Gui::DGuiApplicationHelper::instance()->applicationPalette();
#  117|->     plt.setColor(Dtk::Gui::DPalette::Background, plt.color(Dtk::Gui::DPalette::Base));
#  118|       setPalette(plt);
#  119|   }

Error: COMPILER_WARNING (CWE-477): [#def89]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/sidebarimagelistview.cpp: scope_hint: In constructor ‘plugin_filepreview::SideBarImageListView::SideBarImageListView(plugin_filepreview::DocSheet*, QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/sidebarimagelistview.cpp:37:30: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#   37 |     palet.setColor(QPalette::Background, Dtk::Gui::DGuiApplicationHelper::instance()->applicationPalette().itemBackground().color());
#      |                              ^~~~~~~~~~
/usr/include/qt5/QtGui/QPalette:1: included_from: Included from here.
/usr/include/dtk5/DGui/dpalette.h:11: included_from: Included from here.
/usr/include/dtk5/DGui/DPalette:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dstyleditemdelegate.h:10: included_from: Included from here.
/usr/include/dtk5/DWidget/DStyledItemDelegate:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dlistview.h:11: included_from: Included from here.
/usr/include/dtk5/DWidget/DListView:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/sidebarimagelistview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/sidebarimagelistview.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#   35|       setAutoFillBackground(true);
#   36|       QPalette palet = this->palette();
#   37|->     palet.setColor(QPalette::Background, Dtk::Gui::DGuiApplicationHelper::instance()->applicationPalette().itemBackground().color());
#   38|       setPalette(palet);
#   39|   }

Error: COMPILER_WARNING (CWE-477): [#def90]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/thumbnaildelegate.cpp: scope_hint: In member function ‘virtual void plugin_filepreview::ThumbnailDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/thumbnaildelegate.cpp:35:103: warning[-Wdeprecated-declarations]: ‘QPixmap QPixmap::transformed(const QMatrix&, Qt::TransformationMode) const’ is deprecated: Use transformed(const QTransform &, Qt::TransformationMode mode)
#   35 |         const QPixmap &pixmap = index.data(ImageinfoType_e::IMAGE_PIXMAP).value<QPixmap>().transformed(matrix);
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/include/qt5/QtGui/qbrush.h:52: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:46: included_from: Included from here.
/usr/include/qt5/QtGui/QPalette:1: included_from: Included from here.
/usr/include/dtk5/DGui/dpalette.h:11: included_from: Included from here.
/usr/include/dtk5/DGui/DPalette:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dstyleditemdelegate.h:10: included_from: Included from here.
/usr/include/dtk5/DWidget/DStyledItemDelegate:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/thumbnaildelegate.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-preview/pluginpreviews/pdf-preview/thumbnaildelegate.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpixmap.h:134:13: note: declared here
#  134 |     QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const;
#      |             ^~~~~~~~~~~
#   33|           matrix.rotate(rotate);
#   34|   
#   35|->         const QPixmap &pixmap = index.data(ImageinfoType_e::IMAGE_PIXMAP).value<QPixmap>().transformed(matrix);
#   36|   
#   37|           const int borderRadius = 6;

Error: COMPILER_WARNING (CWE-569): [#def91]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/menu/private/tagmenuscene_p.cpp: scope_hint: In member function ‘QRect dfmplugin_tag::TagMenuScenePrivate::getSurfaceRect(QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/menu/private/tagmenuscene_p.cpp:22:18: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#   22 |         while (p = p->parentWidget()) {
#      |                ~~^~~~~~~~~~~~~~~~~~~
#   20|       if (w) {
#   21|           QWidget *p = w;
#   22|->         while (p = p->parentWidget()) {
#   23|               if (p->property("WidgetName").toString() == QString("organizersurface")) {
#   24|                   rect = p->rect();

Error: COMPILER_WARNING (CWE-477): [#def92]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.cpp: scope_hint: In member function ‘QStringList dfmplugin_tag::FileTagCache::getTagsByFiles(const QStringList&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.cpp:228:50: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  228 |         intersectionTags = intersectionTags.toSet().intersect(tags.toSet()).values();
#      |                            ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qobject.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/QObject:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/private/filetagcache_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  226|       for (const QString &path : paths) {
#  227|           QStringList tags = d->fileTagsCache.value(path).toStringList();
#  228|->         intersectionTags = intersectionTags.toSet().intersect(tags.toSet()).values();
#  229|           if (intersectionTags.isEmpty())
#  230|               break;

Error: COMPILER_WARNING (CWE-477): [#def93]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.cpp:228:73: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  228 |         intersectionTags = intersectionTags.toSet().intersect(tags.toSet()).values();
#      |                                                               ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/dfmplugin_tag_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/filetagcache.cpp:7: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  226|       for (const QString &path : paths) {
#  227|           QStringList tags = d->fileTagsCache.value(path).toStringList();
#  228|->         intersectionTags = intersectionTags.toSet().intersect(tags.toSet()).values();
#  229|           if (intersectionTags.isEmpty())
#  230|               break;

Error: COMPILER_WARNING (CWE-477): [#def94]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.cpp: scope_hint: In member function ‘bool dfmplugin_tag::TagManager::localFileCanTagFilter(const FileInfoPointer&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.cpp:513:88: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  513 |     if (!AnythingMonitorFilter::instance().whetherFilterCurrentPath(UrlRoute::urlParent(url).toLocalFile()))
#      |                                                                     ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  511|   
#  512|       const QUrl &url = info->urlOf(UrlInfoType::kRedirectedFileUrl);
#  513|->     if (!AnythingMonitorFilter::instance().whetherFilterCurrentPath(UrlRoute::urlParent(url).toLocalFile()))
#  514|           return false;
#  515|   

Error: COMPILER_WARNING (CWE-477): [#def95]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.cpp:521:52: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  521 |     const QString &parentPath { UrlRoute::urlParent(filePath).path() };
#      |                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  519|           return false;
#  520|   
#  521|->     const QString &parentPath { UrlRoute::urlParent(filePath).path() };
#  522|       if (parentPath == "/home" || parentPath == FileUtils::bindPathTransform("/home", true))
#  523|           return false;

Error: COMPILER_WARNING (CWE-477): [#def96]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.cpp: scope_hint: In member function ‘QMap<QString, QColor> dfmplugin_tag::TagManager::assignColorToTags(const QStringList&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.cpp:634:26: warning[-Wdeprecated-declarations]: ‘QMap<K, V>& QMap<K, V>::unite(const QMap<K, V>&) [with Key = QString; T = QColor]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  634 |             tagsMap.unite(tagMap);
#      |             ~~~~~~~~~~~~~^~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/dfmplugin_tag_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-tag/utils/tagmanager.h:8: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1378:15: note: declared here
# 1378 | QMap<Key, T> &QMap<Key, T>::unite(const QMap<Key, T> &other)
#      |               ^~~~~~~~~~~~
#  632|               tagsMap[tag] = tagColor;
#  633|           } else {
#  634|->             tagsMap.unite(tagMap);
#  635|           }
#  636|       }

Error: COMPILER_WARNING (CWE-477): [#def97]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/emblemimpl/extensionemblemmanager.cpp: scope_hint: In member function ‘void dfmplugin_utils::EmblemIconWorker::parseEmblemIcons(const QString&, int, QSharedPointer<dfmext::DFMExtEmblemIconPlugin>)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/emblemimpl/extensionemblemmanager.cpp:116:64: warning[-Wdeprecated-declarations]: ‘dfmext::DFMExtEmblemIconPlugin::IconsType dfmext::DFMExtEmblemIconPlugin::emblemIcons(const std::string&) const’ is deprecated
#  116 |     const std::vector<std::string> &icons { plugin->emblemIcons(path.toStdString()) };
#      |                                             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/pluginsload/extensionpluginloader.h:12: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/pluginsload/extensionpluginmanager.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/emblemimpl/extensionemblemmanager_p.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/common/dfmplugin-utils/extensionimpl/emblemimpl/extensionemblemmanager.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-extension/emblemicon/dfmextemblemiconplugin.h:31:47: note: declared here
#   31 |     DFM_FAKE_VIRTUAL [[deprecated]] IconsType emblemIcons(const std::string &filePath) const;
#      |                                               ^~~~~~~~~~~
#  114|       if (hasCachedByOtherLocationEmblem(path, pluginAddr))
#  115|           return;
#  116|->     const std::vector<std::string> &icons { plugin->emblemIcons(path.toStdString()) };
#  117|   
#  118|       if (icons.empty())

Error: COMPILER_WARNING (CWE-477): [#def98]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/accesscontrol.cpp: scope_hint: In member function ‘void daemonplugin_accesscontrol::AccessControl::createUserMountDir(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/accesscontrol.cpp:93:22: warning[-Wdeprecated-declarations]: ‘static int QProcess::execute(const QString&)’ is deprecated: Use QProcess::execute(const QString &program, const QStringList &arguments) instead
#   93 |     QProcess::execute(aclCmd);
#      |     ~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/include/qt5/QtCore/QtCore:170: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dwatcher.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/accesscontrol.h:14: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/accesscontrol.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:265:16: note: declared here
#  265 |     static int execute(const QString &command);
#      |                ^~~~~~~
#   91|       // ACL
#   92|       QString aclCmd = QString("setfacl -m o:rx %1").arg(userMountRoot);
#   93|->     QProcess::execute(aclCmd);
#   94|       fmInfo() << "acl the /media/anyuser folder";
#   95|   }

Error: COMPILER_WARNING (CWE-477): [#def99]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/utils.cpp: scope_hint: In static member function ‘static bool daemonplugin_accesscontrol::Utils::isValidInvoker(uint, QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/utils.cpp:89:44: warning[-Wdeprecated-declarations]: ‘QString QFile::readLink() const’ is deprecated: Use QFile::symLinkTarget() instead
#   89 |     auto initNsMnt = initNsMntFile.readLink().trimmed().remove(0, QString("/proc/self/ns/mnt").length());
#      |                      ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qfileinfo.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QFileInfo:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/utils.cpp:12: included_from: Included from here.
/usr/include/qt5/QtCore/qfile.h:118:13: note: declared here
#  118 |     QString readLink() const;
#      |             ^~~~~~~~
#   87|       QFile initNsMntFile("/proc/self/ns/mnt");
#   88|       QFile senderNsMntFile(QString("/proc/%1/ns/mnt").arg(pid));
#   89|->     auto initNsMnt = initNsMntFile.readLink().trimmed().remove(0, QString("/proc/self/ns/mnt").length());
#   90|       auto senderNsMnt = senderNsMntFile.readLink().trimmed().remove(0, QString("/proc/%1/ns/mnt").arg(pid).length());
#   91|       if (initNsMnt != senderNsMnt)

Error: COMPILER_WARNING (CWE-477): [#def100]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-accesscontrol/utils.cpp:90:48: warning[-Wdeprecated-declarations]: ‘QString QFile::readLink() const’ is deprecated: Use QFile::symLinkTarget() instead
#   90 |     auto senderNsMnt = senderNsMntFile.readLink().trimmed().remove(0, QString("/proc/%1/ns/mnt").arg(pid).length());
#      |                        ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qfile.h:118:13: note: declared here
#  118 |     QString readLink() const;
#      |             ^~~~~~~~
#   88|       QFile senderNsMntFile(QString("/proc/%1/ns/mnt").arg(pid));
#   89|       auto initNsMnt = initNsMntFile.readLink().trimmed().remove(0, QString("/proc/self/ns/mnt").length());
#   90|->     auto senderNsMnt = senderNsMntFile.readLink().trimmed().remove(0, QString("/proc/%1/ns/mnt").arg(pid).length());
#   91|       if (initNsMnt != senderNsMnt)
#   92|           return false;

Error: COMPILER_WARNING (CWE-477): [#def101]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp: scope_hint: In member function ‘bool ShareControlDBus::EnableSmbServices()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp:100:13: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#  100 |     sh.start("ln -sf /lib/systemd/system/smbd.service /etc/systemd/system/multi-user.target.wants/smbd.service");
#      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/QtCore:170: included_from: Included from here.
/usr/include/qt5/QtDBus/QtDBusDepends:3: included_from: Included from here.
/usr/include/qt5/QtDBus/QtDBus:3: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/dbusadapter/sharecontrol_adapter.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp:7: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#   98|   
#   99|       QProcess sh;
#  100|->     sh.start("ln -sf /lib/systemd/system/smbd.service /etc/systemd/system/multi-user.target.wants/smbd.service");
#  101|       auto ret = sh.waitForFinished();
#  102|       fmInfo() << "enable smbd: " << ret;

Error: COMPILER_WARNING (CWE-477): [#def102]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp:104:13: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#  104 |     sh.start("ln -sf /lib/systemd/system/nmbd.service /etc/systemd/system/multi-user.target.wants/nmbd.service");
#      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#  102|       fmInfo() << "enable smbd: " << ret;
#  103|   
#  104|->     sh.start("ln -sf /lib/systemd/system/nmbd.service /etc/systemd/system/multi-user.target.wants/nmbd.service");
#  105|       ret &= sh.waitForFinished();
#  106|       fmInfo() << "enable nmbd: " << ret;

Error: COMPILER_WARNING (CWE-477): [#def103]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp: scope_hint: In member function ‘bool ShareControlDBus::IsUserSharePasswordSet(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/daemon/daemonplugin-sharecontrol/sharecontroldbus.cpp:113:12: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#  113 |     p.start("pdbedit -L");
#      |     ~~~~~~~^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#  111|   {
#  112|       QProcess p;
#  113|->     p.start("pdbedit -L");
#  114|       auto ret = p.waitForFinished();
#  115|       QStringList resultLines = QString::fromUtf8(p.readAllStandardOutput()).split('\n');

Error: COMPILER_WARNING (CWE-477): [#def104]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate.cpp: scope_hint: In member function ‘virtual void ddplugin_canvas::CanvasItemDelegate::initStyleOption(QStyleOptionViewItem*, const QModelIndex&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate.cpp:712:44: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  712 |         option->palette.setColor(QPalette::Background, QColor("#0076F9"));
#      |                                            ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractspinbox.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qstyleoption.h:47: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QStyledItemDelegate:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate.h:12: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  710|       // multi-selected background
#  711|       if ((option->state & QStyle::State_HasFocus) && option->showDecorationSelected && model->selectedIndexesCache().size() > 1) {
#  712|->         option->palette.setColor(QPalette::Background, QColor("#0076F9"));
#  713|           option->backgroundBrush = QColor("#0076F9");
#  714|       } else {   // normal

Error: COMPILER_WARNING (CWE-477): [#def105]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/delegate/canvasitemdelegate.cpp:715:44: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  715 |         option->palette.setColor(QPalette::Background, QColor("#2da6f7"));
#      |                                            ^~~~~~~~~~
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  713|           option->backgroundBrush = QColor("#0076F9");
#  714|       } else {   // normal
#  715|->         option->palette.setColor(QPalette::Background, QColor("#2da6f7"));
#  716|           option->backgroundBrush = QColor("#2da6f7");
#  717|       }

Error: COMPILER_WARNING (CWE-477): [#def106]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.cpp: scope_hint: In member function ‘void ddplugin_canvas::FileProvider::update(const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.cpp:158:28: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  158 |     if (UrlRoute::urlParent(url) != rootUrl)
#      |         ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractdiriterator.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/traversaldirthread.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  156|   void FileProvider::update(const QUrl &url)
#  157|   {
#  158|->     if (UrlRoute::urlParent(url) != rootUrl)
#  159|           return;
#  160|       bool ignore = std::any_of(fileFilters.begin(), fileFilters.end(),

Error: COMPILER_WARNING (CWE-477): [#def107]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.cpp: scope_hint: In member function ‘void ddplugin_canvas::FileProvider::onFileInfoUpdated(const QUrl&, const QString&, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/model/fileprovider.cpp:193:28: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  193 |     if (UrlRoute::urlParent(url) != rootUrl)
#      |         ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  191|   {
#  192|       Q_UNUSED(infoPtr);
#  193|->     if (UrlRoute::urlParent(url) != rootUrl)
#  194|           return;
#  195|       emit fileInfoUpdated(url, isLinkOrg);

Error: COMPILER_WARNING (CWE-477): [#def108]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/canvasview.cpp: scope_hint: In member function ‘virtual void ddplugin_canvas::CanvasView::paintEvent(QPaintEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/canvasview.cpp:325:37: warning[-Wdeprecated-declarations]: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead
#  325 |     painter.setRenderHint(QPainter::HighQualityAntialiasing);
#      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/QPainter:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/canvasview.cpp:8: included_from: Included from here.
/usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here
#   92 |         HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~
#  323|   {
#  324|       ViewPainter painter(d);
#  325|->     painter.setRenderHint(QPainter::HighQualityAntialiasing);
#  326|   
#  327|       // debug网格信息展示

Error: COMPILER_WARNING (CWE-569): [#def109]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/boxselector.cpp: scope_hint: In member function ‘void ddplugin_canvas::BoxSelector::beginSelect(const QPoint&, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/boxselector.cpp:34:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#   34 |     if (automatic = autoSelect)
#      |         ~~~~~~~~~~^~~~~~~~~~~~
#   32|       active = true;
#   33|   
#   34|->     if (automatic = autoSelect)
#   35|           qApp->installEventFilter(this);
#   36|   }

Error: COMPILER_WARNING (CWE-477): [#def110]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/boxselector.cpp: scope_hint: In member function ‘virtual void ddplugin_canvas::RubberBand::paintEvent(QPaintEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/boxselector.cpp:359:37: warning[-Wdeprecated-declarations]: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead
#  359 |     painter.setRenderHint(QPainter::HighQualityAntialiasing);
#      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/QPainter:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/boxselector.cpp:16: included_from: Included from here.
/usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here
#   92 |         HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~
#  357|   {
#  358|       QPainter painter(this);
#  359|->     painter.setRenderHint(QPainter::HighQualityAntialiasing);
#  360|       QStyleOptionRubberBand opt;
#  361|       opt.initFrom(this);

Error: COMPILER_WARNING (CWE-477): [#def111]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/fileoperatorproxy.cpp: scope_hint: In member function ‘void ddplugin_canvas::FileOperatorProxyPrivate::callBackPasteFiles(JobInfoPointer)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/fileoperatorproxy.cpp:95:40: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QUrl]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#   95 |             pasteFileData = files.toSet();
#      |                             ~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/ddplugin_canvas_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/fileoperatorproxy.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/fileoperatorproxy.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#   93|           } else {
#   94|               fmWarning() << "there were no model and selection model.";
#   95|->             pasteFileData = files.toSet();
#   96|           }
#   97|           emit q->filePastedCallback();

Error: COMPILER_WARNING (CWE-477): [#def112]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp: scope_hint: In member function ‘void ddplugin_canvas::ViewPainter::paintFiles(QStyleOptionViewItem, QPaintEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp:27:50: warning[-Wdeprecated-declarations]: ‘QVector<QRect> QRegion::rects() const’ is deprecated: Use begin()/end() instead
#   27 |     QVector<QRect> region = event->region().rects();
#      |                             ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qmatrix.h:45: included_from: Included from here.
/usr/include/qt5/QtGui/qbrush.h:49: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:46: included_from: Included from here.
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/qframe.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractscrollarea.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractitemview.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QAbstractItemView:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/canvasview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/canvasview_p.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qregion.h:125:20: note: declared here
#  125 |     QVector<QRect> rects() const;
#      |                    ^~~~~
#   25|   {
#   26|       QRect repaintRect = event->rect();
#   27|->     QVector<QRect> region = event->region().rects();
#   28|   
#   29|       QPair<QModelIndex, QPoint> expandItem;

Error: COMPILER_WARNING (CWE-477): [#def113]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp: scope_hint: In member function ‘void ddplugin_canvas::ViewPainter::drawDodge(QStyleOptionViewItem)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp:186:30: warning[-Wdeprecated-declarations]: ‘void QPainterPath::addRoundRect(const QRectF&, int, int)’ is deprecated: Use addRoundedRect(..., Qt::RelativeSize) instead
#  186 |             path.addRoundRect(lastRect, 4, 4);
#      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/QPainterPath:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-canvas/view/operator/viewpainter.cpp:11: included_from: Included from here.
/usr/include/qt5/QtGui/qpainterpath.h:147:10: note: declared here
#  147 |     void addRoundRect(const QRectF &rect, int xRnd, int yRnd);
#      |          ^~~~~~~~~~~~
#  184|               pen.setWidth(1);
#  185|               auto lastRect = view()->visualRect(hoverIndex).marginsRemoved(QMargins(border, border, border, border));
#  186|->             path.addRoundRect(lastRect, 4, 4);
#  187|               fillPath(path, QColor(43, 167, 248, 255 * 3 / 10));
#  188|               strokePath(path, pen);

Error: COMPILER_WARNING (CWE-477): [#def114]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-core/screen/screenproxyqt.cpp: scope_hint: In member function ‘bool ddplugin_core::ScreenProxyQt::checkUsedScreens()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-core/screen/screenproxyqt.cpp:278:27: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  278 |     auto inuse = scs.toSet();
#      |                  ~~~~~~~~~^~
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-core/ddplugin_core_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-core/screen/screenproxyqt.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/core/ddplugin-core/screen/screenproxyqt.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  276|       QStringList scs;
#  277|       dpfHookSequence->run("ddplugin_core", "hook_ScreenProxy_ScreensInUse", &scs);
#  278|->     auto inuse = scs.toSet();
#  279|       fmInfo() << "current screens" << cur << "used" << inuse;
#  280|   

Error: COMPILER_WARNING (CWE-476): [#def115]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-background/backgroundmanager.cpp:33:25: warning[-Wnonnull]: ‘this’ pointer is null
#   33 |     return win->property(DesktopFrameProperty::kPropScreenName).toString();
#      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qiodevice.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qtextstream.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-background/ddplugin_background_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-background/backgrounddde.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-background/backgroundmanager.cpp:6: included_from: Included from here.
/usr/include/qt5/QtCore/qobject.h: scope_hint: In member function ‘ddplugin_background::BackgroundManager::onGeometryChanged()’
/usr/include/qt5/QtCore/qobject.h:407:14: note: in a call to non-static member function ‘QObject::property(char const*) const’
#  407 |     QVariant property(const char *name) const;
#      |              ^~~~~~~~
#   31|   {
#   32|       Q_ASSERT(win);
#   33|->     return win->property(DesktopFrameProperty::kPropScreenName).toString();
#   34|   }
#   35|   

Error: COMPILER_WARNING (CWE-477): [#def116]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate.cpp: scope_hint: In member function ‘virtual void ddplugin_organizer::CollectionItemDelegate::initStyleOption(QStyleOptionViewItem*, const QModelIndex&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate.cpp:737:44: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  737 |         option->palette.setColor(QPalette::Background, QColor("#0076F9"));
#      |                                            ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractspinbox.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qstyleoption.h:47: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QStyledItemDelegate:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate.h:12: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  735|       // multi-selected background
#  736|       if ((option->state & QStyle::State_HasFocus) && option->showDecorationSelected && model->selectedIndexes().size() > 1) {
#  737|->         option->palette.setColor(QPalette::Background, QColor("#0076F9"));
#  738|           option->backgroundBrush = QColor("#0076F9");
#  739|       } else {   // normal

Error: COMPILER_WARNING (CWE-477): [#def117]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/delegate/collectionitemdelegate.cpp:740:44: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  740 |         option->palette.setColor(QPalette::Background, QColor("#2da6f7"));
#      |                                            ^~~~~~~~~~
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  738|           option->backgroundBrush = QColor("#0076F9");
#  739|       } else {   // normal
#  740|->         option->palette.setColor(QPalette::Background, QColor("#2da6f7"));
#  741|           option->backgroundBrush = QColor("#2da6f7");
#  742|       }

Error: COMPILER_WARNING (CWE-563): [#def118]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.cpp: scope_hint: In member function ‘virtual void ddplugin_organizer::CustomMode::layout()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.cpp:147:41: warning[-Wunused-variable]: unused variable ‘holder’
#  147 |     for (const CollectionHolderPointer &holder : unassigned) {
#      |                                         ^~~~~~
#  145|       delete[] used;
#  146|   
#  147|->     for (const CollectionHolderPointer &holder : unassigned) {
#  148|           // todo 二维矩形排样算法
#  149|       }

Error: COMPILER_WARNING (CWE-477): [#def119]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.cpp: scope_hint: In member function ‘void ddplugin_organizer::CustomMode::rebuild()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.cpp:170:42: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QUrl]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  170 |         auto files = QSet<QUrl>::fromList(model->files());
#      |                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/ddplugin_organizer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/canvasorganizer.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custom/custommode_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/custommode.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
#  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
#      |         ^~~~~~~
#  168|   {
#  169|       {
#  170|->         auto files = QSet<QUrl>::fromList(model->files());
#  171|   
#  172|           // remove invaild url

Error: COMPILER_WARNING (CWE-477): [#def120]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier.cpp: scope_hint: In constructor ‘ddplugin_organizer::TypeClassifierPrivate::TypeClassifierPrivate(ddplugin_organizer::TypeClassifier*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier.cpp:30:39: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#   30 |         *tablePtr = tablePtr->fromList(QString(suffix).split(','));    \
#      |                     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier.cpp:36:5: note: in expansion of macro ‘InitSuffixTable’
#   36 |     InitSuffixTable(docSuffix, kTypeSuffixDoc);
#      |     ^~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/ddplugin_organizer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/fileclassifier.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalized/type/typeclassifier.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
#  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
#      |         ^~~~~~~
#   28|       {                                                                  \
#   29|           QSet<QString> *tablePtr = const_cast<QSet<QString> *>(&table); \
#   30|->         *tablePtr = tablePtr->fromList(QString(suffix).split(','));    \
#   31|       }
#   32|   TypeClassifierPrivate::TypeClassifierPrivate(TypeClassifier *qq)

Error: COMPILER_WARNING (CWE-477): [#def121]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp: scope_hint: In member function ‘void ddplugin_organizer::NormalizedMode::rebuild(bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp:674:15: warning[-Wdeprecated-declarations]: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead
#  674 |     time.start();
#      |     ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qcborvalue.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/syncfileinfo.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/models/collectionmodel.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp:6: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here
#  235 |     QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
#      |                                                       ^~~~~
#  672|       // 使用分类器对文件进行分类,后续性能问题需考虑异步分类
#  673|       QTime time;
#  674|->     time.start();
#  675|       {
#  676|           auto files = model->files();

Error: COMPILER_WARNING (CWE-477): [#def122]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp:684:99: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  684 |         fmInfo() << QString("Classifying %0 files takes %1 ms").arg(files.size()).arg(time.elapsed());
#      |                                                                                       ~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  682|           d->restore(CfgPresenter->normalProfile(), reorganize);
#  683|   
#  684|->         fmInfo() << QString("Classifying %0 files takes %1 ms").arg(files.size()).arg(time.elapsed());
#  685|           time.restart();
#  686|   

Error: COMPILER_WARNING (CWE-477): [#def123]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp:685:21: warning[-Wdeprecated-declarations]: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead
#  685 |         time.restart();
#      |         ~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here
#  236 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int restart();
#      |                                                      ^~~~~~~
#  683|   
#  684|           fmInfo() << QString("Classifying %0 files takes %1 ms").arg(files.size()).arg(time.elapsed());
#  685|->         time.restart();
#  686|   
#  687|           if (!files.isEmpty())

Error: COMPILER_WARNING (CWE-477): [#def124]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/mode/normalizedmode.cpp:732:96: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  732 |     fmInfo() << QString("create groups %0 takes %1 ms").arg(d->holders.size()).arg(time.elapsed());
#      |                                                                                    ~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  730|       });
#  731|   
#  732|->     fmInfo() << QString("create groups %0 takes %1 ms").arg(d->holders.size()).arg(time.elapsed());
#  733|   
#  734|       emit collectionChanged();

Error: COMPILER_WARNING (CWE-477): [#def125]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/options/widgets/contentbackgroundwidget.cpp: scope_hint: In member function ‘virtual void ddplugin_organizer::ContentBackgroundWidget::paintEvent(QPaintEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/options/widgets/contentbackgroundwidget.cpp:28:46: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#   28 |     const DPalette &dp = DApplicationHelper::instance()->palette(this);
#      |                                              ^~~~~~~~
/usr/include/dtk5/DWidget/DApplicationHelper:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/options/widgets/contentbackgroundwidget.cpp:8: included_from: Included from here.
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#   26|   void ContentBackgroundWidget::paintEvent(QPaintEvent *event)
#   27|   {
#   28|->     const DPalette &dp = DApplicationHelper::instance()->palette(this);
#   29|       QPainter p(this);
#   30|       p.setRenderHint(QPainter::Antialiasing);

Error: COMPILER_WARNING (CWE-477): [#def126]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp: scope_hint: In member function ‘void ddplugin_organizer::FileOperatorPrivate::callBackPasteFiles(JobInfoPointer, const QVariant&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp:70:36: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QUrl]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#   70 |         pasteFileData = files.toSet();
#      |                         ~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/ddplugin_organizer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator_p.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#   68|   
#   69|           // record the file is not existed and selecting it when it is inserted.
#   70|->         pasteFileData = files.toSet();
#   71|       }
#   72|   }

Error: COMPILER_WARNING (CWE-477): [#def127]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp: scope_hint: In member function ‘void ddplugin_organizer::FileOperator::onCanvasPastedFiles()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp:414:27: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = QUrl]’ is deprecated: Use values() instead.
#  414 |     auto list = ret.toList();
#      |                 ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  412|   
#  413|       // no need to clear selecion since the canvas(FileOperatorProxyPrivate) has done it.
#  414|->     auto list = ret.toList();
#  415|       emit requestSelectFile(list, QItemSelectionModel::Select);
#  416|   

Error: COMPILER_WARNING (CWE-477): [#def128]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/utils/fileoperator.cpp:424:34: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QUrl]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  424 |     d->pasteFileData = list.toSet();
#      |                        ~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  422|   
#  423|       // record the file is not existed and selecting it when it is inserted.
#  424|->     d->pasteFileData = list.toSet();
#  425|   }
#  426|   

Error: COMPILER_WARNING (CWE-665): [#def129]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:48:1: warning[-Wreorder]:   when initialized here
#   48 | CollectionViewPrivate::CollectionViewPrivate(const QString &uuid, CollectionDataProvider *dataProvider, CollectionView *qq, QObject *parent)
#      | ^~~~~~~~~~~~~~~~~~~~~
#   46|   static constexpr int kIconSelectMargin = 3;
#   47|   
#   48|-> CollectionViewPrivate::CollectionViewPrivate(const QString &uuid, CollectionDataProvider *dataProvider, CollectionView *qq, QObject *parent)
#   49|       : QObject(parent), q(qq), id(uuid), provider(dataProvider), menuProxy(new CollectionViewMenu(qq))
#   50|   {

Error: COMPILER_WARNING: [#def130]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp: scope_hint: In member function ‘void ddplugin_organizer::CollectionViewPrivate::toggleSelect() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:245:16: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  245 |         auto &&fileUrl = provider->items(id).at(node);
#      |                ^~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:245:48: note: the temporary was destroyed at the end of the full expression ‘ddplugin_organizer::CollectionDataProvider::items(((const ddplugin_organizer::CollectionViewPrivate*)this)->ddplugin_organizer::CollectionViewPrivate::id).QList<QUrl>::at(node)’
#  245 |         auto &&fileUrl = provider->items(id).at(node);
#      |                          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#  243|       bool contain = false;
#  244|       for (int node = 0; node < provider->items(id).count(); ++node) {
#  245|->         auto &&fileUrl = provider->items(id).at(node);
#  246|           auto &&index = q->model()->index(fileUrl);
#  247|           if (currentSelected.contains(index)) {

Error: COMPILER_WARNING: [#def131]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp: scope_hint: In member function ‘void ddplugin_organizer::CollectionViewPrivate::selectCollection()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:662:16: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  662 |         auto &&fileUrl = provider->items(id).at(node);
#      |                ^~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:662:48: note: the temporary was destroyed at the end of the full expression ‘ddplugin_organizer::CollectionDataProvider::items(((ddplugin_organizer::CollectionViewPrivate*)this)->ddplugin_organizer::CollectionViewPrivate::id).QList<QUrl>::at(node)’
#  662 |         auto &&fileUrl = provider->items(id).at(node);
#      |                          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#  660|       QItemSelection selections;
#  661|       for (int node = 0; node < provider->items(id).count(); ++node) {
#  662|->         auto &&fileUrl = provider->items(id).at(node);
#  663|           auto &&index = q->model()->index(fileUrl);
#  664|           if (!selections.contains(index)) {

Error: COMPILER_WARNING: [#def132]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp: scope_hint: In member function ‘void ddplugin_organizer::CollectionViewPrivate::continuousSelection(const QPersistentModelIndex&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:980:16: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  980 |         auto &&fileUrl = provider->items(id).at(node);
#      |                ^~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:980:48: note: the temporary was destroyed at the end of the full expression ‘ddplugin_organizer::CollectionDataProvider::items(((ddplugin_organizer::CollectionViewPrivate*)this)->ddplugin_organizer::CollectionViewPrivate::id).QList<QUrl>::at(node)’
#  980 |         auto &&fileUrl = provider->items(id).at(node);
#      |                          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#  978|       QItemSelection selections;
#  979|       for (int node = minNode; node <= maxNode; ++node) {
#  980|->         auto &&fileUrl = provider->items(id).at(node);
#  981|           auto &&index = q->model()->index(fileUrl);
#  982|           if (!selections.contains(index)) {

Error: COMPILER_WARNING: [#def133]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp: scope_hint: In member function ‘virtual QModelIndex ddplugin_organizer::CollectionView::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:1462:21: warning[-Wdangling-reference]: possibly dangling reference to a temporary
# 1462 |         const QUrl &url = d->provider->items(d->id).first();
#      |                     ^~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:1462:58: note: the temporary was destroyed at the end of the full expression ‘ddplugin_organizer::CollectionDataProvider::items(((ddplugin_organizer::CollectionView*)this)->ddplugin_organizer::CollectionView::d.QSharedPointer<ddplugin_organizer::CollectionViewPrivate>::operator->()->ddplugin_organizer::CollectionViewPrivate::id).QList<QUrl>::first()’
# 1462 |         const QUrl &url = d->provider->items(d->id).first();
#      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# 1460|       const QModelIndex &&current = currentIndex();
# 1461|       if (!current.isValid()) {
# 1462|->         const QUrl &url = d->provider->items(d->id).first();
# 1463|           return model()->index(url);
# 1464|       }

Error: COMPILER_WARNING: [#def134]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:1560:12: warning[-Wdangling-reference]: possibly dangling reference to a temporary
# 1560 |     auto &&afterUrl = d->provider->items(d->id).at(node);
#      |            ^~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:1560:51: note: the temporary was destroyed at the end of the full expression ‘ddplugin_organizer::CollectionDataProvider::items(((ddplugin_organizer::CollectionView*)this)->ddplugin_organizer::CollectionView::d.QSharedPointer<ddplugin_organizer::CollectionViewPrivate>::operator->()->ddplugin_organizer::CollectionViewPrivate::id).QList<QUrl>::at(node)’
# 1560 |     auto &&afterUrl = d->provider->items(d->id).at(node);
#      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# 1558|       }
# 1559|   
# 1560|->     auto &&afterUrl = d->provider->items(d->id).at(node);
# 1561|       auto &&afterIndex = model()->index(afterUrl);
# 1562|   

Error: COMPILER_WARNING (CWE-665): [#def135]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview_p.h:125:25: warning[-Wreorder]:   ‘ddplugin_organizer::CollectionViewMenu* ddplugin_organizer::CollectionViewPrivate::menuProxy’
#  125 |     CollectionViewMenu *menuProxy = nullptr;
#      |                         ^~~~~~~~~
#  123|       CanvasManagerShell *canvasManagerShell = nullptr;
#  124|       bool fileShiftable = false;
#  125|->     CollectionViewMenu *menuProxy = nullptr;
#  126|   
#  127|       QString id;

Error: COMPILER_WARNING (CWE-665): [#def136]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview_p.h: scope_hint: In constructor ‘ddplugin_organizer::CollectionViewPrivate::CollectionViewPrivate(const QString&, ddplugin_organizer::CollectionDataProvider*, ddplugin_organizer::CollectionView*, QObject*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-organizer/view/collectionview_p.h:128:38: warning[-Wreorder]: ‘ddplugin_organizer::CollectionViewPrivate::provider’ will be initialized after
#  128 |     QPointer<CollectionDataProvider> provider = nullptr;
#      |                                      ^~~~~~~~
#  126|   
#  127|       QString id;
#  128|->     QPointer<CollectionDataProvider> provider = nullptr;
#  129|   
#  130|       int space = 0;

Error: COMPILER_WARNING (CWE-477): [#def137]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.cpp: scope_hint: In member function ‘void ddplugin_wallpapersetting::WallpaperList::init()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.cpp:393:22: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  393 |     prevButton = new DImageButton(":/images/previous_normal.svg",
#      |                      ^~~~~~~~~~~~
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  391|   void WallpaperList::init()
#  392|   {
#  393|->     prevButton = new DImageButton(":/images/previous_normal.svg",
#  394|                                     ":/images/previous_hover.svg",
#  395|                                     ":/images/previous_press.svg", this);

Error: COMPILER_WARNING (CWE-477): [#def138]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.cpp:396:22: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  396 |     nextButton = new DImageButton(":/images/next_normal.svg",
#      |                      ^~~~~~~~~~~~
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  394|                                     ":/images/previous_hover.svg",
#  395|                                     ":/images/previous_press.svg", this);
#  396|->     nextButton = new DImageButton(":/images/next_normal.svg",
#  397|                                     ":/images/next_hover.svg",
#  398|                                     ":/images/next_press.svg", this);

Error: COMPILER_WARNING (CWE-477): [#def139]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.cpp:432:49: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  432 |     connect(prevButton.widget(), &DImageButton::clicked, this, &WallpaperList::prevPage);
#      |                                                 ^~~~~~~
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  430|       nextButton.setAnchor(Qt::AnchorRight, this, Qt::AnchorRight);
#  431|   
#  432|->     connect(prevButton.widget(), &DImageButton::clicked, this, &WallpaperList::prevPage);
#  433|       connect(nextButton.widget(), &DImageButton::clicked, this, &WallpaperList::nextPage);
#  434|   

Error: COMPILER_WARNING (CWE-477): [#def140]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.cpp:433:49: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  433 |     connect(nextButton.widget(), &DImageButton::clicked, this, &WallpaperList::nextPage);
#      |                                                 ^~~~~~~
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  431|   
#  432|       connect(prevButton.widget(), &DImageButton::clicked, this, &WallpaperList::prevPage);
#  433|->     connect(nextButton.widget(), &DImageButton::clicked, this, &WallpaperList::nextPage);
#  434|   
#  435|       scrollAnimation.setTargetObject(horizontalScrollBar());

Error: COMPILER_WARNING (CWE-477): [#def141]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/private/wallpapersettings_p.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/desktop/ddplugin-wallpapersetting/ddplugin-wallpapersetting_autogen/PGVKHOT7RA/moc_wallpapersettings_p.cpp:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/desktop/ddplugin-wallpapersetting/ddplugin-wallpapersetting_autogen/mocs_compilation.cpp:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.h:71:58: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   71 |     DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> prevButton = nullptr;
#      |                                                          ^~~~~~~~~~~~
/usr/include/dtk5/DWidget/DImageButton:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.h:12: included_from: Included from here.
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   69|       static const int kItemHeight;
#   70|   private:
#   71|->     DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> prevButton = nullptr;
#   72|       DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> nextButton = nullptr;
#   73|       QTimer *updateTimer = nullptr;

Error: COMPILER_WARNING (CWE-477): [#def142]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpaperlist.h:72:58: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   72 |     DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> nextButton = nullptr;
#      |                                                          ^~~~~~~~~~~~
/usr/include/dtk5/DWidget/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   70|   private:
#   71|       DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> prevButton = nullptr;
#   72|->     DTK_WIDGET_NAMESPACE::DAnchors<DTK_WIDGET_NAMESPACE::DImageButton> nextButton = nullptr;
#   73|       QTimer *updateTimer = nullptr;
#   74|       QPropertyAnimation scrollAnimation;

Error: COMPILER_WARNING (CWE-477): [#def143]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp: scope_hint: In member function ‘void ddplugin_wallpapersetting::WallpaperSettingsPrivate::initCarousel()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp:547:40: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  547 |     DPalette pal = DApplicationHelper::instance()->palette(q);
#      |                                        ^~~~~~~~
/usr/include/dtk5/DWidget/DApplicationHelper:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp:14: included_from: Included from here.
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  545|   void WallpaperSettingsPrivate::initCarousel()
#  546|   {
#  547|->     DPalette pal = DApplicationHelper::instance()->palette(q);
#  548|       QColor textColor = pal.color(QPalette::Normal, QPalette::BrightText);
#  549|   

Error: COMPILER_WARNING (CWE-477): [#def144]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp: scope_hint: In member function ‘void ddplugin_wallpapersetting::WallpaperSettingsPrivate::initScreenSaver()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wallpapersettings.cpp:638:40: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  638 |     DPalette pal = DApplicationHelper::instance()->palette(q);
#      |                                        ^~~~~~~~
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  636|       connect(lockScreenBox, &QCheckBox::toggled, screenSaverIfs, &ScreenSaverIfs::setLockScreenAtAwake);
#  637|   
#  638|->     DPalette pal = DApplicationHelper::instance()->palette(q);
#  639|       QColor textColor = pal.color(QPalette::Normal, QPalette::BrightText);
#  640|   

Error: COMPILER_WARNING (CWE-477): [#def145]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wlsetplugin.cpp: scope_hint: In member function ‘void ddplugin_wallpapersetting::EventHandle::startTreeland()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wlsetplugin.cpp:95:28: warning[-Wdeprecated-declarations]: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead
#   95 |     QProcess::startDetached("/usr/libexec/treeland-wallpaper");
#      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/QProcess:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/desktop/ddplugin-wallpapersetting/wlsetplugin.cpp:15: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
#  280 |     static bool startDetached(const QString &command);
#      |                 ^~~~~~~~~~~~~
#   93|   {
#   94|       fmInfo() << "call treeland-wallpaper";
#   95|->     QProcess::startDetached("/usr/libexec/treeland-wallpaper");
#   96|   }
#   97|   

Error: COMPILER_WARNING (CWE-477): [#def146]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘QList<QUrl> filedialog_core::FileDialog::selectedUrls() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:368:97: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  368 |     if (list.isEmpty() && (d->fileMode == QFileDialog::Directory || d->fileMode == QFileDialog::DirectoryOnly)) {
#      |                                                                                                 ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/QFileDialog:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.h:13: included_from: Included from here.
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  366|       }
#  367|   
#  368|->     if (list.isEmpty() && (d->fileMode == QFileDialog::Directory || d->fileMode == QFileDialog::DirectoryOnly)) {
#  369|           if (dfmbase::FileUtils::isLocalFile(directoryUrl()))
#  370|               list << QUrl(directoryUrl());

Error: COMPILER_WARNING (CWE-477): [#def147]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::setFileMode(QFileDialog::FileMode)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:399:37: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  399 |     if (d->fileMode == QFileDialog::DirectoryOnly
#      |                                     ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  397|           return;
#  398|   
#  399|->     if (d->fileMode == QFileDialog::DirectoryOnly
#  400|           || d->fileMode == QFileDialog::Directory) {
#  401|           // 清理只显示目录时对文件名添加的过滤条件

Error: COMPILER_WARNING (CWE-477): [#def148]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:413:23: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  413 |     case QFileDialog::DirectoryOnly:
#      |                       ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  411|           CoreEventsCaller::setEnabledSelectionModes(this, { QAbstractItemView::ExtendedSelection });
#  412|           break;
#  413|->     case QFileDialog::DirectoryOnly:
#  414|       case QFileDialog::Directory:
#  415|           // 文件名中不可能包含 '/', 此处目的是过滤掉所有文件

Error: COMPILER_WARNING (CWE-477): [#def149]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::setAcceptMode(QFileDialog::AcceptMode)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:451:34: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  451 |         setFileMode(QFileDialog::DirectoryOnly);
#      |                                  ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  449|           CoreEventsCaller::setSelectionMode(this, QAbstractItemView::SingleSelection);
#  450|           urlSchemeEnable("recent", false);
#  451|->         setFileMode(QFileDialog::DirectoryOnly);
#  452|   
#  453|           connect(statusBar()->lineEdit(), &DLineEdit::textChanged,

Error: COMPILER_WARNING (CWE-477): [#def150]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::selectNameFilterByIndex(int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:826:38: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  826 |     if ((d->fileMode == QFileDialog::DirectoryOnly || d->fileMode == QFileDialog::Directory) && QStringList("/") != newNameFilters)
#      |                                      ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  824|       // when d->fileMode == QFileDialog::DirectoryOnly or d->fileMode == QFileDialog::Directory
#  825|       // we use setNameFilters("/") to filter files (can't select file, select dir is ok)
#  826|->     if ((d->fileMode == QFileDialog::DirectoryOnly || d->fileMode == QFileDialog::Directory) && QStringList("/") != newNameFilters)
#  827|           newNameFilters = QStringList("/");
#  828|   

Error: COMPILER_WARNING (CWE-477): [#def151]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::updateAcceptButtonState()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:863:91: warning[-Wdeprecated-declarations]: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead
#  863 |     bool isDirMode = d->fileMode == QFileDialog::Directory || d->fileMode == QFileDialog::DirectoryOnly;
#      |                                                                                           ^~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qfiledialog.h:84:21: note: declared here
#   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
#      |                     ^~~~~~~~~~~~~
#  861|           return;
#  862|   
#  863|->     bool isDirMode = d->fileMode == QFileDialog::Directory || d->fileMode == QFileDialog::DirectoryOnly;
#  864|       bool dialogShowMode = d->acceptMode;
#  865|       bool isVirtual = UrlRoute::isVirtual(fileInfo->urlOf(UrlInfoType::kUrl).scheme());

Error: COMPILER_WARNING (CWE-477): [#def152]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::initConnect()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:1075:84: warning[-Wdeprecated-declarations]: ‘void QComboBox::activated(const QString&)’ is deprecated: Use textActivated() instead
# 1075 |             static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated),
#      |                                                                                    ^
/usr/include/qt5/QtWidgets/QComboBox:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dcombobox.h:10: included_from: Included from here.
/usr/include/dtk5/DWidget/DComboBox:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:27: included_from: Included from here.
/usr/include/qt5/QtWidgets/qcombobox.h:245:10: note: declared here
#  245 |     void activated(const QString &);
#      |          ^~~~~~~~~
# 1073|       connect(statusBar()->rejectButton(), &QPushButton::clicked, this, &FileDialog::onRejectButtonClicked);
# 1074|       connect(statusBar()->comboBox(),
# 1075|->             static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated),
# 1076|               this, &FileDialog::selectNameFilter);
# 1077|       connect(statusBar()->comboBox(),

Error: COMPILER_WARNING (CWE-477): [#def153]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:1078:84: warning[-Wdeprecated-declarations]: ‘void QComboBox::activated(const QString&)’ is deprecated: Use textActivated() instead
# 1078 |             static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated),
#      |                                                                                    ^
/usr/include/qt5/QtWidgets/qcombobox.h:245:10: note: declared here
#  245 |     void activated(const QString &);
#      |          ^~~~~~~~~
# 1076|               this, &FileDialog::selectNameFilter);
# 1077|       connect(statusBar()->comboBox(),
# 1078|->             static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated),
# 1079|               this, &FileDialog::selectedNameFilterChanged);
# 1080|       connect(this, &FileDialog::selectionFilesChanged, &FileDialog::updateAcceptButtonState);

Error: COMPILER_WARNING (CWE-477): [#def154]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp: scope_hint: In member function ‘void filedialog_core::FileDialog::adjustPosition(QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:1148:57: warning[-Wdeprecated-declarations]: ‘bool QDesktopWidget::isVirtualDesktop() const’ is deprecated: Use QScreen::virtualSiblings() of primary screen
# 1148 |     } else if (QApplication::desktop()->isVirtualDesktop()) {
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:37: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:69:79: note: declared here
#   69 |     QT_DEPRECATED_X("Use QScreen::virtualSiblings() of primary screen")  bool isVirtualDesktop() const;
#      |                                                                               ^~~~~~~~~~~~~~~~
# 1146|       if (w) {
# 1147|           scrn = QApplication::desktop()->screenNumber(w);
# 1148|->     } else if (QApplication::desktop()->isVirtualDesktop()) {
# 1149|           scrn = QApplication::desktop()->screenNumber(QCursor::pos());
# 1150|       } else {

Error: COMPILER_WARNING (CWE-477): [#def155]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:1149:53: warning[-Wdeprecated-declarations]: ‘int QDesktopWidget::screenNumber(const QPoint&) const’ is deprecated: Use QGuiApplication::screenAt()
# 1149 |         scrn = QApplication::desktop()->screenNumber(QCursor::pos());
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:75:60: note: declared here
#   75 |     QT_DEPRECATED_X("Use QGuiApplication::screenAt()") int screenNumber(const QPoint &) const;
#      |                                                            ^~~~~~~~~~~~
# 1147|           scrn = QApplication::desktop()->screenNumber(w);
# 1148|       } else if (QApplication::desktop()->isVirtualDesktop()) {
# 1149|->         scrn = QApplication::desktop()->screenNumber(QCursor::pos());
# 1150|       } else {
# 1151|           scrn = QApplication::desktop()->screenNumber(this);

Error: COMPILER_WARNING (CWE-477): [#def156]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog.cpp:1153:54: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
# 1153 |     desk = QApplication::desktop()->availableGeometry(scrn);
#      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
#   88 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~~~~
# 1151|           scrn = QApplication::desktop()->screenNumber(this);
# 1152|       }
# 1153|->     desk = QApplication::desktop()->availableGeometry(scrn);
# 1154|   
# 1155|       QWidgetList list = QApplication::topLevelWidgets();

Error: COMPILER_WARNING (CWE-477): [#def157]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/filedialog/filedialogplugin-core/filedialogplugin-core_autogen/DWW7M6GQBY/moc_filedialog_p.cpp:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/filedialog/filedialogplugin-core/filedialogplugin-core_autogen/mocs_compilation.cpp:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/views/filedialog_p.h:51:37: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = QDir::Filter; Zero = int QFlags<QDir::Filter>::Private::*]’ is deprecated: Use default constructor instead
#   51 |     QDir::Filters filters { nullptr };
#      |                                     ^
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/filedialogplugin_core_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filedialog/filedialogplugin-core/core.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/filedialog/filedialogplugin-core/filedialogplugin-core_autogen/EWIEGA46WW/moc_core.cpp:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/redhat-linux-build/src/plugins/filedialog/filedialogplugin-core/filedialogplugin-core_autogen/mocs_compilation.cpp:2: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#   49|       bool acceptCanOpenOnSave { false };
#   50|       QStringList nameFilters;
#   51|->     QDir::Filters filters { nullptr };
#   52|       int currentNameFilterIndex { -1 };
#   53|       QString currentInputName;

Error: COMPILER_WARNING (CWE-477): [#def158]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/controller/computercontroller.cpp: scope_hint: In member function ‘void dfmplugin_computer::ComputerController::onOpenItem(quint64, const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/controller/computercontroller.cpp:77:36: warning[-Wdeprecated-declarations]: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead
#   77 |             QProcess::startDetached(cmd);
#      |             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/qt5/QtCore/QtCore:170: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
#  280 |     static bool startDetached(const QString &command);
#      |                 ^~~~~~~~~~~~~
#   75|           } else if (suffix == SuffixInfo::kAppEntry) {
#   76|               QString cmd = info->extraProperty(ExtraPropertyName::kExecuteCommand).toString();
#   77|->             QProcess::startDetached(cmd);
#   78|           } else {
#   79|               ComputerEventCaller::sendOpenItem(winId, info->urlOf(UrlInfoType::kUrl));

Error: COMPILER_WARNING (CWE-477): [#def159]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp: scope_hint: In member function ‘void dfmplugin_computer::DevicePropertyDialog::setProgressBar(qint64, qint64, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp:162:29: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  162 |         DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#      |                             ^~~~~~~~
/usr/include/dtk5/DWidget/DApplicationHelper:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp:12: included_from: Included from here.
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  160|           DPalette palette = devicesProgressBar->palette();
#  161|           palette.setBrush(DPalette::ObviousBackground, QColor("#ededed"));
#  162|->         DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#  163|       }
#  164|   

Error: COMPILER_WARNING (CWE-477): [#def160]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp: scope_hint: In lambda function
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp:170:33: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  170 |             DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#      |                                 ^~~~~~~~
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  168|           if (type == DGuiApplicationHelper::LightType) {
#  169|               palette.setBrush(DPalette::ObviousBackground, QColor("#ededed"));
#  170|->             DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#  171|           } else {
#  172|               palette.setBrush(DPalette::ObviousBackground, QColor("#4e4e4e"));

Error: COMPILER_WARNING (CWE-477): [#def161]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/deviceproperty/devicepropertydialog.cpp:173:33: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  173 |             DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#      |                                 ^~~~~~~~
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  171|           } else {
#  172|               palette.setBrush(DPalette::ObviousBackground, QColor("#4e4e4e"));
#  173|->             DApplicationHelper::instance()->setPalette(devicesProgressBar, palette);
#  174|           }
#  175|       });

Error: COMPILER_WARNING (CWE-477): [#def162]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/events/computereventreceiver.cpp:121:41: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
#  121 |         QString devDesc = deviceID.split("/", QString::SkipEmptyParts).last();
#      |                           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
#  606 |     QStringList split(const QString &sep, SplitBehavior behavior,
#      |                 ^~~~~
#  119|           }
#  120|   
#  121|->         QString devDesc = deviceID.split("/", QString::SkipEmptyParts).last();
#  122|           if (devDesc.isEmpty() || !deviceID.startsWith("/org/freedesktop/UDisks")) {
#  123|               fmInfo() << "cannot get the device description, ignore prehandle" << url << deviceID;

Error: COMPILER_WARNING (CWE-477): [#def163]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/events/computereventreceiver.cpp: scope_hint: In static member function ‘static void dfmplugin_computer::ComputerEventReceiver::dirAccessPrehandler(quint64, const QUrl&, std::function<void()>)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/events/computereventreceiver.cpp:121:56: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#  121 |         QString devDesc = deviceID.split("/", QString::SkipEmptyParts).last();
#      |                                                        ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/dfmplugin_computer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/events/computereventreceiver.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/events/computereventreceiver.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#  119|           }
#  120|   
#  121|->         QString devDesc = deviceID.split("/", QString::SkipEmptyParts).last();
#  122|           if (devDesc.isEmpty() || !deviceID.startsWith("/org/freedesktop/UDisks")) {
#  123|               fmInfo() << "cannot get the device description, ignore prehandle" << url << deviceID;

Error: COMPILER_WARNING (CWE-563): [#def164]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/fileentity/blockentryfileentity.cpp: scope_hint: In member function ‘virtual bool dfmplugin_computer::BlockEntryFileEntity::exists() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/fileentity/blockentryfileentity.cpp:106:10: warning[-Wunused-variable]: unused variable ‘hasPartitionTable’
#  106 |     bool hasPartitionTable { qvariant_cast<bool>(datas.value(DeviceProperty::kHasPartitionTable)) };
#      |          ^~~~~~~~~~~~~~~~~
#  104|       bool isEncrypted { qvariant_cast<bool>(datas.value(DeviceProperty::kIsEncrypted)) };
#  105|       QString cryptoBackingDevice { qvariant_cast<QString>(datas.value(DeviceProperty::kCryptoBackingDevice)) };
#  106|->     bool hasPartitionTable { qvariant_cast<bool>(datas.value(DeviceProperty::kHasPartitionTable)) };
#  107|       bool hasPartition { qvariant_cast<bool>(datas.value(DeviceProperty::kHasPartition)) };
#  108|       bool hasExtendedPartition { qvariant_cast<bool>(datas.value(DeviceProperty::kHasExtendedPatition)) };

Error: COMPILER_WARNING (CWE-477): [#def165]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/utils/computerutils.cpp: scope_hint: In static member function ‘static QStringList dfmplugin_computer::ComputerUtils::allValidBlockUUIDs()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/utils/computerutils.cpp:222:115: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  222 |     const auto &allBlocks = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kNotIgnored).toSet();
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/dfmplugin_computer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/utils/computerutils.h:8: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  220|   QStringList ComputerUtils::allValidBlockUUIDs()
#  221|   {
#  222|->     const auto &allBlocks = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kNotIgnored).toSet();
#  223|       QSet<QString> uuids;
#  224|       for (const QString &devId : allBlocks) {

Error: COMPILER_WARNING (CWE-477): [#def166]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp: scope_hint: In static member function ‘static QList<QUrl> dfmplugin_computer::ComputerItemWatcher::disksHiddenByDConf()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:404:121: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  404 |     const auto &&currHiddenDisks = DConfigManager::instance()->value(kDefaultCfgPath, kKeyHideDisk).toStringList().toSet();
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/dfmplugin_computer_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.h:8: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  402|   QList<QUrl> ComputerItemWatcher::disksHiddenByDConf()
#  403|   {
#  404|->     const auto &&currHiddenDisks = DConfigManager::instance()->value(kDefaultCfgPath, kKeyHideDisk).toStringList().toSet();
#  405|       const auto &&allBlockUUIDs = ComputerUtils::allValidBlockUUIDs().toSet();
#  406|       const auto &&needToBeHidden = currHiddenDisks - (currHiddenDisks - allBlockUUIDs);   // setA ∩ setB

Error: COMPILER_WARNING (CWE-477): [#def167]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:405:75: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  405 |     const auto &&allBlockUUIDs = ComputerUtils::allValidBlockUUIDs().toSet();
#      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  403|   {
#  404|       const auto &&currHiddenDisks = DConfigManager::instance()->value(kDefaultCfgPath, kKeyHideDisk).toStringList().toSet();
#  405|->     const auto &&allBlockUUIDs = ComputerUtils::allValidBlockUUIDs().toSet();
#  406|       const auto &&needToBeHidden = currHiddenDisks - (currHiddenDisks - allBlockUUIDs);   // setA ∩ setB
#  407|       const auto &&devUrls = ComputerUtils::blkDevUrlByUUIDs(needToBeHidden.toList());

Error: COMPILER_WARNING (CWE-477): [#def168]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:407:81: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead.
#  407 |     const auto &&devUrls = ComputerUtils::blkDevUrlByUUIDs(needToBeHidden.toList());
#      |                                                            ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  405|       const auto &&allBlockUUIDs = ComputerUtils::allValidBlockUUIDs().toSet();
#  406|       const auto &&needToBeHidden = currHiddenDisks - (currHiddenDisks - allBlockUUIDs);   // setA ∩ setB
#  407|->     const auto &&devUrls = ComputerUtils::blkDevUrlByUUIDs(needToBeHidden.toList());
#  408|       return devUrls;
#  409|   }

Error: COMPILER_WARNING (CWE-477): [#def169]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp: scope_hint: In static member function ‘static QList<QUrl> dfmplugin_computer::ComputerItemWatcher::disksHiddenBySettingPanel()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:415:114: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  415 |     auto systemBlocksAndLoop = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kSystem).toSet();
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  413|       // hidden by setting panel: no system disk
#  414|       // hidden by setting panel: no loop device
#  415|->     auto systemBlocksAndLoop = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kSystem).toSet();
#  416|       auto loopOnly = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kLoop).toSet();
#  417|   

Error: COMPILER_WARNING (CWE-477): [#def170]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:416:101: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  416 |     auto loopOnly = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kLoop).toSet();
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  414|       // hidden by setting panel: no loop device
#  415|       auto systemBlocksAndLoop = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kSystem).toSet();
#  416|->     auto loopOnly = DevProxyMng->getAllBlockIds(GlobalServerDefines::DeviceQueryOption::kLoop).toSet();
#  417|   
#  418|       bool hideSys = ComputerUtils::shouldSystemPartitionHide();

Error: COMPILER_WARNING (CWE-477): [#def171]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:442:38: warning[-Wdeprecated-declarations]: ‘static QList<T> QList<T>::fromSet(const QSet<T>&) [with T = QUrl]’ is deprecated: Use QList<T>(set.begin(), set.end()) instead.
#  442 |     hiddenUrls = QList<QUrl>::fromSet(hiddenUrls.toSet());
#      |                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qset.h:422:10: note: declared here
#  422 | QList<T> QList<T>::fromSet(const QSet<T> &set)
#      |          ^~~~~~~~
#  440|       hiddenUrls += disksHiddenByDConf();
#  441|       hiddenUrls += disksHiddenBySettingPanel();
#  442|->     hiddenUrls = QList<QUrl>::fromSet(hiddenUrls.toSet());
#  443|       return hiddenUrls;
#  444|   }

Error: COMPILER_WARNING (CWE-477): [#def172]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp: scope_hint: In static member function ‘static QList<QUrl> dfmplugin_computer::ComputerItemWatcher::hiddenPartitions()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:442:55: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QUrl]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  442 |     hiddenUrls = QList<QUrl>::fromSet(hiddenUrls.toSet());
#      |                                       ~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  440|       hiddenUrls += disksHiddenByDConf();
#  441|       hiddenUrls += disksHiddenBySettingPanel();
#  442|->     hiddenUrls = QList<QUrl>::fromSet(hiddenUrls.toSet());
#  443|       return hiddenUrls;
#  444|   }

Error: COMPILER_WARNING (CWE-477): [#def173]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp: scope_hint: In member function ‘void dfmplugin_computer::ComputerItemWatcher::insertUrlMapper(const QString&, const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:579:32: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = QUrl; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  579 |         routeMapper.insertMulti(devUrl, ComputerUtils::makeBurnUrl(devId));
#      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
#  577|       // 期望挂载点和光驱虚拟目录都能被侧边栏匹配选中
#  578|       if (devId.contains(QRegularExpression("sr[0-9]*$")))
#  579|->         routeMapper.insertMulti(devUrl, ComputerUtils::makeBurnUrl(devId));
#  580|   }
#  581|   

Error: COMPILER_WARNING (CWE-477): [#def174]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp: scope_hint: In lambda function
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-computer/watcher/computeritemwatcher.cpp:636:57: warning[-Wdeprecated-declarations]: ‘QList<ValueType> QMap<K, V>::values(const Key&) const [with Key = QUrl; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  636 |             const QList<QUrl> &urls { routeMapper.values(itemUrl) };
#      |                                       ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/qt5/QtCore/qmap.h:1360:10: note: declared here
# 1360 | QList<T> QMap<Key, T>::values(const Key &key) const
#      |          ^~~~~~~~~~~~
#  634|           // 光驱的url对应挂载点和虚拟url两个值
#  635|           if (routeMapper.contains(itemUrl)) {
#  636|->             const QList<QUrl> &urls { routeMapper.values(itemUrl) };
#  637|               return std::any_of(urls.begin(), urls.end(), [&targetUrl](const QUrl &url) {
#  638|                   return DFMBASE_NAMESPACE::UniversalUtils::urlEquals(url, targetUrl);

Error: COMPILER_WARNING (CWE-477): [#def175]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.cpp: scope_hint: In member function ‘void dfmplugin_detailspace::FileBaseInfoView::basicExpand(const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.cpp:112:79: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = dfmplugin_detailspace::BasicFieldExpandEnum]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  112 |     QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/dfmplugin_detailspace_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
#  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
#      |         ^~~~~~~
#  110|       int row = 0;
#  111|       QList<BasicFieldExpandEnum> fields = fieldMap.keys();
#  112|->     QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  113|       fields = fieldset.toList();
#  114|       qSort(fields.begin(), fields.end());

Error: COMPILER_WARNING (CWE-477): [#def176]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.cpp:113:29: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = dfmplugin_detailspace::BasicFieldExpandEnum]’ is deprecated: Use values() instead.
#  113 |     fields = fieldset.toList();
#      |              ~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  111|       QList<BasicFieldExpandEnum> fields = fieldMap.keys();
#  112|       QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  113|->     fields = fieldset.toList();
#  114|       qSort(fields.begin(), fields.end());
#  115|       for (BasicFieldExpandEnum &key : fields) {

Error: COMPILER_WARNING (CWE-477): [#def177]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-detailspace/views/filebaseinfoview.cpp:114:10: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList<dfmplugin_detailspace::BasicFieldExpandEnum>::iterator]’ is deprecated: Use std::sort
#  114 |     qSort(fields.begin(), fields.end());
#      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here
#  174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end)
#      |                                              ^~~~~
#  112|       QSet<BasicFieldExpandEnum> fieldset = QSet<BasicFieldExpandEnum>::fromList(fields);
#  113|       fields = fieldset.toList();
#  114|->     qSort(fields.begin(), fields.end());
#  115|       for (BasicFieldExpandEnum &key : fields) {
#  116|           QList<KeyValueLabel *> kvls = fieldMap.values(key);

Error: COMPILER_WARNING (CWE-563): [#def178]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebaritemdelegate.cpp: scope_hint: In member function ‘void dfmplugin_sidebar::SideBarItemDelegate::drawMouseHoverExpandButton(QPainter*, const QRect&, bool) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebaritemdelegate.cpp:434:9: warning[-Wunused-but-set-variable]: variable ‘itemMargin’ set but not used
#  434 |     int itemMargin = kItemMargin;
#      |         ^~~~~~~~~~
#  432|       painter->save();
#  433|       int iconSize = kExpandIconSize;
#  434|->     int itemMargin = kItemMargin;
#  435|   #ifdef DTKWIDGET_CLASS_DSizeMode
#  436|       iconSize = DSizeModeHelper::element(kCompactExpandIconSize, kExpandIconSize);

Error: COMPILER_WARNING (CWE-477): [#def179]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebarview.cpp: scope_hint: In member function ‘virtual void dfmplugin_sidebar::SideBarView::dropEvent(QDropEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebarview.cpp:388:73: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  388 |             QString folderPath = UrlRoute::urlToPath(UrlRoute::urlParent(url));
#      |                                                      ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebarview.cpp:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  386|               }
#  387|   
#  388|->             QString folderPath = UrlRoute::urlToPath(UrlRoute::urlParent(url));
#  389|   
#  390|               bool isFolderWritable = false;

Error: COMPILER_WARNING (CWE-477): [#def180]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebarview.cpp: scope_hint: In member function ‘Qt::DropAction dfmplugin_sidebar::SideBarView::canDropMimeData(dfmplugin_sidebar::SideBarItem*, const QMimeData*, Qt::DropActions) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-sidebar/treeviews/sidebarview.cpp:646:73: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  646 |         if (UniversalUtils::urlEquals(targetItemUrl, UrlRoute::urlParent(url)))
#      |                                                      ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  644|   
#  645|       for (const QUrl &url : urls) {
#  646|->         if (UniversalUtils::urlEquals(targetItemUrl, UrlRoute::urlParent(url)))
#  647|               return Qt::IgnoreAction;
#  648|   

Error: COMPILER_WARNING (CWE-477): [#def181]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashfilehelper.cpp: scope_hint: In member function ‘bool dfmplugin_trash::TrashFileHelper::moveToTrash(quint64, QList<QUrl>, dfmbase::AbstractJobHandler::JobFlags)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashfilehelper.cpp:69:104: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#   69 |     if (!FileUtils::isTrashRootFile(sources.first()) && !FileUtils::isTrashRootFile(UrlRoute::urlParent(sources.first())))
#      |                                                                                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/utils/fileutils.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashfilehelper.cpp:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#   67|           return false;
#   68|       // trash sub dir file do not run
#   69|->     if (!FileUtils::isTrashRootFile(sources.first()) && !FileUtils::isTrashRootFile(UrlRoute::urlParent(sources.first())))
#   70|           return true;
#   71|   

Error: COMPILER_WARNING (CWE-477): [#def182]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashfilehelper.cpp: scope_hint: In member function ‘bool dfmplugin_trash::TrashFileHelper::deleteFile(quint64, QList<QUrl>, dfmbase::AbstractJobHandler::JobFlags)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashfilehelper.cpp:88:104: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#   88 |     if (!FileUtils::isTrashRootFile(sources.first()) && !FileUtils::isTrashRootFile(UrlRoute::urlParent(sources.first())))
#      |                                                                                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#   86|           return false;
#   87|       // trash sub dir file do not run
#   88|->     if (!FileUtils::isTrashRootFile(sources.first()) && !FileUtils::isTrashRootFile(UrlRoute::urlParent(sources.first())))
#   89|           return true;
#   90|   

Error: COMPILER_WARNING (CWE-477): [#def183]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp: scope_hint: In member function ‘bool dfmplugin_trash::TrashHelper::checkCanMove(const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp:237:56: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  237 |     if (!FileUtils::isTrashRootFile(UrlRoute::urlParent(url)))
#      |                                     ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/schemefactory.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  235|       if (url.scheme() != scheme())
#  236|           return false;
#  237|->     if (!FileUtils::isTrashRootFile(UrlRoute::urlParent(url)))
#  238|           return false;
#  239|   

Error: COMPILER_WARNING (CWE-477): [#def184]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/views/emptyTrashWidget.cpp: scope_hint: In constructor ‘dfmplugin_trash::EmptyTrashWidget::EmptyTrashWidget(QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/views/emptyTrashWidget.cpp:36:40: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#   36 |     DPalette pal = DApplicationHelper::instance()->palette(this);
#      |                                        ^~~~~~~~
/usr/include/dtk5/DWidget/DApplicationHelper:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-trash/views/emptyTrashWidget.cpp:8: included_from: Included from here.
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#   34|       emptyTrashButton->setToolTip(tr("Empty Trash"));
#   35|       emptyTrashButton->setFixedSize({ 86, 36 });
#   36|->     DPalette pal = DApplicationHelper::instance()->palette(this);
#   37|       QPalette buttonPalette = emptyTrashButton->palette();
#   38|       buttonPalette.setColor(QPalette::ButtonText, pal.color(DPalette::Active, DPalette::TextWarning));

Error: COMPILER_WARNING (CWE-477): [#def185]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/menus/basesortmenuscene.cpp: scope_hint: In member function ‘void dfmplugin_workspace::BaseSortMenuScenePrivate::sortMenuActions(QMenu*, const QStringList&, bool)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/menus/basesortmenuscene.cpp:45:10: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QAction*>::iterator; LessThan = dfmplugin_workspace::BaseSortMenuScenePrivate::sortMenuActions(QMenu*, const QStringList&, bool)::<lambda(QAction*, QAction*)>]’ is deprecated: Use std::sort
#   45 |     qSort(actions.begin(), actions.end(), [findIndex](QAction *act1, QAction *act2) {
#      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   46 |         const auto &property1 = act1->property(ActionID::kActionID).toString();
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   47 |         auto index1 = findIndex(property1);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   48 |         if (index1 == -1)
#      |         ~~~~~~~~~~~~~~~~~
#   49 |             return false;
#      |             ~~~~~~~~~~~~~
#   50 | 
#      |           
#   51 |         const auto &property2 = act2->property(ActionID::kActionID).toString();
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   52 |         auto index2 = findIndex(property2);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   53 |         if (index2 == -1)
#      |         ~~~~~~~~~~~~~~~~~
#   54 |             return true;
#      |             ~~~~~~~~~~~~
#   55 | 
#      |           
#   56 |         return index1 < index2;
#      |         ~~~~~~~~~~~~~~~~~~~~~~~
#   57 |     });
#      |     ~~    
/usr/include/qt5/QtCore/qdebug.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/dfmplugin_workspace_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/menus/basesortmenuscene.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/menus/basesortmenuscene.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
#  181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
#      |                                              ^~~~~
#   43|       auto actions = menu->actions();
#   44|       // sort
#   45|->     qSort(actions.begin(), actions.end(), [findIndex](QAction *act1, QAction *act2) {
#   46|           const auto &property1 = act1->property(ActionID::kActionID).toString();
#   47|           auto index1 = findIndex(property1);

Error: COMPILER_WARNING (CWE-477): [#def186]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp: scope_hint: In member function ‘bool dfmplugin_workspace::FileSortWorker::handleAddChildren(const QString&, const QList<QSharedPointer<dfmbase::SortFileInfo> >&, const QList<QSharedPointer<dfmbase::FileInfo> >&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp:746:25: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = signed char; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  746 |     depthMap.insertMulti(depth - 1, parentUrl);
#      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qdebug.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/dfmplugin_workspace_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
#  744|       visibleTreeChildren.insert(parentUrl, childUrls);
#  745|       depthMap.remove(depth - 1, parentUrl);
#  746|->     depthMap.insertMulti(depth - 1, parentUrl);
#  747|       if (newChildren.isEmpty())
#  748|           return true;

Error: COMPILER_WARNING (CWE-477): [#def187]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp: scope_hint: In member function ‘bool dfmplugin_workspace::FileSortWorker::addChild(const SortInfoPointer&, dfmbase::AbstractSortFilter::SortScenarios)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp:938:25: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = signed char; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
#  938 |     depthMap.insertMulti(depth - 1, parentUrl);
#      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
#  936|   
#  937|       depthMap.remove(depth - 1, parentUrl);
#  938|->     depthMap.insertMulti(depth - 1, parentUrl);
#  939|   
#  940|       if (!checkFilters(sortInfo, true))

Error: COMPILER_WARNING (CWE-477): [#def188]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp: scope_hint: In member function ‘void dfmplugin_workspace::FileSortWorker::switchListView()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp:1035:25: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = signed char; T = QUrl]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
# 1035 |     depthMap.insertMulti(-1, current);
#      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
# 1366 | typename QMap<Key, T>::iterator QMap<Key, T>::insertMulti(const Key &key, const T &value)
#      |                                 ^~~~~~~~~~~~
# 1033|       visibleTreeChildren.clear();
# 1034|       depthMap.clear();
# 1035|->     depthMap.insertMulti(-1, current);
# 1036|       auto oldMix = isMixDirAndFile;
# 1037|       isMixDirAndFile = Application::instance()->appAttribute(Application::kFileAndDirMixedSort).toBool();

Error: COMPILER_WARNING (CWE-477): [#def189]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp: scope_hint: In member function ‘QUrl dfmplugin_workspace::FileSortWorker::parantUrl(const QUrl&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.cpp:1607:38: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
# 1607 |     auto parent = UrlRoute::urlParent(url);
#      |                   ~~~~~~~~~~~~~~~~~~~^~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/models/fileitemdata.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/filesortworker.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
# 1605|       if (!currentSupportTreeView)
# 1606|           return current;
# 1607|->     auto parent = UrlRoute::urlParent(url);
# 1608|       if (UniversalUtils::urlEquals(current, parent) || UniversalUtils::isParentUrl(current, parent)
# 1609|           || !childData(parent).isNull())

Error: COMPILER_WARNING (CWE-477): [#def190]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/fileviewhelper.cpp: scope_hint: In member function ‘void dfmplugin_workspace::FileViewHelper::initStyleOption(QStyleOptionViewItem*, const QModelIndex&) const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/fileviewhelper.cpp:160:77: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  160 |         setcolor2(option->palette, appPalette, QPalette::Current, QPalette::Background);
#      |                                                                             ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractbaseview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/schemefactory.h:14: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  158|   
#  159|       if ((option->state & QStyle::State_HasFocus) && option->showDecorationSelected && selectedIndexsCount() > 1) {
#  160|->         setcolor2(option->palette, appPalette, QPalette::Current, QPalette::Background);
#  161|       } else {
#  162|           setcolor2(option->palette, appPalette, QPalette::Normal, QPalette::Background);

Error: COMPILER_WARNING (CWE-477): [#def191]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/fileviewhelper.cpp:162:76: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  162 |         setcolor2(option->palette, appPalette, QPalette::Normal, QPalette::Background);
#      |                                                                            ^~~~~~~~~~
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  160|           setcolor2(option->palette, appPalette, QPalette::Current, QPalette::Background);
#  161|       } else {
#  162|->         setcolor2(option->palette, appPalette, QPalette::Normal, QPalette::Background);
#  163|       }
#  164|   

Error: COMPILER_WARNING (CWE-477): [#def192]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/utils/fileviewhelper.cpp:166:107: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  166 |     option->backgroundBrush = appPalette.brush(transp ? QPalette::Inactive : QPalette::Current, QPalette::Background);
#      |                                                                                                           ^~~~~~~~~~
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  164|   
#  165|       bool transp = isTransparent(index);
#  166|->     option->backgroundBrush = appPalette.brush(transp ? QPalette::Inactive : QPalette::Current, QPalette::Background);
#  167|   
#  168|       option->textElideMode = Qt::ElideLeft;

Error: COMPILER_WARNING (CWE-477): [#def193]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp: scope_hint: In member function ‘virtual void dfmplugin_workspace::FileView::wheelEvent(QWheelEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp:499:75: warning[-Wdeprecated-declarations]: ‘Qt::Orientation QWheelEvent::orientation() const’ is deprecated: Use angleDelta()
#  499 |     } else if (event->modifiers() == Qt::AltModifier || event->orientation() == Qt::Horizontal) {
#      |                                                         ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/QResizeEvent:1: included_from: Included from here.
/usr/include/dtk5/DWidget/danchors.h:11: included_from: Included from here.
/usr/include/dtk5/DWidget/DAnchors:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/private/fileview_p.h:13: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp:7: included_from: Included from here.
/usr/include/qt5/QtGui/qevent.h:222:28: note: declared here
#  222 |     inline Qt::Orientation orientation() const { return qt4O; }
#      |                            ^~~~~~~~~~~
#  497|   #endif
#  498|           }
#  499|->     } else if (event->modifiers() == Qt::AltModifier || event->orientation() == Qt::Horizontal) {
#  500|           horizontalScrollBar()->setSliderPosition(horizontalScrollBar()->sliderPosition() - event->angleDelta().x());
#  501|       } else {

Error: COMPILER_WARNING (CWE-477): [#def194]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp: scope_hint: In member function ‘bool dfmplugin_workspace::FileView::cdUp()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp:1048:41: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
# 1048 |     QUrl parentUrl = UrlRoute::urlParent(oldCurrentUrl);
#      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/file/local/syncfileinfo.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/models/fileviewmodel.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
# 1046|   {
# 1047|       const QUrl &oldCurrentUrl = rootUrl();
# 1048|->     QUrl parentUrl = UrlRoute::urlParent(oldCurrentUrl);
# 1049|   
# 1050|       if (parentUrl.isValid()) {

Error: COMPILER_WARNING (CWE-477): [#def195]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp: scope_hint: In member function ‘virtual void dfmplugin_workspace::FileView::startDrag(Qt::DropActions)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp:1503:26: warning[-Wdeprecated-declarations]: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit()
# 1503 |                 ba.append(url.toString() + "\n");
#      |                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/dfmplugin_workspace_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/headerview.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/fileview.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:1508:20: note: declared here
# 1508 | inline QByteArray &QByteArray::append(const QString &s)
#      |                    ^~~~~~~~~~
# 1501|               QByteArray ba;
# 1502|               for (const auto &url : transformedUrls) {
# 1503|->                 ba.append(url.toString() + "\n");
# 1504|               }
# 1505|               data->setData(DFMGLOBAL_NAMESPACE::Mime::kDFMTreeUrlsKey, ba);

Error: COMPILER_WARNING (CWE-477): [#def196]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/iconitemeditor.cpp: scope_hint: In member function ‘void dfmplugin_workspace::IconItemEditor::updateStyleSheet()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/iconitemeditor.cpp:377:47: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  377 |     base = base.arg(palette().color(QPalette::Background).name(QColor::HexArgb))
#      |                                               ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
/usr/include/dtk5/DWidget/darrowrectangle.h:8: included_from: Included from here.
/usr/include/dtk5/DWidget/DArrowRectangle:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/iconitemeditor.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/iconitemeditor.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  375|   
#  376|       base.append("IconItemEditor QTextEdit {color: %3}");
#  377|->     base = base.arg(palette().color(QPalette::Background).name(QColor::HexArgb))
#  378|                      .arg(palette().color(QPalette::BrightText).name(QColor::HexArgb))
#  379|                      .arg(palette().color(QPalette::Text).name(QColor::HexArgb));

Error: COMPILER_WARNING (CWE-477): [#def197]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tab.cpp: scope_hint: In member function ‘virtual void dfmplugin_workspace::Tab::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tab.cpp:166:40: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#  166 |     DPalette pal = DApplicationHelper::instance()->palette(widget);
#      |                                        ^~~~~~~~
/usr/include/dtk5/DWidget/DApplicationHelper:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tab.cpp:18: included_from: Included from here.
/usr/include/dtk5/DWidget/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#  164|       QString str = fm.elidedText(tabName, Qt::ElideRight, d->width - 10);
#  165|   
#  166|->     DPalette pal = DApplicationHelper::instance()->palette(widget);
#  167|       QColor color;
#  168|   

Error: COMPILER_WARNING (CWE-477): [#def198]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tab.cpp:205:42: warning[-Wdeprecated-declarations]: ‘QPalette::Foreground’ is deprecated: Use QPalette::WindowText instead
#  205 |     pen.setColor(pal.color(cp, QPalette::Foreground));
#      |                                          ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractbaseview.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tab.cpp:9: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:100:22: note: declared here
#  100 |                      Foreground Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::WindowText instead") = WindowText,
#      |                      ^~~~~~~~~~
#  203|       qDrawShadeLine(painter, QPoint(x, 0), QPoint(x, y), pal);
#  204|       QPalette::ColorGroup cp = isChecked() || d->hovered ? QPalette::Active : QPalette::Inactive;
#  205|->     pen.setColor(pal.color(cp, QPalette::Foreground));
#  206|       painter->setPen(pen);
#  207|   }

Error: COMPILER_WARNING (CWE-477): [#def199]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.cpp: scope_hint: In member function ‘void dfmplugin_workspace::TabBar::onMoveNext(dfmplugin_workspace::Tab*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.cpp:281:17: warning[-Wdeprecated-declarations]: ‘void QList<T>::swap(int, int) [with T = dfmplugin_workspace::Tab*]’ is deprecated: Use QList<T>::swapItemsAt()
#  281 |     tabList.swap(tabIndex, tabIndex + 1);
#      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_base_global.h:16: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:225:10: note: declared here
#  225 |     void swap(int i, int j) { swapItemsAt(i, j); }
#      |          ^~~~
#  279|           return;
#  280|   
#  281|->     tabList.swap(tabIndex, tabIndex + 1);
#  282|   
#  283|       ++tabIndex;

Error: COMPILER_WARNING (CWE-477): [#def200]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.cpp: scope_hint: In member function ‘void dfmplugin_workspace::TabBar::onMovePrevius(dfmplugin_workspace::Tab*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/core/dfmplugin-workspace/views/tabbar.cpp:297:17: warning[-Wdeprecated-declarations]: ‘void QList<T>::swap(int, int) [with T = dfmplugin_workspace::Tab*]’ is deprecated: Use QList<T>::swapItemsAt()
#  297 |     tabList.swap(tabIndex, tabIndex - 1);
#      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qlist.h:225:10: note: declared here
#  225 |     void swap(int i, int j) { swapItemsAt(i, j); }
#      |          ^~~~
#  295|           return;
#  296|   
#  297|->     tabList.swap(tabIndex, tabIndex - 1);
#  298|   
#  299|       --tabIndex;

Error: COMPILER_WARNING (CWE-477): [#def201]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-optical/mastered/masteredmediafileinfo.cpp: scope_hint: In member function ‘QUrl dfmplugin_optical::MasteredMediaFileInfoPrivate::parentUrl() const’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-optical/mastered/masteredmediafileinfo.cpp:229:31: warning[-Wdeprecated-declarations]: ‘static QUrl dfmbase::UrlRoute::urlParent(const QUrl&)’ is deprecated: Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.
#  229 |     return UrlRoute::urlParent(q->fileUrl());
#      |            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/base/urlroute.h:65:96: note: declared here
#   65 |     [[deprecated("Use QUrl::RemoveFilename | QUrl::StripTrailingSlash instead.")]] static QUrl urlParent(const QUrl &url);
#      |                                                                                                ^~~~~~~~~
#  227|           return QUrl::fromLocalFile(QDir::homePath());
#  228|       }
#  229|->     return UrlRoute::urlParent(q->fileUrl());
#  230|   }
#  231|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/array.c: scope_hint: In function ‘darray_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/array.c:62:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
#   60|       assert (new != NULL);
#   61|   
#   62|->     new->max_items = num_items;
#   63|       new->num_items = 0;
#   64|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def203]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/btree.c: scope_hint: In function ‘btree_node_build_path’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/btree.c:307:20: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
#  305|       BTreeNode *temp = node;
#  306|       for (int32_t i = depth - 1; i >= 0 && temp; i--) {
#  307|->         parents[i] = temp->name;
#  308|           temp = temp->parent;
#  309|       }

Error: GCC_ANALYZER_WARNING (CWE-789): [#def204]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c: scope_hint: In function ‘db_location_load_from_file’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:182:14: warning[-Wanalyzer-tainted-allocation-size]: use of attacker-controlled value ‘(int)name_len + 1’ as allocation size without upper-bounds checking
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:182:14: note: stack-based allocation
#  180|   
#  181|           // read name
#  182|->         char name[name_len + 1];
#  183|           if (fread(&name, 1, name_len, fp) != name_len) {
#  184|               printf("failed to read name\n");

Error: GCC_ANALYZER_WARNING (CWE-129): [#def205]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:187:24: warning[-Wanalyzer-tainted-array-index]: use of attacker-controlled value ‘name_len’ in array lookup without bounds checking
#  185|               goto load_fail;
#  186|           }
#  187|->         name[name_len] = '\0';
#  188|   
#  189|           // read full pinyin

Error: GCC_ANALYZER_WARNING (CWE-789): [#def206]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:195:14: warning[-Wanalyzer-tainted-allocation-size]: use of attacker-controlled value ‘(int)full_py_len + 1’ as allocation size without upper-bounds checking
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:195:14: note: stack-based allocation
#  193|               goto load_fail;
#  194|           }
#  195|->         char full_py_name[full_py_len + 1];
#  196|           if (full_py_len && fread(&full_py_name, 1, full_py_len, fp) != full_py_len) {
#  197|               printf("failed to read full pinyin name\n");

Error: GCC_ANALYZER_WARNING (CWE-129): [#def207]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:200:35: warning[-Wanalyzer-tainted-array-index]: use of attacker-controlled value ‘full_py_len’ in array lookup without bounds checking
#  198|               goto load_fail;
#  199|           }
#  200|->         full_py_name[full_py_len] = '\0';
#  201|   
#  202|           // read first pinyin name

Error: GCC_ANALYZER_WARNING (CWE-789): [#def208]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:208:14: warning[-Wanalyzer-tainted-allocation-size]: use of attacker-controlled value ‘(int)first_py_len + 1’ as allocation size without upper-bounds checking
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:208:14: note: stack-based allocation
#  206|               goto load_fail;
#  207|           }
#  208|->         char first_py_name[first_py_len + 1];
#  209|           if (first_py_len && fread(&first_py_name, 1, first_py_len, fp) != first_py_len) {
#  210|               printf("failed to read first pinyin name\n");

Error: GCC_ANALYZER_WARNING (CWE-129): [#def209]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:213:37: warning[-Wanalyzer-tainted-array-index]: use of attacker-controlled value ‘first_py_len’ in array lookup without bounds checking
#  211|               goto load_fail;
#  212|           }
#  213|->         first_py_name[first_py_len] = '\0';
#  214|   
#  215|           // read is_dir

Error: COMPILER_WARNING (CWE-563): [#def210]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c: scope_hint: In function ‘db_save_location’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database.c:764:11: warning[-Wunused-variable]: unused variable ‘database_fname’
#  764 |     gchar database_fname[PATH_MAX] = "";
#      |           ^~~~~~~~~~~~~~
#  762|       //    trace ("%s\n", database_path);
#  763|   
#  764|->     gchar database_fname[PATH_MAX] = "";
#  765|       assert(0 <= snprintf(database_fname, sizeof(database_fname), "%s/database.db", save_path));
#  766|       DatabaseLocation *location = db_location_get_for_path(db, location_name);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘fsearch_search_thread’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:103:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
#  101|                   result = db_search(search, query);
#  102|               }
#  103|->             result->cb_data = query->callback_data;
#  104|               query->callback(result, query->sender);
#  105|               printf("+++++++++++++++++++++++++++++++++++++++++++query->callback\n");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘search_thread_context_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:132:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
#  130|       assert(end_pos >= start_pos);
#  131|   
#  132|->     ctx->search = search;
#  133|       ctx->queries = queries;
#  134|       ctx->num_queries = num_queries;

Error: COMPILER_WARNING (CWE-1164): [#def213]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:372:1: warning[-Wunused-function]: ‘search_wildcard_icase’ defined but not used
#  372 | search_wildcard_icase(const char *haystack, const char *needle)
#      | ^~~~~~~~~~~~~~~~~~~~~
#  370|   
#  371|   static uint32_t
#  372|-> search_wildcard_icase(const char *haystack, const char *needle)
#  373|   {
#  374|       return !fnmatch(needle, haystack, FNM_CASEFOLD) ? 1 : 0;

Error: COMPILER_WARNING (CWE-1164): [#def214]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:378:1: warning[-Wunused-function]: ‘search_wildcard’ defined but not used
#  378 | search_wildcard(const char *haystack, const char *needle)
#      | ^~~~~~~~~~~~~~~
#  376|   
#  377|   static uint32_t
#  378|-> search_wildcard(const char *haystack, const char *needle)
#  379|   {
#  380|       return !fnmatch(needle, haystack, 0) ? 1 : 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘search_query_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:422:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/fsearch_thread_pool.h:23: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.h:24: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:30: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘search_query_new’
#  420|       assert(new != NULL);
#  421|   
#  422|->     new->query = g_strdup(query);
#  423|       new->query_len = strlen(query);
#  424|       new->has_uppercase = fs_str_has_upper(query);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def216]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:423:22: warning[-Wanalyzer-null-argument]: use of NULL ‘query’ where non-null expected
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘search_query_new’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  421|   
#  422|       new->query = g_strdup(query);
#  423|->     new->query_len = strlen(query);
#  424|       new->has_uppercase = fs_str_has_upper(query);
#  425|       new->has_separator = strchr(query, '/') ? 1 : 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘build_queries’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:458:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘queries’
#  456|   
#  457|       search_query_t **queries = calloc(2, sizeof(search_query_t *));
#  458|->     queries[0] = search_query_new(tmp_query_copy, search->match_case);
#  459|       queries[1] = NULL;
#  460|       g_free(tmp_query_copy);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘db_search_empty’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:501:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result_ctx’
#  499|       DatabaseSearchResult *result_ctx = calloc(1, sizeof(DatabaseSearchResult));
#  500|       assert(result_ctx != NULL);
#  501|->     result_ctx->results = results;
#  502|       result_ctx->num_folders = num_folders;
#  503|       result_ctx->num_files = num_files;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘db_search’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:515:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result_ctx’
#  513|           DatabaseSearchResult *result_ctx = calloc(1, sizeof(DatabaseSearchResult));
#  514|           result_ctx->results = 0;
#  515|->         result_ctx->num_folders = 0;
#  516|           result_ctx->num_files = 0;
#  517|           return result_ctx;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:609:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
#  607|           queries[i] = NULL;
#  608|       }
#  609|->     free(queries);
#  610|       queries = NULL;
#  611|       DatabaseSearchResult *result_ctx = calloc(1, sizeof(DatabaseSearchResult));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:613:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result_ctx’
#  611|       DatabaseSearchResult *result_ctx = calloc(1, sizeof(DatabaseSearchResult));
#  612|       assert(result_ctx != NULL);
#  613|->     result_ctx->results = results;
#  614|       result_ctx->num_folders = num_folders;
#  615|       result_ctx->num_files = num_files;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘db_search_entry_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:691:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
#  689|       assert(entry != NULL);
#  690|   
#  691|->     entry->node = node;
#  692|       entry->pos = pos;
#  693|       return entry;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c: scope_hint: In function ‘db_search_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/database_search.c:702:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘db_search’
#  700|       assert(db_search != NULL);
#  701|   
#  702|->     db_search->pool = pool;
#  703|       db_search->search_thread_started = false;
#  704|       g_mutex_init(&db_search->query_mutex);

Error: COMPILER_WARNING (CWE-1164): [#def224]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/fsearch.c:97:1: warning[-Wunused-function]: ‘prepare_windows_for_db_update’ defined but not used
#   97 | prepare_windows_for_db_update(FsearchApplication *app)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   95|   
#   96|   static void
#   97|-> prepare_windows_for_db_update(FsearchApplication *app)
#   98|   {
#   99|       return;

Error: COMPILER_WARNING: [#def225]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/fsearch_pinyin.c: scope_hint: In function ‘convert_all_pinyin’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/fsearch_pinyin.c:116:21: warning[-Wstringop-truncation]: ‘strncat’ output may be truncated copying 1 byte from a string of length 6
#  116 |                     strncat(first, buf, 1);   // append the first char of word
#      |                     ^
#  114|                       strncpy(buf, basic_dict + offset, MAX_PINYIN_LEN);
#  115|                       right_trim(buf);   //remove white spaces at the end
#  116|->                     strncat(first, buf, 1);   // append the first char of word
#  117|                       strcat(full, buf);   // append the full word
#  118|                       words += 3;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/query.c: scope_hint: In function ‘fsearch_query_new’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/query.c:38:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘q’
#   36|       assert (q != NULL);
#   37|       if (query) {
#   38|->         q->query = strdup (query);
#   39|       }
#   40|       q->callback = callback;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/3rdparty/fsearch/query.c:40:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘q’
#   38|           q->query = strdup (query);
#   39|       }
#   40|->     q->callback = callback;
#   41|       q->callback_data = callback_data;
#   42|       q->sender = sender;

Error: COMPILER_WARNING (CWE-477): [#def228]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp: scope_hint: In member function ‘void dfmplugin_search::FullTextSearcherPrivate::tryNotify()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp:224:34: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  224 |     int cur = notifyTimer.elapsed();
#      |               ~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/QTime:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher_p.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp:6: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  222|   void FullTextSearcherPrivate::tryNotify()
#  223|   {
#  224|->     int cur = notifyTimer.elapsed();
#  225|       if (q->hasItem() && (cur - lastEmit) > kEmitInterval) {
#  226|           lastEmit = cur;

Error: COMPILER_WARNING (CWE-477): [#def229]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp: scope_hint: In member function ‘bool dfmplugin_search::FullTextSearcherPrivate::createIndex(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp:271:20: warning[-Wdeprecated-declarations]: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead
#  271 |         timer.start();
#      |         ~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here
#  235 |     QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
#      |                                                       ^~~~~
#  269|           // record spending
#  270|           QTime timer;
#  271|->         timer.start();
#  272|           IndexWriterPtr writer = newIndexWriter(true);
#  273|           fmInfo() << "Indexing to directory: " << indexStorePath();

Error: COMPILER_WARNING (CWE-477): [#def230]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp:280:63: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#  280 |         fmInfo() << "create index spending: " << timer.elapsed();
#      |                                                  ~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#  278|           writer->close();
#  279|   
#  280|->         fmInfo() << "create index spending: " << timer.elapsed();
#  281|           return true;
#  282|       } catch (const LuceneException &e) {

Error: COMPILER_WARNING (CWE-477): [#def231]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp: scope_hint: In member function ‘bool dfmplugin_search::FullTextSearcherPrivate::doSearch(const QString&, const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp:322:22: warning[-Wdeprecated-declarations]: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead
#  322 |     notifyTimer.start();
#      |     ~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here
#  235 |     QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
#      |                                                       ^~~~~
#  320|   {
#  321|       fmInfo() << "search path: " << path << " keyword: " << keyword;
#  322|->     notifyTimer.start();
#  323|   
#  324|       bool hasTransform = false;

Error: COMPILER_WARNING (CWE-477): [#def232]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.cpp: scope_hint: In member function ‘virtual bool dfmplugin_search::IteratorSearcher::search()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.cpp:32:22: warning[-Wdeprecated-declarations]: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead
#   32 |     notifyTimer.start();
#      |     ~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/QTime:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here
#  235 |     QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
#      |                                                       ^~~~~
#   30|           return false;
#   31|   
#   32|->     notifyTimer.start();
#   33|       // 遍历搜索
#   34|       doSearch();

Error: COMPILER_WARNING (CWE-477): [#def233]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.cpp: scope_hint: In member function ‘void dfmplugin_search::IteratorSearcher::tryNotify()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/iterator/iteratorsearcher.cpp:65:34: warning[-Wdeprecated-declarations]: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead
#   65 |     int cur = notifyTimer.elapsed();
#      |               ~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here
#  237 |     QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
#      |                                                      ^~~~~~~
#   63|   void IteratorSearcher::tryNotify()
#   64|   {
#   65|->     int cur = notifyTimer.elapsed();
#   66|       if (hasItem() && (cur - lastEmit) > kEmitInterval) {
#   67|           lastEmit = cur;

Error: COMPILER_WARNING (CWE-477): [#def234]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp: scope_hint: In member function ‘void dfmplugin_search::AdvanceSearchBarPrivate::updateBackgroundColor()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:305:32: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#  305 |     palette.setColor(QPalette::Background, bgColor);
#      |                                ^~~~~~~~~~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/qframe.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QFrame:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dboxwidget.h:12: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#  303|           bgColor.setRgb(40, 40, 40);
#  304|   
#  305|->     palette.setColor(QPalette::Background, bgColor);
#  306|       q->setPalette(palette);
#  307|   }

Error: COMPILER_WARNING (CWE-477): [#def235]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp: scope_hint: In lambda function
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:409:44: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  409 |                 startTime = QDateTime(today);
#      |                                            ^
/usr/include/qt5/QtCore/qcborvalue.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
/usr/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/abstractfileinfo.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/interfaces/fileinfo.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar_p.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:6: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  407|               switch (dateRange) {
#  408|               case 1:
#  409|->                 startTime = QDateTime(today);
#  410|                   endTime = QDateTime(tomorrow);
#  411|                   break;

Error: COMPILER_WARNING (CWE-477): [#def236]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:410:45: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  410 |                 endTime = QDateTime(tomorrow);
#      |                                             ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  408|               case 1:
#  409|                   startTime = QDateTime(today);
#  410|->                 endTime = QDateTime(tomorrow);
#  411|                   break;
#  412|               case 2:

Error: COMPILER_WARNING (CWE-477): [#def237]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:413:44: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  413 |                 startTime = QDateTime(today).addDays(-1);
#      |                                            ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  411|                   break;
#  412|               case 2:
#  413|->                 startTime = QDateTime(today).addDays(-1);
#  414|                   endTime = QDateTime(today);
#  415|                   break;

Error: COMPILER_WARNING (CWE-477): [#def238]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:414:42: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  414 |                 endTime = QDateTime(today);
#      |                                          ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  412|               case 2:
#  413|                   startTime = QDateTime(today).addDays(-1);
#  414|->                 endTime = QDateTime(today);
#  415|                   break;
#  416|               case 7:

Error: COMPILER_WARNING (CWE-477): [#def239]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:417:44: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  417 |                 startTime = QDateTime(today).addDays(0 - dayDist);
#      |                                            ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  415|                   break;
#  416|               case 7:
#  417|->                 startTime = QDateTime(today).addDays(0 - dayDist);
#  418|                   endTime = QDateTime(tomorrow);
#  419|                   break;

Error: COMPILER_WARNING (CWE-477): [#def240]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:418:45: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  418 |                 endTime = QDateTime(tomorrow);
#      |                                             ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  416|               case 7:
#  417|                   startTime = QDateTime(today).addDays(0 - dayDist);
#  418|->                 endTime = QDateTime(tomorrow);
#  419|                   break;
#  420|               case 14:

Error: COMPILER_WARNING (CWE-477): [#def241]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:421:44: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  421 |                 startTime = QDateTime(today).addDays(-7 - dayDist);
#      |                                            ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  419|                   break;
#  420|               case 14:
#  421|->                 startTime = QDateTime(today).addDays(-7 - dayDist);
#  422|                   endTime = QDateTime(today).addDays(0 - dayDist);
#  423|                   break;

Error: COMPILER_WARNING (CWE-477): [#def242]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:422:42: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  422 |                 endTime = QDateTime(today).addDays(0 - dayDist);
#      |                                          ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  420|               case 14:
#  421|                   startTime = QDateTime(today).addDays(-7 - dayDist);
#  422|->                 endTime = QDateTime(today).addDays(0 - dayDist);
#  423|                   break;
#  424|               case 30:

Error: COMPILER_WARNING (CWE-477): [#def243]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:425:76: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  425 |                 startTime = QDateTime(QDate(today.year(), today.month(), 1));
#      |                                                                            ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  423|                   break;
#  424|               case 30:
#  425|->                 startTime = QDateTime(QDate(today.year(), today.month(), 1));
#  426|                   endTime = QDateTime(tomorrow);
#  427|                   break;

Error: COMPILER_WARNING (CWE-477): [#def244]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:426:45: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  426 |                 endTime = QDateTime(tomorrow);
#      |                                             ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  424|               case 30:
#  425|                   startTime = QDateTime(QDate(today.year(), today.month(), 1));
#  426|->                 endTime = QDateTime(tomorrow);
#  427|                   break;
#  428|               case 60:

Error: COMPILER_WARNING (CWE-477): [#def245]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:429:76: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  429 |                 startTime = QDateTime(QDate(today.year(), today.month(), 1)).addMonths(-1);
#      |                                                                            ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  427|                   break;
#  428|               case 60:
#  429|->                 startTime = QDateTime(QDate(today.year(), today.month(), 1)).addMonths(-1);
#  430|                   endTime = QDateTime(QDate(today.year(), today.month(), 1));
#  431|                   break;

Error: COMPILER_WARNING (CWE-477): [#def246]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:430:74: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  430 |                 endTime = QDateTime(QDate(today.year(), today.month(), 1));
#      |                                                                          ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  428|               case 60:
#  429|                   startTime = QDateTime(QDate(today.year(), today.month(), 1)).addMonths(-1);
#  430|->                 endTime = QDateTime(QDate(today.year(), today.month(), 1));
#  431|                   break;
#  432|               case 365:

Error: COMPILER_WARNING (CWE-477): [#def247]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:433:64: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  433 |                 startTime = QDateTime(QDate(today.year(), 1, 1));
#      |                                                                ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  431|                   break;
#  432|               case 365:
#  433|->                 startTime = QDateTime(QDate(today.year(), 1, 1));
#  434|                   endTime = QDateTime(tomorrow);
#  435|                   break;

Error: COMPILER_WARNING (CWE-477): [#def248]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:434:45: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  434 |                 endTime = QDateTime(tomorrow);
#      |                                             ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  432|               case 365:
#  433|                   startTime = QDateTime(QDate(today.year(), 1, 1));
#  434|->                 endTime = QDateTime(tomorrow);
#  435|                   break;
#  436|               case 730:

Error: COMPILER_WARNING (CWE-477): [#def249]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:437:64: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  437 |                 startTime = QDateTime(QDate(today.year(), 1, 1)).addYears(-1);
#      |                                                                ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  435|                   break;
#  436|               case 730:
#  437|->                 startTime = QDateTime(QDate(today.year(), 1, 1)).addYears(-1);
#  438|                   endTime = QDateTime(QDate(today.year(), 1, 1));
#  439|                   break;

Error: COMPILER_WARNING (CWE-477): [#def250]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/topwidget/advancesearchbar.cpp:438:62: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
#  438 |                 endTime = QDateTime(QDate(today.year(), 1, 1));
#      |                                                              ^
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
#  298 |     QT_DEPRECATED_X("Use QDate::startOfDay()") explicit QDateTime(const QDate &);
#      |                                                         ^~~~~~~~~
#  436|               case 730:
#  437|                   startTime = QDateTime(QDate(today.year(), 1, 1)).addYears(-1);
#  438|->                 endTime = QDateTime(QDate(today.year(), 1, 1));
#  439|                   break;
#  440|               default:

Error: COMPILER_WARNING (CWE-569): [#def251]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/watcher/searchfilewatcher.cpp: scope_hint: In member function ‘virtual bool dfmplugin_search::SearchFileWatcherPrivate::start()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-search/watcher/searchfilewatcher.cpp:27:22: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#   27 |     return started = ok;
#      |                      ^~
#   25|                             });
#   26|   
#   27|->     return started = ok;
#   28|   }
#   29|   

Error: COMPILER_WARNING (CWE-665): [#def252]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/fileutils/private/vaultfileiteratorprivate.cpp:17:1: warning[-Wreorder]:   when initialized here
#   17 | VaultFileIteratorPrivate::VaultFileIteratorPrivate(const QUrl &url,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~
#   15|   using namespace dfmplugin_vault;
#   16|   
#   17|-> VaultFileIteratorPrivate::VaultFileIteratorPrivate(const QUrl &url,
#   18|                                                      const QStringList &nameFilters,
#   19|                                                      QDir::Filters filters,

Error: COMPILER_WARNING (CWE-665): [#def253]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/fileutils/private/vaultfileiteratorprivate.h:36:19: warning[-Wreorder]:   ‘QDir::Filters dfmplugin_vault::VaultFileIteratorPrivate::curFilters’
#   36 |     QDir::Filters curFilters;   // 文件的当前的过滤flags
#      |                   ^~~~~~~~~~
#   34|       QSharedPointer<dfmio::DEnumerator> dfmioDirIterator = nullptr;   // dfmio的文件迭代器
#   35|       QUrl currentUrl;   // 当前迭代器所在位置文件的url
#   36|->     QDir::Filters curFilters;   // 文件的当前的过滤flags
#   37|       bool isCurrent = false;   // 用来判断当前是否使用了一次next
#   38|       VaultFileIterator *const q;

Error: COMPILER_WARNING (CWE-665): [#def254]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/fileutils/private/vaultfileiteratorprivate.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/fileutils/private/vaultfileiteratorprivate.h: scope_hint: In constructor ‘dfmplugin_vault::VaultFileIteratorPrivate::VaultFileIteratorPrivate(const QUrl&, const QStringList&, QDir::Filters, QDirIterator::IteratorFlags, dfmplugin_vault::VaultFileIterator*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/fileutils/private/vaultfileiteratorprivate.h:38:30: warning[-Wreorder]: ‘dfmplugin_vault::VaultFileIteratorPrivate::q’ will be initialized after
#   38 |     VaultFileIterator *const q;
#      |                              ^
#   36|       QDir::Filters curFilters;   // 文件的当前的过滤flags
#   37|       bool isCurrent = false;   // 用来判断当前是否使用了一次next
#   38|->     VaultFileIterator *const q;
#   39|   };
#   40|   

Error: COMPILER_WARNING (CWE-477): [#def255]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp: scope_hint: In member function ‘bool dfmplugin_vault::OperatorCenter::runCmd(const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:52:18: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#   52 |     process.start(cmd);
#      |     ~~~~~~~~~~~~~^~~~~
/usr/include/qt5/QtCore/QProcess:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:22: included_from: Included from here.
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#   50|           mescs = -1;
#   51|       }
#   52|->     process.start(cmd);
#   53|   
#   54|       bool res = process.waitForFinished(mescs);

Error: COMPILER_WARNING (CWE-477): [#def256]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp: scope_hint: In member function ‘QString dfmplugin_vault::OperatorCenter::autoGeneratePassword(int)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:545:11: warning[-Wdeprecated-declarations]: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead
#  545 |     qsrand(uint(QTime(0, 0, 0).secsTo(QTime::currentTime())));
#      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qloggingcategory.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/dfmplugin_vault_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qglobal.h:1281:81: note: declared here
# 1281 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
#      |                                                                                 ^~~~~~
#  543|   {
#  544|       if (length < 3) return "";
#  545|->     qsrand(uint(QTime(0, 0, 0).secsTo(QTime::currentTime())));
#  546|   
#  547|       QString strPassword("");

Error: COMPILER_WARNING (CWE-477): [#def257]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:550:35: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
#  550 |     strPassword += strNum.at(qrand() % 10);
#      |                              ~~~~~^~
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
# 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
#      |                                                                                ^~~~~
#  548|   
#  549|       QString strNum("0123456789");
#  550|->     strPassword += strNum.at(qrand() % 10);
#  551|   
#  552|       QString strSpecialChar("`~!@#$%^&*");

Error: COMPILER_WARNING (CWE-477): [#def258]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:553:43: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
#  553 |     strPassword += strSpecialChar.at(qrand() % 10);
#      |                                      ~~~~~^~
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
# 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
#      |                                                                                ^~~~~
#  551|   
#  552|       QString strSpecialChar("`~!@#$%^&*");
#  553|->     strPassword += strSpecialChar.at(qrand() % 10);
#  554|   
#  555|       QString strABC("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");

Error: COMPILER_WARNING (CWE-477): [#def259]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:556:35: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
#  556 |     strPassword += strABC.at(qrand() % 10);
#      |                              ~~~~~^~
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
# 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
#      |                                                                                ^~~~~
#  554|   
#  555|       QString strABC("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
#  556|->     strPassword += strABC.at(qrand() % 10);
#  557|   
#  558|       QString strAllChar = strNum + strSpecialChar + strABC;

Error: COMPILER_WARNING (CWE-477): [#def260]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/encryption/operatorcenter.cpp:561:43: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
#  561 |         strPassword += strAllChar.at(qrand() % 52);
#      |                                      ~~~~~^~
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
# 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
#      |                                                                                ^~~~~
#  559|       int nCount = length - 3;
#  560|       for (int i = 0; i < nCount; ++i) {
#  561|->         strPassword += strAllChar.at(qrand() % 52);
#  562|       }
#  563|       return strPassword;

Error: COMPILER_WARNING (CWE-477): [#def261]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/fileencrypthandle.cpp:505:26: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
#  505 |     result = output.split('\n', QString::SkipEmptyParts);
#      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
#  612 |     QStringList split(QChar sep, SplitBehavior behavior,
#      |                 ^~~~~
#  503|       process.waitForFinished();
#  504|       QString output = QString::fromLocal8Bit(process.readAllStandardError());
#  505|->     result = output.split('\n', QString::SkipEmptyParts);
#  506|   
#  507|       return result;

Error: COMPILER_WARNING (CWE-477): [#def262]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/fileencrypthandle.cpp: scope_hint: In member function ‘QStringList dfmplugin_vault::FileEncryptHandlerPrivate::algoNameOfSupport()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/fileencrypthandle.cpp:505:42: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
#  505 |     result = output.split('\n', QString::SkipEmptyParts);
#      |                                          ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/dfmplugin_vault_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/fileencrypthandle.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/fileencrypthandle.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
#  602 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
#      |         ^~~~~~~~~~~~~~
#  503|       process.waitForFinished();
#  504|       QString output = QString::fromLocal8Bit(process.readAllStandardError());
#  505|->     result = output.split('\n', QString::SkipEmptyParts);
#  506|   
#  507|       return result;

Error: COMPILER_WARNING (CWE-477): [#def263]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp: scope_hint: In static member function ‘static bool dfmplugin_vault::rsam::createPublicAndPrivateKey(QString&, QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:18:24: warning[-Wdeprecated-declarations]: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0
#   18 |     RSA *pRsa = RSA_new();
#      |                 ~~~~~~~^~
/usr/include/openssl/x509.h:36: included_from: Included from here.
/usr/include/openssl/pem.h:23: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:9: included_from: Included from here.
/usr/include/openssl/rsa.h:212:28: note: declared here
#  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
#      |                            ^~~~~~~
#   16|   {
#   17|       // 创建rsa对象
#   18|->     RSA *pRsa = RSA_new();
#   19|       BIGNUM *pNum = BN_new();
#   20|       BN_set_word(pNum, RSA_F4);

Error: COMPILER_WARNING (CWE-477): [#def264]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:21:35: warning[-Wdeprecated-declarations]: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0
#   21 |     int nRet = RSA_generate_key_ex(pRsa, kKeyLength, pNum, nullptr);
#      |                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:271:27: note: declared here
#  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
#      |                           ^~~~~~~~~~~~~~~~~~~
#   19|       BIGNUM *pNum = BN_new();
#   20|       BN_set_word(pNum, RSA_F4);
#   21|->     int nRet = RSA_generate_key_ex(pRsa, kKeyLength, pNum, nullptr);
#   22|       if (nRet != 1) {
#   23|           fmCritical() << "Vault: the function of RSA_generate_key_ex run failed!";

Error: COMPILER_WARNING (CWE-477): [#def265]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:29:32: warning[-Wdeprecated-declarations]: ‘int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0
#   29 |     PEM_write_bio_RSAPrivateKey(pPrivateBio, pRsa, nullptr, nullptr, 0, nullptr, nullptr);
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:451:1: note: declared here
#  451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
#      | ^~~~~~~~~~~~~~~~~~~~~~
#   27|       // 创建私钥对象
#   28|       BIO *pPrivateBio = BIO_new(BIO_s_mem());
#   29|->     PEM_write_bio_RSAPrivateKey(pPrivateBio, pRsa, nullptr, nullptr, 0, nullptr, nullptr);
#   30|   
#   31|       // 创建公钥对象

Error: COMPILER_WARNING (CWE-477): [#def266]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:33:31: warning[-Wdeprecated-declarations]: ‘int PEM_write_bio_RSAPublicKey(BIO*, const RSA*)’ is deprecated: Since OpenSSL 3.0
#   33 |     PEM_write_bio_RSAPublicKey(pPublicBio, pRsa);
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:452:1: note: declared here
#  452 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
#      | ^~~~~~~~~~~~~~~~~~~
#   31|       // 创建公钥对象
#   32|       BIO *pPublicBio = BIO_new(BIO_s_mem());
#   33|->     PEM_write_bio_RSAPublicKey(pPublicBio, pRsa);
#   34|   
#   35|       // 获得私钥长度

Error: COMPILER_WARNING (CWE-477): [#def267]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:53:13: warning[-Wdeprecated-declarations]: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0
#   53 |     RSA_free(pRsa);
#      |     ~~~~~~~~^~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
#  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
#      |                            ^~~~~~~~
#   51|   
#   52|       // 销毁对象
#   53|->     RSA_free(pRsa);
#   54|       BN_free(pNum);
#   55|       BIO_free_all(pPrivateBio);

Error: COMPILER_WARNING (CWE-477): [#def268]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp: scope_hint: In static member function ‘static QString dfmplugin_vault::rsam::privateKeyEncrypt(const QString&, const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:75:24: warning[-Wdeprecated-declarations]: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0
#   75 |     RSA *pRsa = RSA_new();
#      |                 ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
#  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
#      |                            ^~~~~~~
#   73|       }
#   74|   
#   75|->     RSA *pRsa = RSA_new();
#   76|       pRsa = PEM_read_bio_RSAPrivateKey(pPrivateKeyBio, &pRsa, nullptr, nullptr);
#   77|       if (pRsa == nullptr) {

Error: COMPILER_WARNING (CWE-477): [#def269]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:76:38: warning[-Wdeprecated-declarations]: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0
#   76 |     pRsa = PEM_read_bio_RSAPrivateKey(pPrivateKeyBio, &pRsa, nullptr, nullptr);
#      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:451:1: note: declared here
#  451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
#      | ^~~~~~~~~~~~~~~~~~~~~~
#   74|   
#   75|       RSA *pRsa = RSA_new();
#   76|->     pRsa = PEM_read_bio_RSAPrivateKey(pPrivateKeyBio, &pRsa, nullptr, nullptr);
#   77|       if (pRsa == nullptr) {
#   78|           BIO_free_all(pPrivateKeyBio);

Error: COMPILER_WARNING (CWE-477): [#def270]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:83:27: warning[-Wdeprecated-declarations]: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0
#   83 |     int nLength = RSA_size(pRsa);
#      |                   ~~~~~~~~^~~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
#  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
#      |                           ^~~~~~~~
#   81|       }
#   82|   
#   83|->     int nLength = RSA_size(pRsa);
#   84|       char *strCiphertext = new char[nLength];
#   85|       memset(strCiphertext, 0, size_t(nLength));

Error: COMPILER_WARNING (CWE-477): [#def271]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:89:36: warning[-Wdeprecated-declarations]: ‘int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0
#   89 |     int nSize = RSA_private_encrypt(npasswordLen,
#      |                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
#   90 |                                     pPasswordData,
#      |                                     ~~~~~~~~~~~~~~
#   91 |                                     reinterpret_cast<uchar *>(strCiphertext),
#      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   92 |                                     pRsa,
#      |                                     ~~~~~
#   93 |                                     RSA_PKCS1_PADDING);
#      |                                     ~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:296:5: note: declared here
#  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
#      |     ^~~~~~~~~~~~~~~~~~~
#   87|       int npasswordLen = passwordArry.length();
#   88|       uchar *pPasswordData = reinterpret_cast<uchar *>(passwordArry.data());
#   89|->     int nSize = RSA_private_encrypt(npasswordLen,
#   90|                                       pPasswordData,
#   91|                                       reinterpret_cast<uchar *>(strCiphertext),

Error: COMPILER_WARNING (CWE-477): [#def272]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:104:13: warning[-Wdeprecated-declarations]: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0
#  104 |     RSA_free(pRsa);
#      |     ~~~~~~~~^~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
#  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
#      |                            ^~~~~~~~
#  102|       delete[] strCiphertext;
#  103|       BIO_free_all(pPrivateKeyBio);
#  104|->     RSA_free(pRsa);
#  105|   
#  106|       return qstrCiphertext;

Error: COMPILER_WARNING (CWE-477): [#def273]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp: scope_hint: In static member function ‘static QString dfmplugin_vault::rsam::publicKeyDecrypt(const QString&, const QString&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:120:24: warning[-Wdeprecated-declarations]: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0
#  120 |     RSA *pRsa = RSA_new();
#      |                 ~~~~~~~^~
/usr/include/openssl/rsa.h:212:28: note: declared here
#  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
#      |                            ^~~~~~~
#  118|       }
#  119|   
#  120|->     RSA *pRsa = RSA_new();
#  121|       if (publicKey.contains(kKeyBegin)) {
#  122|           pRsa = PEM_read_bio_RSAPublicKey(pPublicKeyBio, &pRsa, nullptr, nullptr);

Error: COMPILER_WARNING (CWE-477): [#def274]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:122:41: warning[-Wdeprecated-declarations]: ‘RSA* PEM_read_bio_RSAPublicKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0
#  122 |         pRsa = PEM_read_bio_RSAPublicKey(pPublicKeyBio, &pRsa, nullptr, nullptr);
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:452:1: note: declared here
#  452 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
#      | ^~~~~~~~~~~~~~~~~~~
#  120|       RSA *pRsa = RSA_new();
#  121|       if (publicKey.contains(kKeyBegin)) {
#  122|->         pRsa = PEM_read_bio_RSAPublicKey(pPublicKeyBio, &pRsa, nullptr, nullptr);
#  123|       } else {
#  124|           pRsa = PEM_read_bio_RSA_PUBKEY(pPublicKeyBio, &pRsa, nullptr, nullptr);

Error: COMPILER_WARNING (CWE-477): [#def275]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:124:39: warning[-Wdeprecated-declarations]: ‘RSA* PEM_read_bio_RSA_PUBKEY(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0
#  124 |         pRsa = PEM_read_bio_RSA_PUBKEY(pPublicKeyBio, &pRsa, nullptr, nullptr);
#      |                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:453:1: note: declared here
#  453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
#      | ^~~~~~~~~~~~~~~~~~~
#  122|           pRsa = PEM_read_bio_RSAPublicKey(pPublicKeyBio, &pRsa, nullptr, nullptr);
#  123|       } else {
#  124|->         pRsa = PEM_read_bio_RSA_PUBKEY(pPublicKeyBio, &pRsa, nullptr, nullptr);
#  125|       }
#  126|   

Error: COMPILER_WARNING (CWE-477): [#def276]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:132:24: warning[-Wdeprecated-declarations]: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0
#  132 |     int nLen = RSA_size(pRsa);
#      |                ~~~~~~~~^~~~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
#  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
#      |                           ^~~~~~~~
#  130|       }
#  131|   
#  132|->     int nLen = RSA_size(pRsa);
#  133|       char *passwordBuf = new char[nLen];
#  134|       memset(passwordBuf, 0, size_t(nLen));

Error: COMPILER_WARNING (CWE-477): [#def277]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:141:35: warning[-Wdeprecated-declarations]: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0
#  141 |     int nSize = RSA_public_decrypt(nCiphertextLen,
#      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#  142 |                                    pCiphertextData,
#      |                                    ~~~~~~~~~~~~~~~~
#  143 |                                    reinterpret_cast<uchar *>(passwordBuf),
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  144 |                                    pRsa,
#      |                                    ~~~~~
#  145 |                                    RSA_PKCS1_PADDING);
#      |                                    ~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:299:5: note: declared here
#  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
#      |     ^~~~~~~~~~~~~~~~~~
#  139|       int nCiphertextLen = ciphertextArry.length();
#  140|       uchar *pCiphertextData = reinterpret_cast<uchar *>(ciphertextArry.data());
#  141|->     int nSize = RSA_public_decrypt(nCiphertextLen,
#  142|                                      pCiphertextData,
#  143|                                      reinterpret_cast<uchar *>(passwordBuf),

Error: COMPILER_WARNING (CWE-477): [#def278]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/utils/operator/rsam.cpp:154:13: warning[-Wdeprecated-declarations]: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0
#  154 |     RSA_free(pRsa);
#      |     ~~~~~~~~^~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
#  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
#      |                            ^~~~~~~~
#  152|       delete[] passwordBuf;
#  153|       BIO_free_all(pPublicKeyBio);
#  154|->     RSA_free(pRsa);
#  155|   
#  156|       return qstrPassword;

Error: COMPILER_WARNING (CWE-477): [#def279]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/createvaultview/vaultactivesavekeyfileview.cpp: scope_hint: In member function ‘virtual bool dfmplugin_vault::VaultActiveSaveKeyFileView::eventFilter(QObject*, QEvent*)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/createvaultview/vaultactivesavekeyfileview.cpp:276:44: warning[-Wdeprecated-declarations]: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead
#  276 |         painter.setBrush(palette.background());
#      |                          ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractbutton.h:46: included_from: Included from here.
/usr/include/qt5/QtWidgets/qpushbutton.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QPushButton:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dsuggestbutton.h:11: included_from: Included from here.
/usr/include/dtk5/DWidget/DSuggestButton:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/createvaultview/vaultactivesavekeyfileview.h:11: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/createvaultview/vaultactivesavekeyfileview.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:149:26: note: declared here
#  149 |     inline const QBrush &background() const { return window(); }
#      |                          ^~~~~~~~~~
#  274|           QPainter painter(frame);
#  275|           QPalette palette = this->palette();
#  276|->         painter.setBrush(palette.background());
#  277|   
#  278|           painter.setPen(Qt::transparent);

Error: COMPILER_WARNING (CWE-477): [#def280]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/vaultpropertyview/vaultpropertydialog.cpp: scope_hint: In member function ‘void dfmplugin_vault::VaultPropertyDialog::initInfoUI()’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/vaultpropertyview/vaultpropertydialog.cpp:39:32: warning[-Wdeprecated-declarations]: ‘QPalette::Background’ is deprecated: Use QPalette::Window instead
#   39 |     palette.setBrush(QPalette::Background, Qt::NoBrush);
#      |                                ^~~~~~~~~~
/usr/include/qt5/QtGui/QPalette:1: included_from: Included from here.
/usr/include/dtk5/DGui/dpalette.h:11: included_from: Included from here.
/usr/include/dtk5/DGui/DPalette:1: included_from: Included from here.
/usr/include/dtk5/DWidget/dstyleoption.h:9: included_from: Included from here.
/usr/include/dtk5/DWidget/DFontSizeManager:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/dfm-base/widgets/dfmkeyvaluelabel/keyvaluelabel.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/vaultpropertyview/basicwidget.h:10: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/vaultpropertyview/vaultpropertydialog.h:9: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/filemanager/dfmplugin-vault/views/vaultpropertyview/vaultpropertydialog.cpp:5: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:101:22: note: declared here
#  101 |                      Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window
#      |                      ^~~~~~~~~~
#   37|       scrollArea->setObjectName("PropertyDialog-QScrollArea");
#   38|       QPalette palette = scrollArea->viewport()->palette();
#   39|->     palette.setBrush(QPalette::Background, Qt::NoBrush);
#   40|       scrollArea->viewport()->setPalette(palette);
#   41|       scrollArea->setFrameShape(QFrame::Shape::NoFrame);

Error: COMPILER_WARNING (CWE-477): [#def281]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.cpp: scope_hint: In member function ‘bool serverplugin_tagdaemon::TagDbHandler::addTagsForFiles(const QVariantMap&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.cpp:222:46: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  220 |             QStringList tags = dataIt.value()
#      |                                ~~~~~~~~~~~~~~ 
#  221 |                                        .toStringList()
#      |                                        ~~~~~~~~~~~~~~~
#  222 |                                        .toSet()
#      |                                        ~~~~~~^~
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QLoggingCategory:1: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/include/dfm-base/dfm_log_defines.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/serverplugin_tagdaemon_global.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.h:8: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
#  413 |     QSet<T> toSet() const;
#      |             ^~~~~
#  220|               QStringList tags = dataIt.value()
#  221|                                          .toStringList()
#  222|->                                        .toSet()
#  223|                                          .subtract(dbData.value(dataIt.key()).toStringList().toSet())
#  224|                                          .toList();

Error: COMPILER_WARNING (CWE-477): [#def282]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.cpp:223:97: warning[-Wdeprecated-declarations]: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
#  223 |                                        .subtract(dbData.value(dataIt.key()).toStringList().toSet())
#      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
#  406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
#      |                              ^~~~~~~~
#  221|                                          .toStringList()
#  222|                                          .toSet()
#  223|->                                        .subtract(dbData.value(dataIt.key()).toStringList().toSet())
#  224|                                          .toList();
#  225|               tmpData[dataIt.key()] = tags;

Error: COMPILER_WARNING (CWE-477): [#def283]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/plugins/server/serverplugin-tagdaemon/tagdbhandler.cpp:224:47: warning[-Wdeprecated-declarations]: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead.
#  220 |             QStringList tags = dataIt.value()
#      |                                ~~~~~~~~~~~~~~  
#  221 |                                        .toStringList()
#      |                                        ~~~~~~~~~~~~~~~
#  222 |                                        .toSet()
#      |                                        ~~~~~~~~
#  223 |                                        .subtract(dbData.value(dataIt.key()).toStringList().toSet())
#      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  224 |                                        .toList();
#      |                                        ~~~~~~~^~
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
#  265 |     QList<T> toList() const { return values(); }
#      |              ^~~~~~
#  222|                                          .toSet()
#  223|                                          .subtract(dbData.value(dataIt.key()).toStringList().toSet())
#  224|->                                        .toList();
#  225|               tmpData[dataIt.key()] = tags;
#  226|           }

Error: COMPILER_WARNING (CWE-665): [#def284]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/tools/upgrade/units/beans/virtualentrydata.cpp:28:1: warning[-Wreorder]:   when initialized here
#   28 | VirtualEntryData::VirtualEntryData(const VirtualEntryData &other)
#      | ^~~~~~~~~~~~~~~~
#   26|   }
#   27|   
#   28|-> VirtualEntryData::VirtualEntryData(const VirtualEntryData &other)
#   29|       : key(other.key), host(other.host), protocol(other.protocol), port(other.port), displayName(other.displayName)
#   30|   {

Error: COMPILER_WARNING (CWE-665): [#def285]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/tools/upgrade/units/beans/virtualentrydata.h:50:13: warning[-Wreorder]:   ‘QString dfm_upgrade::VirtualEntryData::protocol’
#   50 |     QString protocol {};
#      |             ^~~~~~~~
#   48|   private:
#   49|       QString key {};
#   50|->     QString protocol {};
#   51|       QString host {};
#   52|       int port { -1 };

Error: COMPILER_WARNING (CWE-665): [#def286]
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/tools/upgrade/units/beans/virtualentrydata.cpp:5: included_from: Included from here.
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/tools/upgrade/units/beans/virtualentrydata.h: scope_hint: In copy constructor ‘dfm_upgrade::VirtualEntryData::VirtualEntryData(const dfm_upgrade::VirtualEntryData&)’
deepin-file-manager-6.0.56-build/dde-file-manager-6.0.56/src/tools/upgrade/units/beans/virtualentrydata.h:51:13: warning[-Wreorder]: ‘dfm_upgrade::VirtualEntryData::host’ will be initialized after
#   51 |     QString host {};
#      |             ^~~~
#   49|       QString key {};
#   50|       QString protocol {};
#   51|->     QString host {};
#   52|       int port { -1 };
#   53|       QString displayName {};

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-61.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedeepin-file-manager-6.0.56-3.fc42
store-results-to/tmp/tmpvrrl0sp4/deepin-file-manager-6.0.56-3.fc42.tar.xz
time-created2024-11-12 23:54:43
time-finished2024-11-13 00:09:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpvrrl0sp4/deepin-file-manager-6.0.56-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpvrrl0sp4/deepin-file-manager-6.0.56-3.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9