darwin-amd64-10_15 at 50479b79bcd5920bcbca9698f6a382660bb53179 :: Running /tmp/buildlet/go/src/make.bash with args ["/tmp/buildlet/go/src/make.bash"] and env ["TERM_PROGRAM=Apple_Terminal" "SHELL=/bin/zsh" "TERM=xterm-256color" "TERM_PROGRAM_VERSION=433" "TERM_SESSION_ID=C12CC542-9192-4F4E-A521-EE56C9E8EF88" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.o3KhowlotX/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=DD3E769C-83C2-4873-9341-67046DE738CA" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186a6" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-amd64-10_15" "GOBIN=" "TMPDIR=/tmp/buildlet/tmp" "GOCACHE=/tmp/buildlet/gocache" "PWD=/tmp/buildlet/go/src"] in dir /tmp/buildlet/go/src Building Go cmd/dist using /tmp/buildlet/go1.4. (go1.17.13 darwin/amd64) Building Go toolchain1 using /tmp/buildlet/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for darwin/amd64. --- Installed Go for darwin/amd64 in /tmp/buildlet/go Installed commands in /tmp/buildlet/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: # GOOS: darwin # OS Version: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64 ##### Testing packages. ok archive/tar 0.288s ok archive/zip 0.439s ok bufio 0.160s ok bytes 1.101s ok compress/bzip2 0.166s ok compress/flate 0.899s ok compress/gzip 1.184s ok compress/lzw 0.089s ok compress/zlib 0.466s ok container/heap 0.015s ok container/list 0.011s ok container/ring 0.013s ok context 0.057s ok crypto 0.016s ok crypto/aes 0.030s ok crypto/cipher 0.037s ok crypto/des 0.039s ok crypto/dsa 0.032s ok crypto/ecdh 0.042s ok crypto/ecdsa 0.048s ok crypto/ed25519 0.047s ok crypto/elliptic 0.025s ok crypto/hmac 0.022s ok crypto/internal/alias 0.011s ok crypto/internal/bigmod 0.212s ok crypto/internal/boring 0.027s ok crypto/internal/boring/bcache 0.105s ok crypto/internal/edwards25519 3.045s ok crypto/internal/edwards25519/field 2.511s ok crypto/internal/nistec 0.141s ok crypto/internal/nistec/fiat 0.018s [no tests to run] ok crypto/md5 0.035s ok crypto/rand 0.067s ok crypto/rc4 0.059s ok crypto/rsa 0.320s ok crypto/sha1 0.037s ok crypto/sha256 0.032s ok crypto/sha512 0.039s ok crypto/subtle 0.116s ok crypto/tls 1.644s ok crypto/x509 0.511s ok database/sql 0.498s ok database/sql/driver 0.026s ok debug/buildinfo 0.025s ok debug/dwarf 0.028s ok debug/elf 0.196s ok debug/gosym 0.045s ok debug/macho 0.033s ok debug/pe 0.041s ok debug/plan9obj 0.022s ok embed 0.042s [no tests to run] ok embed/internal/embedtest 0.031s ok encoding/ascii85 0.064s ok encoding/asn1 0.020s ok encoding/base32 0.065s ok encoding/base64 0.020s ok encoding/binary 0.016s ok encoding/csv 0.027s ok encoding/gob 1.155s ok encoding/hex 0.026s ok encoding/json 0.339s ok encoding/pem 0.523s ok encoding/xml 0.133s ok errors 0.028s ok expvar 0.085s ok flag 0.068s ok fmt 0.096s ok go/ast 0.033s ok go/build 1.263s ok go/build/constraint 0.021s ok go/constant 0.023s ok go/doc 0.056s ok go/doc/comment 1.305s ok go/format 0.025s ok go/importer 0.819s ok go/internal/gccgoimporter 0.032s ok go/internal/gcimporter 5.113s ok go/internal/srcimporter 15.256s ok go/parser 0.341s ok go/printer 0.288s ok go/scanner 0.017s ok go/token 0.034s ok go/types 16.340s ok hash 0.027s ok hash/adler32 0.031s ok hash/crc32 0.026s ok hash/crc64 0.023s ok hash/fnv 0.017s ok hash/maphash 0.109s ok html 0.020s ok html/template 0.130s ok image 0.083s ok image/color 0.038s ok image/draw 0.113s ok image/gif 0.535s ok image/jpeg 0.184s ok image/png 0.319s ok index/suffixarray 0.201s ok internal/abi 0.245s ok internal/buildcfg 0.031s ok internal/coverage/cformat 0.028s ok internal/coverage/cmerge 0.028s ok internal/coverage/pods 0.045s ok internal/coverage/slicereader 0.038s ok internal/coverage/slicewriter 0.015s ok internal/coverage/test 0.030s ok internal/cpu 0.061s ok internal/dag 0.030s ok internal/diff 0.030s ok internal/fmtsort 0.032s ok internal/fuzz 0.036s ok internal/godebug 0.025s ok internal/intern 1.166s ok internal/itoa 0.029s ok internal/poll 0.092s ok internal/profile 0.076s ok internal/reflectlite 0.067s ok internal/safefilepath 0.024s ok internal/saferio 0.090s ok internal/singleflight 0.038s ok internal/testenv 0.028s ok internal/trace 0.086s ok internal/types/errors 1.081s ok internal/unsafeheader 0.028s ok internal/xcoff 0.054s ok io 0.072s ok io/fs 0.292s ok io/ioutil 0.049s ok log 0.061s ok log/syslog 1.323s ok maps 0.035s ok math 0.025s ok math/big 0.888s ok math/bits 0.025s ok math/cmplx 0.026s ok math/rand 0.187s ok mime 0.023s ok mime/multipart 0.860s ok mime/quotedprintable 0.092s ok net 22.953s ok net/http 14.113s ok net/http/cgi 1.226s ok net/http/cookiejar 0.057s ok net/http/fcgi 0.160s ok net/http/httptest 0.162s ok net/http/httptrace 0.042s ok net/http/httputil 0.981s ok net/http/internal 0.041s ok net/http/internal/ascii 0.040s ok net/http/pprof 5.148s ok net/internal/socktest 0.018s ok net/mail 0.012s ok net/netip 0.551s ok net/rpc 0.121s ok net/rpc/jsonrpc 0.036s ok net/smtp 0.085s ok net/textproto 0.038s ok net/url 0.024s ok os 0.886s ok os/exec 0.918s ok os/exec/internal/fdtest 0.017s ok os/signal 3.557s ok os/user 0.061s ok path 0.026s ok path/filepath 0.204s ok plugin 0.025s ok reflect 1.121s ok regexp 0.586s ok regexp/syntax 0.890s ok runtime 42.074s ok runtime/cgo 0.020s ok runtime/coverage 0.022s ok runtime/debug 0.171s ok runtime/internal/atomic 0.073s ok runtime/internal/math 0.022s ok runtime/internal/sys 0.017s ok runtime/metrics 0.015s ok runtime/pprof 8.692s ok runtime/trace 3.978s ok slices 0.034s ok sort 0.171s ok strconv 0.316s ok strings 0.750s ok sync 0.546s ok sync/atomic 2.292s ok syscall 1.025s ok testing 1.319s ok testing/fstest 0.019s ok testing/iotest 0.017s ok testing/quick 0.043s ok text/scanner 0.014s ok text/tabwriter 0.015s ok text/template 0.121s ok text/template/parse 0.036s ok time 2.180s ok unicode 0.023s ok unicode/utf16 0.032s ok unicode/utf8 0.019s ok cmd/addr2line 2.251s ok cmd/api 20.837s ok cmd/asm/internal/asm 1.062s ok cmd/asm/internal/lex 0.017s ok cmd/compile/internal/abt 0.022s ok cmd/compile/internal/amd64 4.263s ok cmd/compile/internal/base 0.023s ok cmd/compile/internal/compare 0.017s ok cmd/compile/internal/dwarfgen 0.581s ok cmd/compile/internal/importer 3.988s ok cmd/compile/internal/ir 0.025s ok cmd/compile/internal/logopt 1.666s ok cmd/compile/internal/loopvar 32.040s ok cmd/compile/internal/noder 0.024s ok cmd/compile/internal/reflectdata 0.016s [no tests to run] ok cmd/compile/internal/ssa 39.057s ok cmd/compile/internal/syntax 0.184s ok cmd/compile/internal/test 22.854s ok cmd/compile/internal/typecheck 0.703s ok cmd/compile/internal/types 0.034s ok cmd/compile/internal/types2 18.888s ok cmd/covdata 0.020s ok cmd/cover 3.052s ok cmd/dist 0.028s ok cmd/doc 2.003s ok cmd/fix 11.607s vcs-test.golang.org rerouted to http://127.0.0.1:56380 https://vcs-test.golang.org rerouted to https://127.0.0.1:56381 go test proxy running at GOPROXY=http://127.0.0.1:56382/mod --- FAIL: TestScript (0.54s) --- FAIL: TestScript/build_static (7.69s) script_test.go:134: 2023-03-17T21:03:25Z script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-3107622171/tmpdir526075470/build_static4272519907 script_test.go:154: # This test requires external linking. Assume that if cgo is supported # then external linking works. (0.000s) # Only run on Unix systems that support -static. (0.000s) # Ordinary build should work. (1.365s) # Building with -linkmode=external should not say anything about # runtime/cgo (issue #31544). (4.164s) # Building with -linkmode=external -extldflags=-static should work. (2.148s) > go build -ldflags='-linkmode=external -extldflags=-static' [stderr] # hello /tmp/buildlet/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1 ld: library not found for -lcrt0.o clang: error: linker command failed with exit code 1 (use -v to see invocation) script_test.go:154: FAIL: build_static.txt:22: go build '-ldflags=-linkmode=external -extldflags=-static': exit status 1 FAIL FAIL cmd/go 142.444s FAIL go tool dist: Failed: exit status 1