Skip to content

Replacing sprintf() with snprintf() #63

Replacing sprintf() with snprintf()

Replacing sprintf() with snprintf() #63

Triggered via pull request July 9, 2024 21:48
Status Failure
Total duration 1m 23s
Artifacts 1

ci.yml

on: pull_request
Formatting
10s
Formatting
Save-PR-Number
4s
Save-PR-Number
Lint-clang-tidy
41s
Lint-clang-tidy
Lint-codeql
58s
Lint-codeql
Lint-codespell
8s
Lint-codespell
Matrix: CPU
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
CPU (ubuntu-latest, Release): src/MeshBlock.C#L845
invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
CPU (ubuntu-latest, Release)
Process completed with exit code 2.
CPU (ubuntu-latest, Debug)
The job was canceled because "ubuntu-latest_Release" failed.
CPU (ubuntu-latest, Debug): src/MeshBlock.C#L845
invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
CPU (ubuntu-latest, Debug)
The operation was canceled.
CPU (macos-latest, Debug)
The job was canceled because "ubuntu-latest_Release" failed.
CPU (macos-latest, Debug)
The operation was canceled.
CPU (macos-latest, Release)
The job was canceled because "ubuntu-latest_Release" failed.
CPU (macos-latest, Release)
The operation was canceled.
Lint-clang-tidy
Process completed with exit code 20.
Lint-codeql
Process completed with exit code 2.
Lint-clang-tidy: src/ADT.C#L117
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/ADT.C#L23
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers]
Lint-clang-tidy: src/ADT.C#L24
inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers]
Lint-clang-tidy: src/ADT.C#L29
2 adjacent parameters of 'buildADT' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters]
Lint-clang-tidy: src/ADT.C#L53
implicit conversion 'double *' -> bool [readability-implicit-bool-conversion]
Lint-clang-tidy: src/ADT.C#L55
implicit conversion 'int *' -> bool [readability-implicit-bool-conversion]
Lint-clang-tidy: src/ADT.C#L57
implicit conversion 'double *' -> bool [readability-implicit-bool-conversion]
Lint-clang-tidy: src/ADT.C#L96
statement should be inside braces [readability-braces-around-statements]
Lint-clang-tidy: src/ADT.h#L46
use nullptr [modernize-use-nullptr]
Lint-clang-tidy: src/ADT.h#L47
use nullptr [modernize-use-nullptr]
Lint-codeql
The following actions uses Node.js version which is deprecated and will be forced to run on node20: github/codeql-action/init@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint-codeql
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/

Artifacts

Produced during runtime
Name Size
pr_number Expired
145 Bytes