Build fails here. Using v1.13 to build:
go test proxy running at GOPROXY=
http://127.0.0.1:41805/modgo proxy: no archive
rsc.io v1.5.2: file does not exist
go proxy: no archive
rsc.io v1.0.0: file does not exist
go proxy: no archive
rsc.io v1.0.0: file does not exist
go proxy: no archive
rsc.io v1.0.0: file does not exist
go proxy: no archive
rsc.io v1.0.0: file does not exist
go proxy: no archive
rsc.io v1.1.0: file does not exist
go proxy: no archive
rsc.io v1.5.1: file does not exist
go proxy: no archive
example.com/newcycle v1.0.0: file does not exist
--- FAIL: TestScript (0.00s)
--- FAIL: TestScript/vendor_complex (0.57s)
script_test.go:191:
# smoke test for complex build configuration (0.571s)
> go build -o complex.exe complex
> [exec:gccgo] go build -compiler=gccgo -o complex.exe complex
[stderr]
package complex
imports runtime: cannot find package "runtime" in any of:
$WORK/gopath/src/complex/vendor/runtime (vendor tree)
/home/steve/Go/go1.13.4/src/runtime (from $GOROOT)
$WORK/gopath/src/runtime (from $GOPATH)
[exit status 1]
FAIL: testdata/script/vendor_complex.txt:5: unexpected command failure
--- FAIL: TestIssue7573 (0.01s)
go_test.go:3048: running testgo [build -n -compiler gccgo cgoref]
go_test.go:3048: standard error:
go_test.go:3048: package cgoref
imports runtime: cannot find package "runtime" in any of:
/home/steve/Go/go1.13.4/src/runtime (from $GOROOT)
/tmp/cmd-go-test-589579455/gotest023101038/src/runtime (from $GOPATH)
package cgoref
imports syscall: cannot find package "syscall" in any of:
/home/steve/Go/go1.13.4/src/syscall (from $GOROOT)
/tmp/cmd-go-test-589579455/gotest023101038/src/syscall (from $GOPATH)
go_test.go:3048: go [build -n -compiler gccgo cgoref] failed unexpectedly in /home/steve/Go/go1.13.4/src/cmd/go: exit status 1
FAIL
FAIL cmd/go 91.345s