Skip to content

Fix some warnings #3165

Fix some warnings

Fix some warnings #3165

Triggered via pull request July 20, 2023 17:46
Status Failure
Total duration 49m 28s
Artifacts

ci.yml

on: pull_request
Formatting
18s
Formatting
Matrix: CPU
Matrix: GPU-CUDA
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
Docker
Process completed with exit code 126.
Lint-cppcheck
Process completed with exit code 55.
Docker
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CPU (macos-latest, RelWithDebInfo)
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CPU (ubuntu-latest, Debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GPU-HIP
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CPU (ubuntu-latest, RelWithDebInfo)
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint-cppcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint-cppcheck: amr-wind/CFDSim.cpp#L27
Local variable 'turbulence_model' shadows outer function [shadowFunction]
Lint-cppcheck: amr-wind/boundary_conditions/BCInterface.cpp#L128
Condition 'has_inflow_udf' is always false [knownConditionTrueFalse]
Lint-cppcheck: amr-wind/boundary_conditions/BCInterface.cpp#L143
Condition 'has_wall_udf' is always false [knownConditionTrueFalse]
Lint-cppcheck: amr-wind/core/Field.cpp#L299
Variable 'old_field' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/core/Field.cpp#L300
Variable 'new_field' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/core/Field.cpp#L311
Variable 'to_field' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/equation_systems/AdvOp_Godunov.H#L88
Variable 'conv_term' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/equation_systems/AdvOp_MOL.H#L53
Variable 'conv_term' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/equation_systems/icns/icns_advection.H#L322
Variable 'conv_term' can be declared as reference to const [constVariableReference]
Lint-cppcheck: amr-wind/equation_systems/icns/icns_advection.H#L554
Variable 'repo' can be declared as reference to const [constVariableReference]
Lint-codeql
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GPU-CUDA (11.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint-clang-tidy
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GPU-SYCL
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/