Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #241

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #241

Triggered via push October 12, 2024 08:01
Status Success
Total duration 23m 34s
Artifacts 8

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 64 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L47
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L221
Add #include <string> for string [build/include_what_you_use] [4]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L22
#ifndef header guard has wrong style, please use: SRC_MOD_MEASURE_GUI_TASKMEASURE_H_ [build/header_guard] [5]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L101
#endif line should be "#endif // SRC_MOD_MEASURE_GUI_TASKMEASURE_H_" [build/header_guard] [5]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L971
fmt::detail::iterator_buffer has dtor but not copy-ctor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L1002
fmt::detail::iterator_buffer has dtor but not copy-ctor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2095
Returning a void expression [-Wclazy-returning-void-expression]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2197
fmt::detail::specs_setter has copy-ctor but not dtor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2233
fmt::detail::dynamic_specs_handler has copy-ctor but not dtor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3126
Pass small and trivially-copyable type by value (const signed char &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3127
Pass small and trivially-copyable type by value (const unsigned char &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3128
Pass small and trivially-copyable type by value (const short &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3129
Pass small and trivially-copyable type by value (const unsigned short &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3130
Pass small and trivially-copyable type by value (const long &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L69
'showDelta' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L75
'modeSwitch' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L89
'valueResult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L95
use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L96
10 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L219
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L224
variable name 's' is too short, expected at least 2 characters [readability-identifier-length]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L234
the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty]
Lint / Lint
note: method 'vector'::empty() defined here
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L260
implicit conversion 'Measure::MeasureBase *' -> bool [readability-implicit-bool-conversion]
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/Users/runner/work/FreeCAD/FreeCAD/.conda/freecad'
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/Users/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
MacOS_13_Conda_Apple / Build
info libmamba Reading repodata.json file "/var/folders/t_/mmhnh941511_hp2lwh383bp00000gn/T/tmpjvxbmot0.json" for repo installed
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 0 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Darwin/23.6.0 OSX/14.7 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches 5fef5ecd58e910a9… → 5fef5ecd58e910a9…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Darwin/23.6.0 OSX/14.7 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
MacOS_13_Conda_Apple / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
MacOS_13_Conda_Apple / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_22-04_Conda / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad'
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 716675 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches fceba0a16c8137d9… → fceba0a16c8137d9…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 1613518 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 6567220 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_22-04_Conda_Qt6 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_22-04_Conda_Qt6 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad'
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env-qt6.yaml']
Ubuntu_22-04_Conda_Qt6 / Build
info libmamba Reading repodata.json file "/tmp/tmpywkb72u8.json" for repo installed
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 716675 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches fceba0a16c8137d9… → fceba0a16c8137d9…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 1613518 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.

Artifacts

Produced during runtime
Name Size
Lint-11304021597-Logs Expired
19.8 KB
MacOS_13_Conda_Apple-11304021597-Logs Expired
44.8 KB
Prepare-11304021597-Logs Expired
2.85 KB
Ubuntu_20-04-11304021597-Logs Expired
177 KB
Ubuntu_22-04_Conda-11304021597-Logs Expired
240 KB
Ubuntu_22-04_Conda-Qt6-11304021597-Logs Expired
238 KB
Ubuntu_22-04_Conda-Qt6-11304021597-report.md Expired
3.76 KB
Windows-11304021597-Logs Expired
1.6 MB