darwin-arm64-11 at f53a95fe393b0a23592a54cf83e3d25cfa4bdbdb :: 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=440" "TERM_SESSION_ID=2DE0AE19-4179-4A26-8C97-877F3231FBBD" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.vaNUI6WS2k/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "LaunchInstanceID=B6B33DF5-CD0B-41E2-9507-050EB9B6BECF" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "SHLVL=2" "HOME=/Users/gopher" "LOGNAME=gopher" "SECURITYSESSIONID=186a4" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-arm64-11" "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/arm64) 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/arm64. --- Installed Go for darwin/arm64 in /tmp/buildlet/go Installed commands in /tmp/buildlet/go/bin ##### Test execution environment. # GOARCH: arm64 # CPU: # GOOS: darwin # OS Version: Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Feb 22 21:10:42 PST 2022; root:xnu-7195.141.26~1/RELEASE_ARM64_T8101 arm64 ##### Testing packages. ok archive/tar 0.266s ok archive/zip 0.232s ok bufio 0.111s ok bytes 1.109s ok compress/bzip2 0.116s ok compress/flate 0.363s ok compress/gzip 1.253s ok compress/lzw 0.231s ok compress/zlib 0.259s ok container/heap 0.090s ok container/list 0.127s ok container/ring 0.170s ok context 0.147s ok crypto 0.094s ok crypto/aes 0.198s ok crypto/cipher 0.099s ok crypto/des 0.181s ok crypto/dsa 0.139s ok crypto/ecdh 0.085s ok crypto/ecdsa 0.105s ok crypto/ed25519 0.181s ok crypto/elliptic 0.076s ok crypto/hmac 0.118s ok crypto/internal/alias 0.056s ok crypto/internal/bigmod 0.158s ok crypto/internal/boring 0.057s ok crypto/internal/boring/bcache 0.127s ok crypto/internal/edwards25519 1.873s ok crypto/internal/edwards25519/field 2.059s ok crypto/internal/nistec 0.138s ok crypto/internal/nistec/fiat 0.085s [no tests to run] ok crypto/md5 0.110s ok crypto/rand 0.173s ok crypto/rc4 0.080s ok crypto/rsa 0.278s ok crypto/sha1 0.143s ok crypto/sha256 0.126s ok crypto/sha512 0.079s ok crypto/subtle 0.172s ok crypto/tls 0.311s ok crypto/x509 0.363s ok database/sql 0.417s ok database/sql/driver 0.074s ok debug/buildinfo 0.093s ok debug/dwarf 0.074s ok debug/elf 0.153s ok debug/gosym 0.188s ok debug/macho 0.143s ok debug/pe 0.201s ok debug/plan9obj 0.095s ok embed 0.147s [no tests to run] ok embed/internal/embedtest 0.073s ok encoding/ascii85 0.119s ok encoding/asn1 0.088s ok encoding/base32 0.081s ok encoding/base64 0.090s ok encoding/binary 0.109s ok encoding/csv 0.081s ok encoding/gob 0.621s ok encoding/hex 0.095s ok encoding/json 0.275s ok encoding/pem 0.323s ok encoding/xml 0.162s ok errors 0.075s ok expvar 0.071s ok flag 0.074s ok fmt 0.150s ok go/ast 0.146s ok go/build 0.824s ok go/build/constraint 0.072s ok go/constant 0.086s ok go/doc 0.082s ok go/doc/comment 0.444s ok go/format 0.096s ok go/importer 0.282s ok go/internal/gccgoimporter 0.164s ok go/internal/gcimporter 0.803s ok go/internal/srcimporter 6.227s ok go/parser 0.144s ok go/printer 0.175s ok go/scanner 0.099s ok go/token 0.087s ok go/types 3.447s ok hash 0.156s ok hash/adler32 0.073s ok hash/crc32 0.066s ok hash/crc64 0.107s ok hash/fnv 0.087s ok hash/maphash 0.198s ok html 0.120s ok html/template 0.177s ok image 0.226s ok image/color 0.103s ok image/draw 0.176s ok image/gif 0.148s ok image/jpeg 0.263s ok image/png 0.179s ok index/suffixarray 0.224s ok internal/abi 0.143s ok internal/buildcfg 0.139s ok internal/coverage/cformat 0.097s ok internal/coverage/cmerge 0.179s ok internal/coverage/pods 0.096s ok internal/coverage/slicereader 0.135s ok internal/coverage/slicewriter 0.176s ok internal/coverage/test 0.078s ok internal/cpu 0.095s ok internal/dag 0.137s ok internal/diff 0.076s ok internal/fmtsort 0.096s ok internal/fuzz 0.159s ok internal/godebug 0.092s ok internal/intern 0.167s ok internal/itoa 0.175s ok internal/poll 0.101s ok internal/profile 0.126s ok internal/reflectlite 0.085s ok internal/safefilepath 0.092s ok internal/saferio 0.183s ok internal/singleflight 0.152s ok internal/testenv 0.073s ok internal/trace 0.072s ok internal/types/errors 0.251s ok internal/unsafeheader 0.122s ok internal/xcoff 0.172s ok io 0.121s ok io/fs 0.277s ok io/ioutil 0.095s ok log 0.172s ok log/syslog 1.434s ok maps 0.075s ok math 0.098s ok math/big 0.434s ok math/bits 0.104s ok math/cmplx 0.059s ok math/rand 0.177s ok mime 0.148s ok mime/multipart 0.466s ok mime/quotedprintable 0.077s ok net 8.434s ok net/http 2.470s ok net/http/cgi 0.536s ok net/http/cookiejar 0.181s ok net/http/fcgi 0.334s ok net/http/httptest 0.137s ok net/http/httptrace 0.106s ok net/http/httputil 0.738s ok net/http/internal 0.075s ok net/http/internal/ascii 0.119s ok net/http/pprof 4.153s ok net/internal/socktest 0.074s ok net/mail 0.075s ok net/netip 0.228s ok net/rpc 0.154s ok net/rpc/jsonrpc 0.245s ok net/smtp 0.192s ok net/textproto 0.081s ok net/url 0.079s ok os 0.454s ok os/exec 0.299s ok os/exec/internal/fdtest 0.221s ok os/signal 2.650s ok os/user 0.087s ok path 0.120s ok path/filepath 0.124s ok plugin 0.093s ok reflect 0.182s ok regexp 0.305s ok regexp/syntax 0.372s ok runtime 14.283s ok runtime/cgo 0.169s ok runtime/coverage 0.207s ok runtime/debug 0.120s ok runtime/internal/atomic 0.209s ok runtime/internal/math 0.091s ok runtime/internal/sys 0.133s ok runtime/metrics 0.163s ok runtime/pprof 4.993s ok runtime/trace 1.048s ok slices 0.144s ok sort 0.098s ok strconv 0.288s ok strings 0.754s ok sync 0.363s ok sync/atomic 0.436s ok syscall 0.475s ok testing 0.682s ok testing/fstest 0.095s ok testing/iotest 0.159s ok testing/quick 0.095s ok text/scanner 0.137s ok text/tabwriter 0.179s ok text/template 0.111s ok text/template/parse 0.136s ok time 2.767s ok unicode 0.072s ok unicode/utf16 0.072s ok unicode/utf8 0.115s ok cmd/addr2line 0.535s ok cmd/api 4.299s ok cmd/asm/internal/asm 0.283s ok cmd/asm/internal/lex 0.073s ok cmd/compile/internal/abt 0.116s ok cmd/compile/internal/amd64 0.127s ok cmd/compile/internal/base 0.249s ok cmd/compile/internal/compare 0.312s ok cmd/compile/internal/dwarfgen 0.413s ok cmd/compile/internal/importer 0.711s ok cmd/compile/internal/ir 0.107s ok cmd/compile/internal/logopt 0.182s ok cmd/compile/internal/loopvar 9.532s ok cmd/compile/internal/noder 0.113s ok cmd/compile/internal/reflectdata 0.165s [no tests to run] ok cmd/compile/internal/ssa 9.493s ok cmd/compile/internal/syntax 0.192s ok cmd/compile/internal/test 5.586s ok cmd/compile/internal/typecheck 0.284s ok cmd/compile/internal/types 0.132s ok cmd/compile/internal/types2 2.604s ok cmd/covdata 0.073s ok cmd/cover 0.812s ok cmd/dist 0.119s ok cmd/doc 0.182s ok cmd/fix 2.112s vcs-test.golang.org rerouted to http://127.0.0.1:61638 https://vcs-test.golang.org rerouted to https://127.0.0.1:61639 go test proxy running at GOPROXY=http://127.0.0.1:61640/mod --- FAIL: TestScript (0.16s) --- FAIL: TestScript/build_static (1.56s) script_test.go:134: 2023-03-17T21:16:48Z script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-2081619062/tmpdir4137940488/build_static2606929176 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. (0.296s) # Building with -linkmode=external should not say anything about # runtime/cgo (issue #31544). (0.883s) # Building with -linkmode=external -extldflags=-static should work. (0.382s) > go build -ldflags='-linkmode=external -extldflags=-static' [stderr] # hello /tmp/buildlet/go/pkg/tool/darwin_arm64/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 20.748s FAIL go tool dist: Failed: exit status 1