You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2025. It is now read-only.
This fixes a strange build error (I'm using Go v1.17.3):
$ xk6 build --with github.com/grafana/xk6-browser=. <<<
2022/01/24 12:08:13 [INFO] Temporary folder: /tmp/buildenv_2022-01-24-1208.2570827279
2022/01/24 12:08:13 [INFO] Writing main module: /tmp/buildenv_2022-01-24-1208.2570827279/main.go
2022/01/24 12:08:13 [INFO] Initializing Go module
2022/01/24 12:08:13 [INFO] exec (timeout=10s): /home/ivan/.local/go/bin/go mod init k6
go: creating new go.mod: module k6
go: to add module requirements and sums:
go mod tidy
2022/01/24 12:08:13 [INFO] Replace github.com/grafana/xk6-browser => /home/ivan/Projects/grafana/xk6-browser
2022/01/24 12:08:13 [INFO] exec (timeout=10s): /home/ivan/.local/go/bin/go mod edit -replace github.com/grafana/xk6-browser=/home/ivan/Projects/grafana/xk6-browser
2022/01/24 12:08:13 [INFO] Pinning versions
2022/01/24 12:08:13 [INFO] exec (timeout=0s): /home/ivan/.local/go/bin/go mod edit -require go.k6.io/k6@latest
2022/01/24 12:08:13 [INFO] exec (timeout=0s): /home/ivan/.local/go/bin/go mod tidy
go: finding module for package github.com/nxadm/tail
go: found github.com/grafana/xk6-browser in github.com/grafana/xk6-browser v0.0.0-00010101000000-000000000000
go: found github.com/nxadm/tail in github.com/nxadm/tail v1.4.8
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto tested by
github.com/golang/protobuf/proto.test imports
github.com/google/go-cmp/cmp loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto imports
google.golang.org/protobuf/reflect/protoregistry tested by
google.golang.org/protobuf/reflect/protoregistry.test imports
github.com/google/go-cmp/cmp/cmpopts loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto tested by
github.com/golang/protobuf/proto.test imports
github.com/google/go-cmp/cmp imports
github.com/google/go-cmp/cmp/internal/diff loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto tested by
github.com/golang/protobuf/proto.test imports
github.com/google/go-cmp/cmp imports
github.com/google/go-cmp/cmp/internal/flags loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto tested by
github.com/golang/protobuf/proto.test imports
github.com/google/go-cmp/cmp imports
github.com/google/go-cmp/cmp/internal/function loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
k6 imports
go.k6.io/k6/cmd imports
go.k6.io/k6/js imports
go.k6.io/k6/js/modules/k6/grpc imports
github.com/golang/protobuf/proto tested by
github.com/golang/protobuf/proto.test imports
github.com/google/go-cmp/cmp imports
github.com/google/go-cmp/cmp/internal/value loaded from github.com/google/[email protected],
but go 1.16 would select v0.5.1
To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning
2022/01/24 12:08:13 [INFO] Cleaning up temporary folder: /tmp/buildenv_2022-01-24-1208.2570827279
2022/01/24 12:08:13 [FATAL] exit status 1
0 commit comments