Run Clang-Tidy on taskcluster #9244
Merged
firefoxci-taskcluster / source-test-clang-tidy-android
succeeded
Mar 20, 2024 in 6m 29s
FirefoxCI (pull_request)
Clang-tidy (Treeherder push)
Details
View task in Taskcluster
View logs in Taskcluster
[task 2024-03-20T19:21:33.007Z] 11213 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 11213 warnings (11213 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp_c2v8xcm.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/commands/commandselect.cpp
[task 2024-03-20T19:21:33.007Z] 10886 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 10886 warnings (10886 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpx0mirdt5.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/commands/commandexcludeip.cpp
[task 2024-03-20T19:21:33.007Z] 10261 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 10261 warnings (10261 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp7vp0kb92.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/commands/commandui.cpp
[task 2024-03-20T19:21:33.007Z] /builds/worker/checkouts/vcs/src/commands/commandui.cpp:233:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.007Z] QQmlApplicationEngine* engine = new QQmlApplicationEngine();
[task 2024-03-20T19:21:33.007Z] ^~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.007Z] auto
[task 2024-03-20T19:21:33.007Z] 15199 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 15198 warnings (15198 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpm3kcx9sa.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/update/webupdater.cpp
[task 2024-03-20T19:21:33.007Z] 7498 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 7498 warnings (7498 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpgjzh2bqm.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/update/versionapi.cpp
[task 2024-03-20T19:21:33.007Z] /builds/worker/checkouts/vcs/src/update/versionapi.cpp:32:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.007Z] NetworkRequest* request = new NetworkRequest(task, 200);
[task 2024-03-20T19:21:33.007Z] ^~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.007Z] auto
[task 2024-03-20T19:21:33.007Z] 6247 warnings generated.
[task 2024-03-20T19:21:33.007Z] Suppressed 6246 warnings (6246 in non-user code).
[task 2024-03-20T19:21:33.007Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.007Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp_sybrehi.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/controller.cpp
[task 2024-03-20T19:21:33.007Z] /builds/worker/checkouts/vcs/src/controller.cpp:980:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.007Z] TaskFunction* task = new TaskFunction([]() {});
[task 2024-03-20T19:21:33.007Z] ^~~~~~~~~~~~
[task 2024-03-20T19:21:33.007Z] auto
[task 2024-03-20T19:21:33.007Z] /builds/worker/checkouts/vcs/src/controller.cpp:981:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.007Z] NetworkRequest* request = new NetworkRequest(task, 200);
[task 2024-03-20T19:21:33.007Z] ^~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.007Z] auto
[task 2024-03-20T19:21:33.008Z] 11774 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 11772 warnings (11772 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpb5dbdtmq.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/purchasehandler.cpp
[task 2024-03-20T19:21:33.008Z] 5990 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 5990 warnings (5990 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmppq56q_tj.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/tasks/captiveportallookup/taskcaptiveportallookup.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/tasks/captiveportallookup/taskcaptiveportallookup.cpp:33:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] NetworkRequest* request = new NetworkRequest(this, 200);
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] 6494 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 6493 warnings (6493 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpo7jo55ku.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/connectionhealth.cpp
[task 2024-03-20T19:21:33.008Z] 10105 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 10105 warnings (10105 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpeaz8vzm2.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/purchasewebhandler.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/purchasewebhandler.cpp:41:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] TaskAuthenticate* taskAuthenticate =
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] 6812 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 6811 warnings (6811 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmps9f5s_le.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/captiveportal/captiveportalrequesttask.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/captiveportal/captiveportalrequesttask.cpp:42:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] CaptivePortalRequest* request = new CaptivePortalRequest(this);
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: warning: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks]
[task 2024-03-20T19:21:33.008Z] }
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/captiveportal/captiveportalrequesttask.cpp:33:3: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.008Z] QTimer::singleShot(30 * 1000, this, [this]() {
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:63:9: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.008Z] singleShot(interval, defaultTypeFor(interval), receiver, std::forward<Functor>(slot));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Calling 'makeCallableObject<void (*)(), (lambda at /builds/worker/checkouts/vcs/src/captiveportal/captiveportalrequesttask.cpp:33:39)>'
[task 2024-03-20T19:21:33.008Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qobjectdefs_impl.h:592:16: note: Memory is allocated
[task 2024-03-20T19:21:33.008Z] return new QtPrivate::QCallableObject<std::decay_t<Functor>, ActualArguments, ExpectedReturnType>(std::forward<Functor>(func));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Returned allocated memory
[task 2024-03-20T19:21:33.008Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: note: Potential memory leak
[task 2024-03-20T19:21:33.008Z] }
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] 9453 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 9451 warnings (9451 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpmunsnly1.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/commands/commandlogout.cpp
[task 2024-03-20T19:21:33.008Z] 7319 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 7319 warnings (7319 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpif40r0u5.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/releasemonitor.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/releasemonitor.cpp:36:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] TaskRelease* task =
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/releasemonitor.cpp:66:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] TaskRelease* task =
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: warning: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks]
[task 2024-03-20T19:21:33.008Z] }
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/releasemonitor.cpp:65:3: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.008Z] QTimer::singleShot(0, this, [] {
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:63:9: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.008Z] singleShot(interval, defaultTypeFor(interval), receiver, std::forward<Functor>(slot));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Calling 'makeCallableObject<void (*)(), (lambda at /builds/worker/checkouts/vcs/src/releasemonitor.cpp:65:31)>'
[task 2024-03-20T19:21:33.008Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qobjectdefs_impl.h:592:16: note: Memory is allocated
[task 2024-03-20T19:21:33.008Z] return new QtPrivate::QCallableObject<std::decay_t<Functor>, ActualArguments, ExpectedReturnType>(std::forward<Functor>(func));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Returned allocated memory
[task 2024-03-20T19:21:33.008Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: note: Potential memory leak
[task 2024-03-20T19:21:33.008Z] }
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] 7118 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 7115 warnings (7115 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp0ajr0n8c.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/apppermission.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/apppermission.cpp:215:13: warning: prefer a lambda to std::bind [modernize-avoid-bind]
[task 2024-03-20T19:21:33.008Z] std::bind(sortApplicationCallback, std::placeholders::_1,
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] [capture0 = &collator](auto && PH1, auto && PH2) { return sortApplicationCallback(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2), capture0); }
[task 2024-03-20T19:21:33.008Z] 12705 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 12704 warnings (12704 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp4g95enni.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/telemetry.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/telemetry.cpp:243:15: warning: Value stored to 'controller' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
[task 2024-03-20T19:21:33.008Z] Controller* controller = vpn->controller();
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/telemetry.cpp:243:15: note: Value stored to 'controller' during its initialization is never read
[task 2024-03-20T19:21:33.008Z] 12689 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 12688 warnings (12688 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmppa37xw0z.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/commands/commandwgconf.cpp
[task 2024-03-20T19:21:33.008Z] 11087 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 11087 warnings (11087 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpkmgdkn1m.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/dnshelper.cpp
[task 2024-03-20T19:21:33.008Z] 9081 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 9081 warnings (9081 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpsm7mdpn3.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/captiveportal/captiveportaldetection.cpp
[task 2024-03-20T19:21:33.008Z] 10611 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 10611 warnings (10611 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp8u9f_5xp.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/models/recentconnections.cpp
[task 2024-03-20T19:21:33.008Z] 10912 warnings generated.
[task 2024-03-20T19:21:33.008Z] Suppressed 10912 warnings (10912 in non-user code).
[task 2024-03-20T19:21:33.008Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.008Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmp5y0lipwy.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/mozillavpn.cpp
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:483:5: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] LogoutObserver* lo = new LogoutObserver(this);
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:496:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] TaskAuthenticate* taskAuthenticate = new TaskAuthenticate(authenticationType);
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:705:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] QString* buffer = new QString();
[task 2024-03-20T19:21:33.008Z] ^~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:706:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] QTextStream* out = new QTextStream(buffer);
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:1030:22: warning: Value stored to 'products' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
[task 2024-03-20T19:21:33.008Z] ProductsHandler* products = ProductsHandler::instance();
[task 2024-03-20T19:21:33.008Z] ^
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:1030:22: note: Value stored to 'products' during its initialization is never read
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:1267:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] TaskDeleteAccount* task = new TaskDeleteAccount(m_private->m_user.email());
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:1811:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.008Z] NavigationBarButton* messageIcon = new NavigationBarButton(
[task 2024-03-20T19:21:33.008Z] ^~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.008Z] auto
[task 2024-03-20T19:21:33.008Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:1880:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:21:33.009Z] ServiceAction a = (ServiceAction)type.toInt();
[task 2024-03-20T19:21:33.009Z] ^~~~~~~~~~~~~
[task 2024-03-20T19:21:33.009Z] auto
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: warning: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks]
[task 2024-03-20T19:21:33.009Z] }
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/checkouts/vcs/src/mozillavpn.cpp:873:3: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.009Z] QTimer::singleShot(0, this, &MozillaVPN::initializeGlean);
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:63:9: note: Calling 'QTimer::singleShot'
[task 2024-03-20T19:21:33.009Z] singleShot(interval, defaultTypeFor(interval), receiver, std::forward<Functor>(slot));
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Calling 'makeCallableObject<void (*)(), void (MozillaVPN::*)()>'
[task 2024-03-20T19:21:33.009Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qobjectdefs_impl.h:592:16: note: Memory is allocated
[task 2024-03-20T19:21:33.009Z] return new QtPrivate::QCallableObject<std::decay_t<Functor>, ActualArguments, ExpectedReturnType>(std::forward<Functor>(func));
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:76:24: note: Returned allocated memory
[task 2024-03-20T19:21:33.009Z] QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(slot)));
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/Qt/6.6.0/android_arm64_v8a/include/QtCore/qtimer.h:77:5: note: Potential memory leak
[task 2024-03-20T19:21:33.009Z] }
[task 2024-03-20T19:21:33.009Z] ^
[task 2024-03-20T19:21:33.009Z] 16290 warnings generated.
[task 2024-03-20T19:21:33.009Z] Suppressed 16281 warnings (16281 in non-user code).
[task 2024-03-20T19:21:33.009Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpsm88id7k.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/models/servercountrymodel.cpp
[task 2024-03-20T19:21:33.009Z] /builds/worker/checkouts/vcs/src/models/servercountrymodel.cpp:278:13: warning: prefer a lambda to std::bind [modernize-avoid-bind]
[task 2024-03-20T19:21:33.009Z] std::bind(sortCountryCallback, std::placeholders::_1,
[task 2024-03-20T19:21:33.009Z] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.009Z] [capture0 = &collator](auto && PH1, auto && PH2) { return sortCountryCallback(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2), capture0); }
[task 2024-03-20T19:21:33.009Z] 12514 warnings generated.
[task 2024-03-20T19:21:33.009Z] Suppressed 12513 warnings (12513 in non-user code).
[task 2024-03-20T19:21:33.009Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.009Z] /builds/worker/fetches/android_home/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy -export-fixes /tmp/tmp5l7myauu/tmpqbps2ne3.yaml -p=/builds/worker/checkouts/vcs/.tmp /builds/worker/checkouts/vcs/src/models/devicemodel.cpp
[task 2024-03-20T19:21:33.009Z] /builds/worker/checkouts/vcs/src/models/devicemodel.cpp:136:13: warning: prefer a lambda to std::bind [modernize-avoid-bind]
[task 2024-03-20T19:21:33.009Z] std::bind(sortCallback, std::placeholders::_1,
[task 2024-03-20T19:21:33.009Z] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.009Z] [keys](auto && PH1, auto && PH2) { return sortCallback(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2), keys); }
[task 2024-03-20T19:21:33.009Z] /builds/worker/checkouts/vcs/src/models/devicemodel.cpp:211:17: warning: prefer a lambda to std::bind [modernize-avoid-bind]
[task 2024-03-20T19:21:33.009Z] std::bind(sortCallback, std::placeholders::_1,
[task 2024-03-20T19:21:33.009Z] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:21:33.009Z] [keys](auto && PH1, auto && PH2) { return sortCallback(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2), keys); }
[task 2024-03-20T19:21:33.009Z] 10909 warnings generated.
[task 2024-03-20T19:21:33.009Z] Suppressed 10907 warnings (10907 in non-user code).
[task 2024-03-20T19:21:33.009Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:21:33.009Z] Writing fixes to /builds/worker/checkouts/vcs/.tmp/clang-tidy/mozillavpn-sources-report.yaml ...
[task 2024-03-20T19:21:33.009Z] + mkdir -p /builds/worker/artifacts/
[task 2024-03-20T19:21:33.009Z] + cp .tmp/clang-tidy/mozillavpn-sources-report.yaml .tmp/clang-tidy/shared-sources-report.yaml /builds/worker/artifacts/
[fetches 2024-03-20T19:21:33.009Z] removing /builds/worker/fetches
[fetches 2024-03-20T19:21:37.909Z] finished
[taskcluster 2024-03-20 19:21:38.310Z] === Task Finished ===
[taskcluster 2024-03-20 19:21:40.527Z] Successful task run with exit code: 0 completed in 299.357 seconds
Loading