Skip to content

MeasureGui: Revert temporary measure object creation #238

MeasureGui: Revert temporary measure object creation

MeasureGui: Revert temporary measure object creation #238

Triggered via push October 8, 2024 16:26
Status Success
Total duration 2h 46m 42s
Artifacts 8

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 70 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#L236
Add #include <string> for string [build/include_what_you_use] [4]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L1
No #ifndef header guard found, suggested CPP variable is: SRC_MOD_MEASURE_GUI_TASKMEASURE_H_ [build/header_guard] [5]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L93
Add #include <vector> for vector<> [build/include_what_you_use] [4]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L79
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L80
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L145
Use int16_t/int64_t/etc, rather than the C type long [runtime/int] [4]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L147
Using C-style cast. Use static_cast<uint32_t>(...) instead [readability/casting] [4]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L567
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Lint / Lint: src/Mod/Sketcher/Gui/ViewProviderSketch.cpp#L694
Use int16_t/int64_t/etc, rather than the C type short [runtime/int] [4]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L72
private field '_mDocument' is not used [-Wunused-private-field]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.h#L73
private field '_mGuiDocument' is not used [-Wunused-private-field]
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: 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#L159
do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L160
redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L191
do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L202
do not use C-style cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-cstyle-cast]
Lint / Lint: src/Mod/Measure/Gui/TaskMeasure.cpp#L234
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
MacOS_13_Conda_Apple / 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
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' 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/tmpiw0u5dip.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
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 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 fceba0a16c8137d9… → fceba0a16c8137d9…
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_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
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
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0 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.8.0-1014-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.8.0-1014-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.8.0-1014-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 6445997 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-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
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
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0 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 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.8.0-1014-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 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-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…
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.8.0-1014-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 6445997 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-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_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.
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-11239683775-Logs Expired
64.4 KB
MacOS_13_Conda_Apple-11239683775-Logs Expired
44.8 KB
Prepare-11239683775-Logs Expired
6.05 KB
Ubuntu_20-04-11239683775-Logs Expired
178 KB
Ubuntu_22-04_Conda-11239683775-Logs Expired
242 KB
Ubuntu_22-04_Conda-Qt6-11239683775-Logs Expired
240 KB
Ubuntu_22-04_Conda-Qt6-11239683775-report.md Expired
3.76 KB
Windows-11239683775-Logs Expired
2.77 MB