lint
AMD64
Go: 1.18.x
Git
Scroll to End of Log
0.00sUpdating gimme0.22s0.11s0.06sTopworker_info1Worker information2hostname: 5b2245c8-448d-45a3-8910-e6536d5d5da5@1.worker-n2-com-5bd78b4b68-6274z.gce-production-13version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-cbb05a3c-7402-4cd1-8960-99c5ebab62dd travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)5startup: 5.931918557ssystem_info7Build system information8Build language: go9Build dist: xenial10Build id: 27139855211Job id: 62399090212Runtime kernel version: 4.15.0-1098-gcp13travis-build version: a5a2839d14Build image provisioning date and time15Fri Jun 21 19:33:06 UTC 202416Operating System Details17Distributor ID: Ubuntu18Description: Ubuntu 16.04.7 LTS19Release: 16.0420Codename: xenial21Systemd Version22systemd 22923Cookbooks Version2488b04db https://github.com/travis-ci/travis-cookbooks/tree/88b04db25git version26git version 2.43.027bash version28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)29gcc version30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 2016060931docker version32Client: Docker Engine - Community33 Version: 20.10.734 API version: 1.4135 Go version: go1.13.1536 Git commit: f0df35037 Built: Wed Jun 2 11:56:47 202138 OS/Arch: linux/amd6439 Context: default40 Experimental: true42Server: Docker Engine - Community43 Engine:44 Version: 20.10.745 API version: 1.41 (minimum version 1.12)46 Go version: go1.13.1547 Git commit: b0f5bc348 Built: Wed Jun 2 11:54:58 202149 OS/Arch: linux/amd6450 Experimental: false51 containerd:52 Version: 1.4.653 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d54 runc:55 Version: 1.0.0-rc9556 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b757 docker-init:58 Version: 0.19.059 GitCommit: de40ad060clang version61clang version 7.0.0 (tags/RELEASE_700/final)62jq version63jq-1.7.164bats version65Bats 1.11.066shellcheck version670.10.068shfmt version69v3.8.070ccache version713.2.472cmake version73cmake version 3.26.374heroku version75heroku/8.11.5 linux-x64 node-v16.20.276imagemagick version77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org78md5deep version794.480mercurial version81version 5.9.382mysql version83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper84openssl version85OpenSSL 1.0.2g 1 Mar 201686packer version871.7.588postgresql client version89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)90ragel version91Ragel State Machine Compiler version 6.8 Feb 201392sudo version931.8.1694gzip version95gzip 1.696zip version97Zip 3.098vim version99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)100iptables version101iptables v1.6.0102curl version103curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3104wget version105GNU Wget 1.17.1 built on linux-gnu.106rsync version107rsync version 3.1.1 protocol version 31108gimme version109v1.5.4110nvm version1110.39.7112perlbrew version113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95114phpenv version115rbenv 1.2.0116rvm version117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]118default ruby version119ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]120default python version121Python 3.7.17122CouchDB version123couchdb 1.6.1124ElasticSearch version1257.16.3126Installed Firefox version127firefox 63.0.1128MongoDB version129MongoDB 4.4.29130PhantomJS version1312.1.1132Pre-installed PostgreSQL versions1339.4.261349.5.251359.6.22136Redis version137redis-server 7.0.11138Pre-installed Go versions1391.18.4140ant version141Apache Ant(TM) version 1.9.6 compiled on July 20 2018142mvn version143Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)144gradle version145Gradle 8.3!146lein version147Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM148Pre-installed Node.js versions149v10.24.1150v12.22.12151v14.21.3152v16.15153v16.16.0154v16.20.2155v18.20.3156v20.15.0157v4.9.1158v6.17.1159v8.17.0160phpenv versions161 system162 7.4163* 7.4.30 (set by /home/travis/.phpenv/version)164 hhvm-stable165 hhvm166composer --version167Composer version 2.3.7 2022-06-06 16:43:28168Pre-installed Ruby versions169ruby-2.7.6170ruby-3.3.01730.00s0.03s0.00s0.01s0.26s0.00s0.00s0.00s0.01s0.00s0.08s0.01s0.86s0.00s0.11s6.03s0.00s3.44s0.00s2.41sdocker_mtu_and_registry_mirrorsresolvconfservicesgit.checkout1780.01s0.61s$ git clone --depth=10 --branch=kw-updated_worker https://github.com/travis-ci/worker.git travis-ci/worker179Cloning into 'travis-ci/worker'...180$ cd travis-ci/worker181$ git checkout -qf a63fd6ff8a617c87cb1485eefddac3e527f3221b183$ travis_export_go 1.18.x github.com/travis-ci/worker1840.04s185Setting environment variables from repository settings186$ export ARTIFACTS_PATHS=./build187$ export ARTIFACTS_BUCKET=travis-worker-artifacts188$ export ARTIFACTS_PERMISSIONS=public-read189$ export ARTIFACTS_KEY=[secure]190$ export ARTIFACTS_SECRET=[secure]191$ export PACKAGECLOUD_TOKEN=[secure]192$ export DOCKER_HUB_TRIGGER_URL=[secure]193$ export DOCKER_LOGIN_USERNAME=[secure]194$ export DOCKER_LOGIN_PASSWORD=[secure]195$ export VAULT_PASS=[secure]196$ export GCE_PROJECT=[secure]197$ export VAULT_USERNAME=[secure]198$ export VAULT_ADDR=[secure]199$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]201Setting environment variables from .travis.yml202$ export AMQP_URI="amqp://"203$ export GOPATH="$HOME/gopath"204$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"205$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"206$ export GO15VENDOREXPERIMENT='1'207$ export REDIS_URL="redis://"210go version go1.18.10 linux/amd64211$ export GOPATH="/home/travis/gopath"212$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.18.10.linux.amd64/bin:bin:/home/travis/gopath/bin:/home/travis/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/perl5/perlbrew/perls/5.34.1/bin:/home/travis/.nvm/versions/node/v16.16.0/bin:/home/travis/.rvm/gems/ruby-3.3.0/bin:/home/travis/.rvm/gems/ruby-3.3.0@global/bin:/home/travis/.rvm/rubies/ruby-3.3.0/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.18.4.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.26.3/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"213$ export GO111MODULE="auto"cache.1214Setting up build cache215$ export CASHER_DIR=${TRAVIS_HOME}/.casher218fetching kw-updated_worker/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz219found cache221creating directory /home/travis/gopath/src/github.com/travis-ci/worker/vendor222adding /home/travis/.cache/go-build to cache223adding /home/travis/gopath/bin to cache224adding /home/travis/gopath/pkg/mod to cache225creating directory /home/travis/gopath/pkg/mod227$ gimme version228v1.5.4229$ go version230go version go1.18.10 linux/amd64go.env231$ go env232GO111MODULE="auto"233GOARCH="amd64"234GOBIN=""235GOCACHE="/home/travis/.cache/go-build"236GOENV="/home/travis/.config/go/env"237GOEXE=""238GOEXPERIMENT=""239GOFLAGS=""240GOHOSTARCH="amd64"241GOHOSTOS="linux"242GOINSECURE=""243GOMODCACHE="/home/travis/gopath/pkg/mod"244GONOPROXY=""245GONOSUMDB=""246GOOS="linux"247GOPATH="/home/travis/gopath"248GOPRIVATE=""249GOPROXY="https://proxy.golang.org,direct"250GOROOT="/home/travis/.gimme/versions/go1.18.10.linux.amd64"251GOSUMDB="sum.golang.org"252GOTMPDIR=""253GOTOOLDIR="/home/travis/.gimme/versions/go1.18.10.linux.amd64/pkg/tool/linux_amd64"254GOVCS=""255GOVERSION="go1.18.10"256GCCGO="gccgo"257GOAMD64="v1"258AR="ar"259CC="gcc"260CXX="g++"261CGO_ENABLED="1"262GOMOD="/home/travis/gopath/src/github.com/travis-ci/worker/go.mod"263GOWORK=""264CGO_CFLAGS="-g -O2"265CGO_CPPFLAGS=""266CGO_CXXFLAGS="-g -O2"267CGO_FFLAGS="-g -O2"268CGO_LDFLAGS="-g -O2"269PKG_CONFIG="pkg-config"270GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3015345330=/tmp/go-build -gno-record-gcc-switches"274if ! shfmt -version 2>/dev/null; then \275 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \276 chmod +x /home/travis/gopath/bin/shfmt; \277 shfmt -version; \278fi279v3.8.0280curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin281golangci/golangci-lint info checking GitHub for latest tag282golangci/golangci-lint info found version: 1.59.1 for v1.59.1/linux/amd64283golangci/golangci-lint info installed /home/travis/bin/golangci-lint284if ! command -v /bin/golangci-lint &>/dev/null; then \285 /home/travis/bin/golangci-lint --version; \286fi287golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z288GO111MODULE=on go mod download289GO111MODULE=on go mod vendor290touch .deps-fetched291The command "make deps" exited with 0.293./script/lintall294~/gopath/src/github.com/travis-ci/worker ~/gopath/src/github.com/travis-ci/worker295+/home/travis/bin/golangci-lint run296image/api_selector_test.go:91:87: too few values in struct literal of type tagSet (typecheck)297 &tagSet{[]string{"language_ruby:true", "os:linux"}, false, uint64(4), "corp/frob"},298 ^299image/api_selector_test.go:92:87: too few values in struct literal of type tagSet (typecheck)300 &tagSet{[]string{"language_ruby:true", "os:linux"}, false, uint64(4), "corp/frob"},301 ^302image/api_selector_test.go:93:74: too few values in struct literal of type tagSet (typecheck)303 &tagSet{[]string{"language_ruby:true"}, true, uint64(4), "corp/frob"},304 ^305level=error msg="Timeout exceeded: try increasing it by passing --timeout option"306Makefile:53: recipe for target 'lintall' failed307make: *** [lintall] Error 4308The command "make lintall" exited with 2.cache.2311store build cache3120.00s79.39schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/go-build/00/003d8e3fad84fb5b7113ddc036b7b0b44c3f3d07238ff6be0629c3d24f10b005-a313/home/travis/.cache/go-build/00/00cbbbb90af03b474c0bf1e88f17a3ad997e0ad8e023b1d5024a5b3391680de0-a314/home/travis/.cache/go-build/00/00cd40d6c8e4284069976ca405319563033b6234af56ab92d8e9e039a0ea2780-a315/home/travis/.cache/go-build/00/00d9b4d95b770c6cfff596c5ba9221e43fd79ee94fd1c373fd9550527e764383-a316/home/travis/.cache/go-build/01/0124bdf9d294e035362a8cb2e7f3351d817854e14c4b3affa1848d3b147a0c7f-a317/home/travis/.cache/go-build/01/0172c26b9883422f9954292b771359580e695f2aa734730acb87105ca1f91719-d318/home/travis/.cache/go-build/01/01cfd0ef1ce435798cd02ee78d1b3255e4c96e485fc462bd22507e1e395593ad-a319/home/travis/.cache/go-build/03/035aa9cbbe36c3267de65dc22940d1da46127b7499aea5b27b115e15a10eaa34-a320/home/travis/.cache/go-build/03/03cde07bbf4638aa9cd6ce12e7cf8f6bff2cccaeff04b1dd311727f407fe0aa8-a321/home/travis/.cache/go-build/04/0412374a5638c66f83a19a13e23cad3918649f47532448eb674301f94b59a68d-a322/home/trav\n...323changes detected, packing new archive324uploading kw-updated_worker/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz325cache uploaded328Done. Your build exited with 1.