darwin-arm64-12 at 553506d39a44a4f56f4f801b15e82fea7f542403 :: 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=444" "TERM_SESSION_ID=5390AC51-2D23-4BCA-8617-722D388CB8CD" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Qd4fQNYlPD/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "LaunchInstanceID=77E4E471-0871-4DC8-AF68-3897C9FFE12B" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "SHLVL=2" "HOME=/Users/gopher" "LOGNAME=gopher" "SECURITYSESSIONID=186a5" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-arm64-12" "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 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64 ##### Testing packages. ok archive/tar 0.174s ok archive/zip 0.243s ok bufio 0.203s ok bytes 1.270s ok compress/bzip2 0.161s ok compress/flate 0.302s ok compress/gzip 1.326s ok compress/lzw 0.103s ok compress/zlib 0.376s ok container/heap 0.126s ok container/list 0.077s ok container/ring 0.169s ok context 0.085s ok crypto 0.124s ok crypto/aes 0.179s ok crypto/cipher 0.081s ok crypto/des 0.127s ok crypto/dsa 0.172s ok crypto/ecdh 0.089s ok crypto/ecdsa 0.092s ok crypto/ed25519 0.158s ok crypto/elliptic 0.083s ok crypto/hmac 0.125s ok crypto/internal/alias 0.055s ok crypto/internal/bigmod 0.172s ok crypto/internal/boring 0.103s ok crypto/internal/boring/bcache 0.097s ok crypto/internal/edwards25519 2.018s ok crypto/internal/edwards25519/field 2.156s ok crypto/internal/nistec 0.166s ok crypto/internal/nistec/fiat 0.075s [no tests to run] ok crypto/md5 0.096s ok crypto/rand 0.149s ok crypto/rc4 0.083s ok crypto/rsa 0.263s ok crypto/sha1 0.128s ok crypto/sha256 0.123s ok crypto/sha512 0.077s ok crypto/subtle 0.141s ok crypto/tls 0.319s ok crypto/x509 0.267s ok database/sql 0.460s ok database/sql/driver 0.077s ok debug/buildinfo 0.066s ok debug/dwarf 0.064s ok debug/elf 0.229s ok debug/gosym 0.080s ok debug/macho 0.125s ok debug/pe 0.189s ok debug/plan9obj 0.076s ok embed 0.131s [no tests to run] ok embed/internal/embedtest 0.078s ok encoding/ascii85 0.125s ok encoding/asn1 0.092s ok encoding/base32 0.089s ok encoding/base64 0.080s ok encoding/binary 0.066s ok encoding/csv 0.079s ok encoding/gob 0.584s ok encoding/hex 0.142s ok encoding/json 0.180s ok encoding/pem 0.382s ok encoding/xml 0.226s ok errors 0.078s ok expvar 0.070s ok flag 0.069s ok fmt 0.181s ok go/ast 0.079s ok go/build 0.846s ok go/build/constraint 0.076s ok go/constant 0.097s ok go/doc 0.082s ok go/doc/comment 0.412s ok go/format 0.117s ok go/importer 0.255s ok go/internal/gccgoimporter 0.088s ok go/internal/gcimporter 0.881s ok go/internal/srcimporter 6.191s ok go/parser 0.183s ok go/printer 0.198s ok go/scanner 0.072s ok go/token 0.087s ok go/types 3.405s ok hash 0.142s ok hash/adler32 0.075s ok hash/crc32 0.061s ok hash/crc64 0.104s ok hash/fnv 0.075s ok hash/maphash 0.187s ok html 0.116s ok html/template 0.115s ok image 0.159s ok image/color 0.191s ok image/draw 0.106s ok image/gif 0.219s ok image/jpeg 0.189s ok image/png 0.243s ok index/suffixarray 0.191s ok internal/abi 0.109s ok internal/buildcfg 0.123s ok internal/coverage/cformat 0.169s ok internal/coverage/cmerge 0.075s ok internal/coverage/pods 0.079s ok internal/coverage/slicereader 0.120s ok internal/coverage/slicewriter 0.166s ok internal/coverage/test 0.080s ok internal/cpu 0.080s ok internal/dag 0.137s ok internal/diff 0.076s ok internal/fmtsort 0.076s ok internal/fuzz 0.128s ok internal/godebug 0.075s ok internal/intern 0.209s ok internal/itoa 0.122s ok internal/poll 0.120s ok internal/profile 0.126s ok internal/reflectlite 0.094s ok internal/safefilepath 0.121s ok internal/saferio 0.083s ok internal/singleflight 0.177s ok internal/testenv 0.073s ok internal/trace 0.071s ok internal/types/errors 0.252s ok internal/unsafeheader 0.084s ok internal/xcoff 0.130s ok io 0.102s ok io/fs 0.272s ok io/ioutil 0.079s ok log 0.159s ok log/syslog 1.305s ok maps 0.128s ok math 0.077s ok math/big 0.471s ok math/bits 0.061s ok math/cmplx 0.104s ok math/rand 0.279s ok mime 0.132s ok mime/multipart 0.390s ok mime/quotedprintable 0.087s ok net 17.870s ok net/http 3.720s ok net/http/cgi 0.442s ok net/http/cookiejar 0.163s ok net/http/fcgi 0.319s ok net/http/httptest 0.126s ok net/http/httptrace 0.085s ok net/http/httputil 0.677s ok net/http/internal 0.076s ok net/http/internal/ascii 0.123s ok net/http/pprof 4.126s ok net/internal/socktest 0.075s ok net/mail 0.110s ok net/netip 0.206s ok net/rpc 0.135s ok net/rpc/jsonrpc 0.238s ok net/smtp 0.180s ok net/textproto 0.077s ok net/url 0.068s ok os 0.391s ok os/exec 0.365s ok os/exec/internal/fdtest 0.076s ok os/signal 2.539s ok os/user 0.080s ok path 0.110s ok path/filepath 0.094s ok plugin 0.093s ok reflect 0.173s ok regexp 0.303s ok regexp/syntax 0.463s ok runtime 13.654s ok runtime/cgo 0.151s ok runtime/coverage 0.079s ok runtime/debug 0.205s ok runtime/internal/atomic 0.187s ok runtime/internal/math 0.075s ok runtime/internal/sys 0.122s ok runtime/metrics 0.149s ok runtime/pprof 4.724s ok runtime/trace 0.998s ok slices 0.076s ok sort 0.113s ok strconv 0.234s ok strings 0.824s ok sync 0.343s ok sync/atomic 0.471s ok syscall 0.364s ok testing 0.435s ok testing/fstest 0.177s ok testing/iotest 0.128s ok testing/quick 0.088s ok text/scanner 0.087s ok text/tabwriter 0.132s ok text/template 0.112s ok text/template/parse 0.144s ok time 2.521s ok unicode 0.076s ok unicode/utf16 0.063s ok unicode/utf8 0.109s ok cmd/addr2line 0.620s ok cmd/api 4.131s ok cmd/asm/internal/asm 0.291s ok cmd/asm/internal/lex 0.078s ok cmd/compile/internal/abt 0.124s ok cmd/compile/internal/amd64 0.110s ok cmd/compile/internal/base 0.076s ok cmd/compile/internal/compare 0.097s ok cmd/compile/internal/dwarfgen 0.195s ok cmd/compile/internal/importer 0.681s ok cmd/compile/internal/ir 0.088s ok cmd/compile/internal/logopt 0.171s ok cmd/compile/internal/loopvar 10.201s ok cmd/compile/internal/noder 0.123s ok cmd/compile/internal/reflectdata 0.176s [no tests to run] ok cmd/compile/internal/ssa 10.914s ok cmd/compile/internal/syntax 0.263s ok cmd/compile/internal/test 6.709s ok cmd/compile/internal/typecheck 0.344s ok cmd/compile/internal/types 0.078s ok cmd/compile/internal/types2 2.556s ok cmd/covdata 0.080s ok cmd/cover 0.882s ok cmd/dist 0.114s ok cmd/doc 0.176s ok cmd/fix 2.067s vcs-test.golang.org rerouted to http://127.0.0.1:56593 https://vcs-test.golang.org rerouted to https://127.0.0.1:56594 go test proxy running at GOPROXY=http://127.0.0.1:56595/mod --- FAIL: TestScript (0.12s) --- FAIL: TestScript/build_static (1.74s) script_test.go:134: 2023-03-17T20:04:54Z script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-2354868885/tmpdir1114910982/build_static3228695739 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.330s) # Building with -linkmode=external should not say anything about # runtime/cgo (issue #31544). (1.024s) # Building with -linkmode=external -extldflags=-static should work. (0.381s) > 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 19.603s FAIL go tool dist: Failed: exit status 1