darwin-arm64-12 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=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.159s ok archive/zip 0.205s ok bufio 0.175s ok bytes 1.212s ok compress/bzip2 0.215s ok compress/flate 0.320s ok compress/gzip 1.293s ok compress/lzw 0.226s ok compress/zlib 0.348s ok container/heap 0.076s ok container/list 0.103s ok container/ring 0.149s ok context 0.086s ok crypto 0.125s ok crypto/aes 0.180s ok crypto/cipher 0.081s ok crypto/des 0.173s ok crypto/dsa 0.125s ok crypto/ecdh 0.098s ok crypto/ecdsa 0.094s ok crypto/ed25519 0.157s ok crypto/elliptic 0.130s ok crypto/hmac 0.078s ok crypto/internal/alias 0.056s ok crypto/internal/bigmod 0.176s ok crypto/internal/boring 0.103s ok crypto/internal/boring/bcache 0.096s ok crypto/internal/edwards25519 1.997s ok crypto/internal/edwards25519/field 2.130s ok crypto/internal/nistec 0.168s ok crypto/internal/nistec/fiat 0.074s [no tests to run] ok crypto/md5 0.092s ok crypto/rand 0.142s ok crypto/rc4 0.084s ok crypto/rsa 0.264s ok crypto/sha1 0.131s ok crypto/sha256 0.123s ok crypto/sha512 0.076s ok crypto/subtle 0.197s ok crypto/tls 0.336s ok crypto/x509 0.283s ok database/sql 0.465s ok database/sql/driver 0.087s ok debug/buildinfo 0.066s ok debug/dwarf 0.064s ok debug/elf 0.229s ok debug/gosym 0.130s ok debug/macho 0.077s ok debug/pe 0.188s ok debug/plan9obj 0.075s ok embed 0.131s [no tests to run] ok embed/internal/embedtest 0.078s ok encoding/ascii85 0.121s ok encoding/asn1 0.092s ok encoding/base32 0.085s ok encoding/base64 0.075s ok encoding/binary 0.057s ok encoding/csv 0.085s ok encoding/gob 0.621s ok encoding/hex 0.077s ok encoding/json 0.179s ok encoding/pem 0.381s ok encoding/xml 0.224s ok errors 0.075s ok expvar 0.069s ok flag 0.088s ok fmt 0.141s ok go/ast 0.181s ok go/build 0.804s ok go/build/constraint 0.076s ok go/constant 0.058s ok go/doc 0.081s ok go/doc/comment 0.401s ok go/format 0.134s ok go/importer 0.253s ok go/internal/gccgoimporter 0.210s ok go/internal/gcimporter 0.937s ok go/internal/srcimporter 6.139s ok go/parser 0.167s ok go/printer 0.199s ok go/scanner 0.089s ok go/token 0.089s ok go/types 3.433s ok hash 0.141s ok hash/adler32 0.077s ok hash/crc32 0.060s ok hash/crc64 0.103s ok hash/fnv 0.074s ok hash/maphash 0.132s ok html 0.149s ok html/template 0.116s ok image 0.205s ok image/color 0.146s ok image/draw 0.107s ok image/gif 0.185s ok image/jpeg 0.242s ok image/png 0.257s ok index/suffixarray 0.226s ok internal/abi 0.108s ok internal/buildcfg 0.075s ok internal/coverage/cformat 0.122s ok internal/coverage/cmerge 0.168s ok internal/coverage/pods 0.080s ok internal/coverage/slicereader 0.124s ok internal/coverage/slicewriter 0.166s ok internal/coverage/test 0.096s ok internal/cpu 0.078s ok internal/dag 0.121s ok internal/diff 0.081s ok internal/fmtsort 0.075s ok internal/fuzz 0.128s ok internal/godebug 0.073s ok internal/intern 0.208s ok internal/itoa 0.120s ok internal/poll 0.114s ok internal/profile 0.136s ok internal/reflectlite 0.094s ok internal/safefilepath 0.123s ok internal/saferio 0.082s ok internal/singleflight 0.182s ok internal/testenv 0.072s ok internal/trace 0.071s ok internal/types/errors 0.247s ok internal/unsafeheader 0.089s ok internal/xcoff 0.123s ok io 0.100s ok io/fs 0.271s ok io/ioutil 0.078s ok log 0.160s ok log/syslog 1.306s ok maps 0.129s ok math 0.077s ok math/big 0.469s ok math/bits 0.143s ok math/cmplx 0.096s ok math/rand 0.171s ok mime 0.135s ok mime/multipart 0.475s ok mime/quotedprintable 0.081s ok net 8.005s ok net/http 2.574s ok net/http/cgi 0.457s ok net/http/cookiejar 0.102s ok net/http/fcgi 0.324s ok net/http/httptest 0.141s ok net/http/httptrace 0.087s ok net/http/httputil 0.678s ok net/http/internal 0.123s ok net/http/internal/ascii 0.076s ok net/http/pprof 4.108s ok net/internal/socktest 0.075s ok net/mail 0.093s ok net/netip 0.202s ok net/rpc 0.134s ok net/rpc/jsonrpc 0.239s ok net/smtp 0.178s ok net/textproto 0.081s ok net/url 0.072s ok os 0.380s ok os/exec 0.246s ok os/exec/internal/fdtest 0.155s ok os/signal 2.622s ok os/user 0.078s ok path 0.125s ok path/filepath 0.094s ok plugin 0.091s ok reflect 0.179s ok regexp 0.302s ok regexp/syntax 0.482s ok runtime 13.706s ok runtime/cgo 0.076s ok runtime/coverage 0.188s ok runtime/debug 0.105s ok runtime/internal/atomic 0.190s ok runtime/internal/math 0.076s ok runtime/internal/sys 0.119s ok runtime/metrics 0.151s ok runtime/pprof 4.665s ok runtime/trace 1.050s ok slices 0.180s ok sort 0.101s ok strconv 0.230s ok strings 0.830s ok sync 0.359s ok sync/atomic 0.353s ok syscall 0.244s ok testing 0.532s ok testing/fstest 0.078s ok testing/iotest 0.125s ok testing/quick 0.088s ok text/scanner 0.096s ok text/tabwriter 0.141s ok text/template 0.107s ok text/template/parse 0.136s ok time 2.528s ok unicode 0.073s ok unicode/utf16 0.103s ok unicode/utf8 0.060s ok cmd/addr2line 0.519s ok cmd/api 4.133s ok cmd/asm/internal/asm 0.304s ok cmd/asm/internal/lex 0.074s ok cmd/compile/internal/abt 0.121s ok cmd/compile/internal/amd64 0.109s ok cmd/compile/internal/base 0.077s ok cmd/compile/internal/compare 0.112s ok cmd/compile/internal/dwarfgen 0.202s ok cmd/compile/internal/importer 0.591s ok cmd/compile/internal/ir 0.162s ok cmd/compile/internal/logopt 0.258s ok cmd/compile/internal/loopvar 10.216s ok cmd/compile/internal/noder 0.174s ok cmd/compile/internal/reflectdata 0.088s [no tests to run] ok cmd/compile/internal/ssa 10.992s ok cmd/compile/internal/syntax 0.094s ok cmd/compile/internal/test 6.944s ok cmd/compile/internal/typecheck 0.311s ok cmd/compile/internal/types 0.140s ok cmd/compile/internal/types2 2.541s ok cmd/covdata 0.079s ok cmd/cover 0.868s ok cmd/dist 0.064s ok cmd/doc 0.202s ok cmd/fix 2.100s vcs-test.golang.org rerouted to http://127.0.0.1:56233 https://vcs-test.golang.org rerouted to https://127.0.0.1:56234 go test proxy running at GOPROXY=http://127.0.0.1:56235/mod --- FAIL: TestScript (0.11s) --- FAIL: TestScript/build_static (1.45s) script_test.go:134: 2023-03-17T20:29:34Z script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-1002632218/tmpdir3073852368/build_static2087607364 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.351s) # Building with -linkmode=external should not say anything about # runtime/cgo (issue #31544). (0.760s) # Building with -linkmode=external -extldflags=-static should work. (0.331s) > 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.730s FAIL go tool dist: Failed: exit status 1