Skip to content

Miscellaneous code quality improvements #5032

Miscellaneous code quality improvements

Miscellaneous code quality improvements #5032

Triggered via pull request June 13, 2024 18:58
Status Success
Total duration 8m 30s
Artifacts

__go-custom-queries.yml

on: pull_request
Matrix: Go: Custom queries
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
Go: Custom queries (ubuntu-latest, stable-20230403)
CodeQL Action versions 3.25.0 and later, and versions 2.25.0 and later no longer install Python dependencies. We recommend upgrading to at least CodeQL Bundle 2.16.0 to avoid any potential problems due to this (you are currently using 2.12.6). Alternatively, we recommend downgrading the CodeQL Action to version 3.24.10 (for customers using GitHub.com or GitHub Enterprise Server v3.12 or later) or 2.24.10 (for customers using GitHub Enterprise Server v3.11 or earlier).
Go: Custom queries (ubuntu-latest, stable-20230403)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, default)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, stable-v2.13.5)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, stable-v2.14.6)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, linked)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, stable-v2.16.6)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (ubuntu-latest, stable-v2.15.5)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-12, stable-20230403)
CodeQL Action versions 3.25.0 and later, and versions 2.25.0 and later no longer install Python dependencies. We recommend upgrading to at least CodeQL Bundle 2.16.0 to avoid any potential problems due to this (you are currently using 2.12.6). Alternatively, we recommend downgrading the CodeQL Action to version 3.24.10 (for customers using GitHub.com or GitHub Enterprise Server v3.12 or later) or 2.24.10 (for customers using GitHub Enterprise Server v3.11 or earlier).
Go: Custom queries (macos-12, stable-20230403)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-12, stable-v2.14.6)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, nightly-latest)
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/codeql-action/codeql-action dyld[3984]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[3984]: tried: '/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/0.0.0-20240613/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
Go: Custom queries (macos-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, stable-v2.15.5)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, stable-v2.15.5)
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/codeql-action/codeql-action dyld[3842]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[3842]: tried: '/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.15.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
Go: Custom queries (macos-12, stable-v2.13.5)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-v2.13.5)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-v2.16.6)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, default)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, linked)
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/codeql-action/codeql-action dyld[4212]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[4212]: tried: '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
Go: Custom queries (macos-latest, linked)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, stable-v2.16.6)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (macos-latest, stable-v2.16.6)
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/codeql-action/codeql-action dyld[4000]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[4000]: tried: '/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.16.6/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
Go: Custom queries (macos-latest, default)
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/codeql-action/codeql-action dyld[4765]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[4765]: tried: '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.17.5/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
Go: Custom queries (macos-latest, default)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-v2.15.5)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, linked)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-v2.14.6)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-20230403)
Restore cache failed: Dependencies file is not found in D:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Go: Custom queries (windows-latest, stable-20230403)
CodeQL Action versions 3.25.0 and later, and versions 2.25.0 and later no longer install Python dependencies. We recommend upgrading to at least CodeQL Bundle 2.16.0 to avoid any potential problems due to this (you are currently using 2.12.6). Alternatively, we recommend downgrading the CodeQL Action to version 3.24.10 (for customers using GitHub.com or GitHub Enterprise Server v3.12 or later) or 2.24.10 (for customers using GitHub Enterprise Server v3.11 or earlier).