Skip to content

CodeQL

CodeQL #231

Triggered via schedule September 23, 2023 21:37
Status Failure
Total duration 1m 26s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Analyze (go)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (go)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (go)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/go/tools/autobuild.sh with arguments . Exit code 1 and error was: 2023/09/23 21:38:56 Autobuilder was built with go1.19.4, environment has go1.20.8 2023/09/23 21:38:56 LGTM_SRC is /home/runner/work/go-types/go-types 2023/09/23 21:38:56 Found go.mod, enabling go modules go: go.mod file indicates go 1.21, but maximum version supported by tidy is 1.20 go: downloading golang.org/x/text v0.12.0 go: downloading github.com/ungerik/go-fs v0.0.0-20230810132455-f7ff27f6fa2b go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/ungerik/go-reflection v0.0.0-20220113085621-6c5fc1f2694a go: downloading github.com/stretchr/testify v1.8.4 go: downloading github.com/domonda/go-errs v0.0.0-20230810132956-1b6272f9fc8f go: downloading github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056 go: downloading github.com/jhillyerd/enmime v1.0.0 go: downloading github.com/teamwork/tnef v0.0.0-20200108124832-7deabccfdb32 go: downloading golang.org/x/net v0.14.0 go: downloading mvdan.cc/xurls/v2 v2.5.0 go: downloading github.com/domonda/go-pretty v0.0.0-20230810130018-8920f571470a go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/gogs/chardet v0.0.0-20211120154057-b7413eaefb8f go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/go-test/deep v1.0.7 go: downloading github.com/olekukonko/tablewriter v0.0.5 go: downloading github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf go: downloading github.com/teamwork/test v0.0.0-20200108114543-02621bae84ad go: downloading github.com/teamwork/utils v0.0.0-20220314153103-637fa45fa6cc go: downloading golang.org/x/sys v0.11.0 go: downloading gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading github.com/cention-sany/utf7 v0.0.0-20170124080048-26cad61bd60a go: downloading github.com/mattn/go-runewidth v0.0.15 go: downloading github.com/rivo/uniseg v0.4.4 2023/09/23 21:39:03 Import path is 'github.com/domonda/go-types' 2023/09/23 21:39:03 Build failed, continuing to install dependencies. 2023/09/23 21:39:03 Installing dependencies using `go get -v ./...`. github.com/domonda/go-types imports cmp: package cmp is not in GOROOT (/opt/hostedtoolcache/go/1.20.8/x64/src/cmp) note: imported by a module that requires go 1.21 github.com/domonda/go-types imports maps: package maps is not in GOROOT (/opt/hostedtoolcache/go/1.20.8/x64/src/maps) note: imported by a module that requires go 1.21 github.com/domonda/go-types imports slices: package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.8/x64/src/slices) note: imported by a module that requires go 1.21 2023/09/23 21:39:09 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/09/23 21:39:09 Running extractor command '/opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '/home/runner/work/go-types/go-types'. 2023/09/23 21:39:09 Build flags: ''; patterns: './...' 2023/09/23 21:39:09 Running packages.Load. 2023/09/23 21:39:09 Error running go tooling: err: exit status 1: stderr: go: cannot load module listed in go.work file: errors parsing go.mod: /home/runner/work/go-types/go-types/js/go.mod:5: unknown directive: toolchain 2023/09/23 21:39:09 Extraction failed: exit status 1
Analyze (go)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, github/codeql-action/autobuild@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/