proto
proto copied to clipboard
Inject `$GOBIN` into the user's shell
What version?
0.41.1
Which command?
proto install go
What happened?
15:33 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
✗ proto install go
──────────────────── | Installing Go ✨ There's a new version of proto available, 0.41.1 (currently on 0.41.0)
✨ Run proto upgrade or install from https://moonrepo.dev/docs/proto/install
Go 1.23.1 has been installed to ~/.proto/tools/go/1.23.1!
15:34 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6 30s
➜ go install go.k6.io/xk6/cmd/xk6@latest
go: downloading go.k6.io/xk6 v0.13.0
go: downloading github.com/Masterminds/semver/v3 v3.1.1
15:34 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6 6s
➜ $ xk6 build --with github.com/szkiba/xk6-dotenv@latest
$: command not found
15:34 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
✗ source $HOME/.zshrc
[zplug] Loaded from cache (/home/imbios/.zplug/cache)
Load "~/.zplug/repos/zsh-users/zsh-completions/zsh-completions.plugin.zsh" (zsh-users/zsh-completions)
Load "~/.zplug/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh" (zsh-users/zsh-history-substring-search)
Load "~/.zplug/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh" (zsh-users/zsh-autosuggestions)
Load "~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh" (zsh-users/zsh-syntax-highlighting)
Load "~/.zplug/repos/ohmyzsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh" (plugins/sudo)
Load "~/.zplug/repos/ohmyzsh/ohmyzsh/plugins/command-not-found/command-not-found.plugin.zsh" (plugins/command-not-found)
Load "~/.zplug/repos/ohmyzsh/ohmyzsh/lib/git.zsh" (plugins/git)
Load "~/.zplug/repos/ohmyzsh/ohmyzsh/plugins/git/git.plugin.zsh" (plugins/git)
[zplug] Run compinit
15:34 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ $ xk6 build --with github.com/szkiba/xk6-dotenv@latest
$: command not found
15:34 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
✗ go install go.k6.io/xk6/cmd/xk6@latest
15:35 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ echo $GOBIN
15:35 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ go
Go is a tool for managing Go source code.
Usage:
go <command> [arguments]
The commands are:
bug start a bug report
build compile packages and dependencies
clean remove object files and cached files
doc show documentation for package or symbol
env print Go environment information
fix update packages to use new APIs
fmt gofmt (reformat) package sources
generate generate Go files by processing source
get add dependencies to current module and install them
install compile and install packages and dependencies
list list packages or modules
mod module maintenance
work workspace maintenance
run compile and run Go program
telemetry manage telemetry data and settings
test test packages
tool run specified go tool
version print Go version
vet report likely mistakes in packages
Use "go help <command>" for more information about a command.
Additional help topics:
buildconstraint build constraints
buildmode build modes
c calling between Go and C
cache build and test caching
environment environment variables
filetype file types
go.mod the go.mod file
gopath GOPATH environment variable
goproxy module proxy protocol
importpath import path syntax
modules modules, module versions, and more
module-auth module authentication using go.sum
packages package lists and patterns
private configuration for downloading non-public code
testflag testing flags
testfunc testing functions
vcs controlling version control with GOVCS
Use "go help <topic>" for more information about that topic.
15:35 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
✗ which go
/home/imbios/.proto/shims/go
15:35 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ echo $GOBIN
15:36 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ echo $GOROOT
15:36 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ echo $GOPATH
15:36 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via v20.17.0 via 🐍 v3.12.6
➜ ls ~/go/bin
gopls staticcheck xk6
Trace logs?
15:39 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via via 🐍 v3.12.6
✗ PROTO_LOG=trace proto uninstall go
[DEBUG 2024-09-12 15:39:20.272] proto Running proto v0.41.1 bin="proto" args=["uninstall", "go"] pid=628577
[TRACE 15:39:20.273] starbase::app Running startup phase
[DEBUG 15:39:20.273] proto_core::proto Creating proto environment, detecting store store="/home/imbios/.proto" home="/home/imbios"
[TRACE 15:39:20.273] starbase::app Running analyze phase
[DEBUG 15:39:20.273] proto::systems Loading configuration in upwards-global mode working_dir="/home/imbios/projects/lab-londo-2"
[DEBUG 15:39:20.273] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:39:20.273] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:20.273] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:20.273] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:20.273] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:39:20.273] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:39:20.273] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[DEBUG 15:39:20.273] proto_core::proto_config Merging loaded configs with global
[DEBUG 15:39:20.273] proto_core::proto_config Merged 1 configs
[DEBUG 15:39:20.273] proto_core::proto_config Merging loaded configs without global
[DEBUG 15:39:20.273] proto_core::proto_config Merged 0 configs
[TRACE 15:39:20.273] starbase::app Running execute phase
[TRACE 15:39:20.273] starbase_utils::net Checking for an internet connection timeout=750
[DEBUG 15:39:20.273] proto_core::tool_loader Finding a configured plugin tool="go"
[DEBUG 15:39:20.273] proto_core::tool_loader Using a built-in plugin plugin="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:39:20.273] warpgate::loader Creating plugin loader cache_dir="/home/imbios/.proto/plugins"
[TRACE 15:39:20.273] warpgate::loader Loading plugin go id="go" locator="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:39:20.273] starbase_utils::net::offline Resolving 1.1.1.1:53
[TRACE 15:39:20.273] starbase_utils::fs Reading file metadata file="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:39:20.273] warpgate::loader Plugin already downloaded and cached id="go" path="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[DEBUG 15:39:20.273] proto_core::tool_loader Loading WASM plugin source="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:39:20.275] warpgate::plugin Storing plugin identifier id="go"
[TRACE 15:39:20.275] warpgate::plugin Storing host environment id="go" env={"arch":"x64","libc":"gnu","os":"linux","home_dir":{"path":"/userhome/","virtual_prefix":"/userhome","real_prefix":"/home/imbios"}}
[DEBUG 15:39:20.275] proto_core::tool Creating tool go and instantiating plugin
[DEBUG 15:39:20.275] warpgate::client Creating HTTP client
[DEBUG 15:39:20.277] warpgate::client Created HTTP client
[TRACE 15:39:20.277] warpgate::plugin Creating plugin container id="go"
[TRACE 15:39:20.284] warpgate::plugin Created plugin container id="go" plugin="f5649893-e6eb-4e2c-b047-ba11084dfade"
[DEBUG 15:39:20.284] proto_core::tool Created tool go and its WASM runtime
[TRACE 15:39:20.284] warpgate::plugin Calling guest function register_tool id="go" plugin="f5649893-e6eb-4e2c-b047-ba11084dfade" input={"id":"go"}
[TRACE 15:39:20.285] warpgate::plugin Called guest function register_tool id="go" plugin="f5649893-e6eb-4e2c-b047-ba11084dfade" output={"config_schema":{"name":"GoPluginConfig","ty":{"type":"Struct","fields":{"dist-url":{"schema":{"ty":{"type":"String"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false},"gobin":{"schema":{"ty":{"type":"Boolean"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false}},"partial":false}},"inventory":{},"name":"Go","plugin_version":"0.13.0","type":"Language"}
[DEBUG 15:39:20.285] proto_core::tool_manifest Loading manifest.json file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:39:20.285] starbase_utils::fs Opening file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:39:20.285] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:39:20.285] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/tools/go/manifest.json"
? Purge all of Go at ~/.proto/tools/go? (y/n) ›[TRACE 15:39:20.306] starbase_utils::net Online!
[TRACE 15:39:20.306] starbase_utils::fs Reading file file="/home/imbios/.proto/temp/.last-version-check"
✔ Purge all of Go at ~/.proto/tools/go? · yes
[TRACE 15:39:25.641] starbase_utils::fs Removing directory dir="/home/imbios/.proto/tools/go"
[TRACE 15:39:25.799] warpgate::plugin Calling guest function locate_executables id="go" plugin="f5649893-e6eb-4e2c-b047-ba11084dfade" input={"context":{"proto_version":"0.41.1","tool_dir":{"path":"/proto/tools/go/latest","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"},"version":"latest"}}
[TRACE 15:39:25.799] warpgate::plugin Called guest function locate_executables id="go" plugin="f5649893-e6eb-4e2c-b047-ba11084dfade" output={"globals_lookup_dirs":["$GOBIN","$GOROOT/bin","$GOPATH/bin","$HOME/go/bin"],"primary":{"exe_path":"bin/go"},"secondary":{"gofmt":{"exe_path":"bin/gofmt"}}}
[TRACE 15:39:25.799] starbase_utils::fs Removing symlink file="/home/imbios/.proto/bin/go"
[TRACE 15:39:25.799] starbase_utils::fs Removing symlink file="/home/imbios/.proto/bin/gofmt"
[TRACE 15:39:25.799] starbase_utils::fs Removing file file="/home/imbios/.proto/shims/go"
[TRACE 15:39:25.799] starbase_utils::fs Removing file file="/home/imbios/.proto/shims/gofmt"
Purged Go
[DEBUG 15:39:25.799] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:39:25.799] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:39:25.799] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[TRACE 15:39:25.799] starbase_utils::toml Formatting TOML
[TRACE 15:39:25.799] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs_lock Locking file exclusively file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs_lock Writing file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.799] starbase_utils::fs_lock Unlocking file exclusively file="/home/imbios/.proto/.prototools"
[TRACE 15:39:25.801] starbase_utils::fs Reading file file="/home/imbios/.proto/id"
[TRACE 15:39:29.867] starbase::app Running shutdown phase
15:39 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via via 🐍 v3.12.6 9s
➜ PROTO_LOG=trace proto install go
[DEBUG 2024-09-12 15:39:35.409] proto Running proto v0.41.1 bin="proto" args=["install", "go"] pid=628916
[TRACE 15:39:35.409] starbase::app Running startup phase
[DEBUG 15:39:35.409] proto_core::proto Creating proto environment, detecting store store="/home/imbios/.proto" home="/home/imbios"
[TRACE 15:39:35.409] starbase::app Running analyze phase
[DEBUG 15:39:35.409] proto::systems Loading configuration in upwards mode working_dir="/home/imbios/projects/lab-londo-2"
[DEBUG 15:39:35.409] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:39:35.409] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:35.409] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:35.409] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:39:35.409] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:39:35.409] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:39:35.409] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[DEBUG 15:39:35.409] proto_core::proto_config Merging loaded configs without global
[DEBUG 15:39:35.409] proto_core::proto_config Merged 0 configs
[TRACE 15:39:35.409] starbase::app Running execute phase
[TRACE 15:39:35.410] starbase_utils::net Checking for an internet connection timeout=750
[DEBUG 15:39:35.410] proto::commands::install Loading tool id="go"
[DEBUG 15:39:35.410] proto_core::tool_loader Finding a configured plugin tool="go"
[DEBUG 15:39:35.410] proto_core::proto_config Merging loaded configs with global
[DEBUG 15:39:35.410] proto_core::proto_config Merged 1 configs
[DEBUG 15:39:35.410] proto_core::tool_loader Using a built-in plugin plugin="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:39:35.410] warpgate::loader Creating plugin loader cache_dir="/home/imbios/.proto/plugins"
[TRACE 15:39:35.410] warpgate::loader Loading plugin go id="go" locator="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:39:35.410] starbase_utils::net::offline Resolving 1.1.1.1:53
[TRACE 15:39:35.410] starbase_utils::fs Reading file metadata file="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:39:35.410] warpgate::loader Plugin already downloaded and cached id="go" path="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[DEBUG 15:39:35.410] proto_core::tool_loader Loading WASM plugin source="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:39:35.411] warpgate::plugin Storing plugin identifier id="go"
[TRACE 15:39:35.411] warpgate::plugin Storing host environment id="go" env={"arch":"x64","libc":"gnu","os":"linux","home_dir":{"path":"/userhome/","virtual_prefix":"/userhome","real_prefix":"/home/imbios"}}
[DEBUG 15:39:35.411] proto_core::tool Creating tool go and instantiating plugin
[DEBUG 15:39:35.411] warpgate::client Creating HTTP client
[DEBUG 15:39:35.413] warpgate::client Created HTTP client
[TRACE 15:39:35.413] warpgate::plugin Creating plugin container id="go"
[TRACE 15:39:35.421] warpgate::plugin Created plugin container id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112"
[DEBUG 15:39:35.421] proto_core::tool Created tool go and its WASM runtime
[TRACE 15:39:35.421] warpgate::plugin Calling guest function register_tool id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"id":"go"}
[TRACE 15:39:35.421] warpgate::plugin Called guest function register_tool id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" output={"config_schema":{"name":"GoPluginConfig","ty":{"type":"Struct","fields":{"dist-url":{"schema":{"ty":{"type":"String"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false},"gobin":{"schema":{"ty":{"type":"Boolean"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false}},"partial":false}},"inventory":{},"name":"Go","plugin_version":"0.13.0","type":"Language"}
[DEBUG 15:39:35.421] proto_core::tool_manifest Loading manifest.json file="/home/imbios/.proto/tools/go/manifest.json"
──────────────────── | Installing Go [DEBUG 15:39:35.421] proto_core::flow::resolve Resolving a semantic version or alias tool="go" initial_version="latest"
[DEBUG 15:39:35.421] proto_core::flow::resolve Loading available versions tool="go"
[TRACE 15:39:35.463] starbase_utils::net Online!
[TRACE 15:39:35.463] starbase_utils::fs Reading file file="/home/imbios/.proto/temp/.last-version-check"
[TRACE 15:39:35.463] warpgate::plugin Calling guest function load_versions id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"initial":"latest"}
[DEBUG 15:39:35.463] extism::pdk Loading Git tags from remote https://github.com/golang/go plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112"
[TRACE 15:39:35.463] warpgate::host Calling host function exec_command plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"command":"git","args":["ls-remote","--tags","--sort","version:refname","https://github.com/golang/go"],"env":{},"set_executable":false,"stream":false,"working_dir":null}
[TRACE 15:39:36.253] warpgate::host Called host function exec_command plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" command="/usr/bin/git" exit_code=0 stderr_len=0 stdout_len=26692
[DEBUG 15:39:36.254] extism::pdk Loaded 428 Git tags plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112"
[TRACE 15:39:36.255] warpgate::plugin Called guest function load_versions id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" output={"latest":"1.23.1","aliases":{"latest":"1.23.1"},"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.1.0-rc2","1.1.0-rc3","1.2.0","1.2.1","1.2.2","1.2.0-rc2","1.2.0-rc3","1.2.0-rc4","1.2.0-rc5","1.3.0","1.3.1","1.3.2","1.3.3","1.3.0-beta1","1.3.0-beta2","1.3.0-rc1","1.3.0-rc2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.0-beta1","1.4.0-rc1","1.4.0-rc2","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.0-beta1","1.5.0-beta2","1.5.0-beta3","1.5.0-rc1","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.0-beta1","1.6.0-beta2","1.6.0-rc1","1.6.0-rc2","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.0-beta1","1.7.0-beta2","1.7.0-rc1","1.7.0-rc2","1.7.0-rc3","1.7.0-rc4","1.7.0-rc5","1.7.0-rc6","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.5-rc4","1.8.5-rc5","1.8.6","1.8.7","1.8.0-beta1","1.8.0-beta2","1.8.0-rc1","1.8.0-rc2","1.8.0-rc3","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.0-beta1","1.9.0-beta2","1.9.0-rc1","1.9.0-rc2","1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.10.5","1.10.6","1.10.7","1.10.8","1.10.0-beta1","1.10.0-beta2","1.10.0-rc1","1.10.0-rc2","1.11.0","1.11.1","1.11.2","1.11.3","1.11.4","1.11.5","1.11.6","1.11.7","1.11.8","1.11.9","1.11.10","1.11.11","1.11.12","1.11.13","1.11.0-beta1","1.11.0-beta2","1.11.0-beta3","1.11.0-rc1","1.11.0-rc2","1.12.0","1.12.1","1.12.2","1.12.3","1.12.4","1.12.5","1.12.6","1.12.7","1.12.8","1.12.9","1.12.10","1.12.11","1.12.12","1.12.13","1.12.14","1.12.15","1.12.16","1.12.17","1.12.0-beta1","1.12.0-beta2","1.12.0-rc1","1.13.0","1.13.1","1.13.2","1.13.3","1.13.4","1.13.5","1.13.6","1.13.7","1.13.8","1.13.9","1.13.10","1.13.11","1.13.12","1.13.13","1.13.14","1.13.15","1.13.0-beta1","1.13.0-rc1","1.13.0-rc2","1.14.0","1.14.1","1.14.2","1.14.3","1.14.4","1.14.5","1.14.6","1.14.7","1.14.8","1.14.9","1.14.10","1.14.11","1.14.12","1.14.13","1.14.14","1.14.15","1.14.0-beta1","1.14.0-rc1","1.15.0","1.15.1","1.15.2","1.15.3","1.15.4","1.15.5","1.15.6","1.15.7","1.15.8","1.15.9","1.15.10","1.15.11","1.15.12","1.15.13","1.15.14","1.15.15","1.15.0-beta1","1.15.0-rc1","1.15.0-rc2","1.16.0","1.16.1","1.16.2","1.16.3","1.16.4","1.16.5","1.16.6","1.16.7","1.16.8","1.16.9","1.16.10","1.16.11","1.16.12","1.16.13","1.16.14","1.16.15","1.16.0-beta1","1.16.0-rc1","1.17.0","1.17.1","1.17.2","1.17.3","1.17.4","1.17.5","1.17.6","1.17.7","1.17.8","1.17.9","1.17.10","1.17.11","1.17.12","1.17.13","1.17.0-beta1","1.17.0-rc1","1.17.0-rc2","1.18.0","1.18.1","1.18.2","1.18.3","1.18.4","1.18.5","1.18.6","1.18.7","1.18.8","1.18.9","1.18.10","1.18.0-beta1","1.18.0-beta2","1.18.0-rc1","1.19.0","1.19.1","1.19.2","1.19.3","1.19.4","1.19.5","1.19.6","1.19.7","1.19.8","1.19.9","1.19.10","1.19.11","1.19.12","1.19.13","1.19.0-beta1","1.19.0-rc1","1.19.0-rc2","1.20.0","1.20.1","1.20.2","1.20.3","1.20.4","1.20.5","1.20.6","1.20.7","1.20.8","1.20.9","1.20.10","1.20.11","1.20.12","1.20.13","1.20.14","1.20.0-rc1","1.20.0-rc2","1.20.0-rc3","1.21.0","1.21.1","1.21.2","1.21.3","1.21.4","1.21.5","1.21.6","1.21.7","1.21.8","1.21.9","1.21.10","1.21.11","1.21.12","1.21.13","1.21.0-rc1","1.21.0-rc2","1.21.0-rc3","1.21.0-rc4","1.22.0","1.22.1","1.22.2","1.22.3","1.22.4","1.22.5","1.22.6","1.22.7","1.22.0-rc1","1.22.0-rc2","1.23.0","1.23.1","1.23.0-rc1","1.23.0-rc2"]}
[TRACE 15:39:36.256] starbase_utils::json Writing JSON file file="/home/imbios/.proto/tools/go/remote-versions.json"
[TRACE 15:39:36.256] starbase_utils::fs Creating directory dir="/home/imbios/.proto/tools/go"
[TRACE 15:39:36.256] starbase_utils::fs Writing file file="/home/imbios/.proto/tools/go/remote-versions.json"
[TRACE 15:39:36.256] proto_core::version_resolver Resolving a version with manifest candidate="latest"
[TRACE 15:39:36.256] proto_core::version_resolver Found an alias, resolving further alias="latest"
[TRACE 15:39:36.256] proto_core::version_resolver Alias exists with a potential candidate alias="latest" candidate="1.23.1"
[TRACE 15:39:36.256] proto_core::version_resolver Resolving a version with manifest candidate="1.23.1"
[TRACE 15:39:36.256] proto_core::version_resolver Found an explicit version, resolving further version="1.23.1"
[TRACE 15:39:36.256] proto_core::version_resolver Resolved to remote available version version="1.23.1"
[DEBUG 15:39:36.256] proto_core::flow::resolve Resolved to 1.23.1 tool="go" version="1.23.1"
[DEBUG 15:39:36.256] proto_core::flow::setup Checking if tool is installed tool="go" install_dir="/home/imbios/.proto/tools/go/1.23.1"
[DEBUG 15:39:36.256] proto_core::flow::setup Tool has not been installed tool="go"
[DEBUG 15:39:36.256] proto::commands::install Installing Go with version 1.23.1 (from latest)
[TRACE 15:39:36.256] starbase_utils::fs Creating directory dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:39:36.256] starbase_utils::fs_lock Locking directory dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:39:36.256] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/tools/go/1.23.1/.lock"
[TRACE 15:39:36.256] starbase_utils::fs_lock Waiting to acquire lock on directory lock="/home/imbios/.proto/tools/go/1.23.1/.lock"
[TRACE 15:39:36.256] starbase_utils::fs_lock Acquired lock on directory, writing PID lock="/home/imbios/.proto/tools/go/1.23.1/.lock" pid=628916
[DEBUG 15:39:36.256] proto_core::flow::install Installing tool by downloading a pre-built archive tool="go"
[TRACE 15:39:36.256] warpgate::plugin Calling guest function download_prebuilt id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"context":{"proto_version":"0.41.1","tool_dir":{"path":"/proto/tools/go/1.23.1","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"},"version":"1.23.1"},"install_dir":{"path":"/proto/tools/go/1.23.1","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"}}
[TRACE 15:39:36.256] warpgate::plugin Called guest function download_prebuilt id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" output={"archive_prefix":"go","checksum_url":"https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz.sha256","download_name":"go1.23.1.linux-amd64.tar.gz","download_url":"https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz"}
──────────────────── | 0 B / 100 B | 0 B/s | Downloading pre-built archive [DEBUG 15:39:36.256] proto_core::flow::install Downloading tool archive tool="go"
[TRACE 15:39:36.258] starbase_utils::net Downloading file from remote URL to local file source_url="https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz" dest_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
[TRACE 15:39:37.826] starbase_utils::fs Creating directory dir="/home/imbios/.proto/temp/go/1.23.1"
[TRACE 15:39:37.826] starbase_utils::fs Creating file file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
━━━━━━━━━━━━━━━━━━━╾ | 70.16 MiB / 70.19 MiB | 2.68 MiB/s | Downloading pre-built archive [DEBUG 15:40:03.042] proto_core::flow::install Downloading tool checksum tool="go"
[TRACE 15:40:03.047] starbase_utils::net Downloading file from remote URL to local file source_url="https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz.sha256" dest_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz.sha256"
[TRACE 15:40:03.104] starbase_utils::fs Creating file file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz.sha256"
[DEBUG 15:40:03.104] proto_core::flow::install Verifying checksum of downloaded file tool="go" download_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz" checksum_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz.sha256"
[TRACE 15:40:03.104] proto_core::checksum::sha256 Calculating SHA256 checksum file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
[TRACE 15:40:03.104] starbase_utils::fs Opening file file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
━━━━━━━━━━━━━━━━━━╾ | Verifying checksum [TRACE 15:40:03.167] proto_core::checksum::sha256 Calculated hash hash="49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd"
[TRACE 15:40:03.167] starbase_utils::fs Opening file file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz.sha256"
[DEBUG 15:40:03.167] proto_core::flow::install Successfully verified, checksum matches tool="go"
[DEBUG 15:40:03.167] proto_core::flow::install Attempting to unpack archive tool="go" download_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz" install_dir="/home/imbios/.proto/tools/go/1.23.1"
━━━━━━━━━━━━━━━━━━╾ | Verifying checksum [TRACE 15:40:03.167] starbase_archive::archive Unpacking archive output_dir="/home/imbios/.proto/tools/go/1.23.1" input_file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
[TRACE 15:40:03.167] starbase_archive::tree_differ Creating a file tree differ for destination directory dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:40:03.167] starbase_utils::fs Opening file file="/home/imbios/.proto/temp/go/1.23.1/go1.23.1.linux-amd64.tar.gz"
[TRACE 15:40:03.167] starbase_archive::tar Opening tarball output_dir="/home/imbios/.proto/tools/go/1.23.1"
━━━━━━━╾ | Unpacking archive [TRACE 15:40:03.967] starbase_archive::tar Unpacked 14730 files
[TRACE 15:40:03.967] starbase_archive::tree_differ Removing stale and invalid files
[TRACE 15:40:03.967] starbase_utils::fs_lock Unlocking directory dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:40:03.967] starbase_utils::fs Removing file file="/home/imbios/.proto/tools/go/1.23.1/.lock"
[DEBUG 15:40:03.967] proto_core::flow::install Successfully installed tool tool="go" install_dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:40:03.967] starbase_utils::fs_lock Unlocking directory dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:40:03.967] warpgate::plugin Calling guest function locate_executables id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"context":{"proto_version":"0.41.1","tool_dir":{"path":"/proto/tools/go/1.23.1","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"},"version":"1.23.1"}}
[TRACE 15:40:03.968] warpgate::plugin Called guest function locate_executables id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" output={"globals_lookup_dirs":["$GOBIN","$GOROOT/bin","$GOPATH/bin","$HOME/go/bin"],"primary":{"exe_path":"bin/go"},"secondary":{"gofmt":{"exe_path":"bin/gofmt"}}}
[DEBUG 15:40:03.968] proto_core::flow::link Creating shims as they either do not exist, or are outdated tool="go" shims_dir="/home/imbios/.proto/shims" shim_version=16
[DEBUG 15:40:03.968] proto_core::tool_manifest Saving manifest file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.968] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.968] starbase_utils::fs_lock Locking file exclusively file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.968] starbase_utils::fs_lock Writing file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.968] starbase_utils::fs_lock Unlocking file exclusively file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.968] starbase_utils::fs_lock Locking directory dir="/home/imbios/.proto/shims"
[TRACE 15:40:03.968] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/shims/.lock"
[TRACE 15:40:03.968] starbase_utils::fs_lock Waiting to acquire lock on directory lock="/home/imbios/.proto/shims/.lock"
[TRACE 15:40:03.968] starbase_utils::fs_lock Acquired lock on directory, writing PID lock="/home/imbios/.proto/shims/.lock" pid=628916
[TRACE 15:40:03.968] starbase_utils::fs Reading bytes of file file="/home/imbios/.proto/tools/proto/0.41.1/proto-shim"
━━━━━━━━╾ | Unpacking archive [DEBUG 15:40:03.968] proto_core::flow::link Creating shim tool="go" shim="/home/imbios/.proto/shims/go" shim_version=16
[DEBUG 15:40:03.968] proto_core::flow::link Creating shim tool="go" shim="/home/imbios/.proto/shims/gofmt" shim_version=16
[TRACE 15:40:03.969] starbase_utils::fs Opening file file="/home/imbios/.proto/shims/registry.json"
[TRACE 15:40:03.969] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/shims/registry.json"
[TRACE 15:40:03.969] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/shims/registry.json"
[TRACE 15:40:03.969] starbase_utils::fs_lock Unlocking directory dir="/home/imbios/.proto/shims"
[TRACE 15:40:03.969] starbase_utils::fs Removing file file="/home/imbios/.proto/shims/.lock"
[TRACE 15:40:03.969] starbase_utils::fs_lock Locking directory dir="/home/imbios/.proto/bin"
[TRACE 15:40:03.969] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/bin/.lock"
[TRACE 15:40:03.969] starbase_utils::fs_lock Waiting to acquire lock on directory lock="/home/imbios/.proto/bin/.lock"
[TRACE 15:40:03.969] starbase_utils::fs_lock Acquired lock on directory, writing PID lock="/home/imbios/.proto/bin/.lock" pid=628916
[DEBUG 15:40:03.969] proto_core::flow::link Creating binary symlink tool="go" source="/home/imbios/.proto/tools/go/1.23.1/bin/go" target="/home/imbios/.proto/bin/go"
[DEBUG 15:40:03.969] proto_core::flow::link Creating binary symlink tool="go" source="/home/imbios/.proto/tools/go/1.23.1/bin/gofmt" target="/home/imbios/.proto/bin/gofmt"
[TRACE 15:40:03.969] starbase_utils::fs_lock Unlocking directory dir="/home/imbios/.proto/bin"
[TRACE 15:40:03.969] starbase_utils::fs Removing file file="/home/imbios/.proto/bin/.lock"
[DEBUG 15:40:03.969] proto_core::flow::setup Cleaning up temporary files and downloads tool="go"
[TRACE 15:40:03.969] starbase_utils::fs Removing directory dir="/home/imbios/.proto/temp/go/1.23.1"
[DEBUG 15:40:03.977] proto_core::tool_manifest Saving manifest file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.977] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.977] starbase_utils::fs_lock Locking file exclusively file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.977] starbase_utils::fs_lock Writing file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:03.977] starbase_utils::fs_lock Unlocking file exclusively file="/home/imbios/.proto/tools/go/manifest.json"
[DEBUG 15:40:03.977] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:40:03.977] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:40:03.977] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[TRACE 15:40:03.977] starbase_utils::toml Formatting TOML
[TRACE 15:40:03.977] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs_lock Locking file exclusively file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs_lock Writing file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.977] starbase_utils::fs_lock Unlocking file exclusively file="/home/imbios/.proto/.prototools"
[DEBUG 15:40:03.977] proto_core::flow::link Creating symlinks to the original tool executables tool="go" bins_dir="/home/imbios/.proto/bin"
[TRACE 15:40:03.977] starbase_utils::fs_lock Locking directory dir="/home/imbios/.proto/bin"
[TRACE 15:40:03.977] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/bin/.lock"
[TRACE 15:40:03.977] starbase_utils::fs_lock Waiting to acquire lock on directory lock="/home/imbios/.proto/bin/.lock"
[TRACE 15:40:03.977] starbase_utils::fs_lock Acquired lock on directory, writing PID lock="/home/imbios/.proto/bin/.lock" pid=628916
[DEBUG 15:40:03.977] proto_core::flow::link Creating binary symlink tool="go" source="/home/imbios/.proto/tools/go/1.23.1/bin/go" target="/home/imbios/.proto/bin/go"
[TRACE 15:40:03.977] starbase_utils::fs Removing symlink file="/home/imbios/.proto/bin/go"
[DEBUG 15:40:03.977] proto_core::flow::link Creating binary symlink tool="go" source="/home/imbios/.proto/tools/go/1.23.1/bin/gofmt" target="/home/imbios/.proto/bin/gofmt"
[TRACE 15:40:03.978] starbase_utils::fs Removing symlink file="/home/imbios/.proto/bin/gofmt"
[TRACE 15:40:03.978] starbase_utils::fs_lock Unlocking directory dir="/home/imbios/.proto/bin"
[TRACE 15:40:03.978] starbase_utils::fs Removing file file="/home/imbios/.proto/bin/.lock"
[DEBUG 15:40:03.978] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:40:03.978] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:40:03.978] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[TRACE 15:40:03.978] starbase_utils::toml Formatting TOML
[TRACE 15:40:03.978] starbase_utils::fs Creating file without truncating file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs_lock Locking file exclusively file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs_lock Writing file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.978] starbase_utils::fs_lock Unlocking file exclusively file="/home/imbios/.proto/.prototools"
[DEBUG 15:40:03.978] proto::commands::pin Pinned the version version="1.23.1" config="/home/imbios/.proto/.prototools"
[TRACE 15:40:03.980] starbase_utils::fs Reading file file="/home/imbios/.proto/id"
[TRACE 15:40:05.809] warpgate::plugin Calling guest function sync_shell_profile id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" input={"context":{"proto_version":"0.41.1","tool_dir":{"path":"/proto/tools/go/1.23.1","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"},"version":"1.23.1"},"passthrough_args":[]}
[TRACE 15:40:05.809] warpgate::plugin Called guest function sync_shell_profile id="go" plugin="4cf46820-d8aa-4795-87ba-8c1a87ada112" output={"check_var":"GOBIN","export_vars":{"GOBIN":"$HOME/go/bin"},"extend_path":["$GOBIN"],"skip_sync":true}
Go 1.23.1 has been installed to ~/.proto/tools/go/1.23.1!
[TRACE 15:40:05.810] starbase::app Running shutdown phase
15:40 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via via 🐍 v3.12.6 30s
➜ PROTO_LOG=trace go install go.k6.io/xk6/cmd/xk6@latest
[DEBUG 2024-09-12 15:40:26.780] proto Running proto v0.41.1 bin="/home/imbios/.proto/bin/proto" args=["run", "go", "--", "install", "go.k6.io/xk6/cmd/xk6@latest"] shim="go" shim_bin="/home/imbios/.proto/shims/go" pid=629866
[TRACE 15:40:26.780] starbase::app Running startup phase
[DEBUG 15:40:26.780] proto_core::proto Creating proto environment, detecting store store="/home/imbios/.proto" home="/home/imbios"
[TRACE 15:40:26.780] starbase::app Running analyze phase
[DEBUG 15:40:26.780] proto::systems Loading configuration in upwards-global mode working_dir="/home/imbios/projects/lab-londo-2"
[DEBUG 15:40:26.780] proto_core::proto_config Loading .prototools file="/home/imbios/.proto/.prototools"
[TRACE 15:40:26.780] starbase_utils::fs Opening file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:26.780] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:26.780] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/.prototools"
[TRACE 15:40:26.780] schematic::config::loader Loading partial configuration config="ProtoConfig"
[TRACE 15:40:26.780] schematic::config::loader Creating layer from source config="ProtoConfig" source="<code>"
[TRACE 15:40:26.780] schematic::config::loader Merging partial layers into a final result config="ProtoConfig"
[DEBUG 15:40:26.780] proto_core::proto_config Merging loaded configs with global
[DEBUG 15:40:26.780] proto_core::proto_config Merged 1 configs
[DEBUG 15:40:26.780] proto_core::proto_config Merging loaded configs without global
[DEBUG 15:40:26.780] proto_core::proto_config Merged 0 configs
[TRACE 15:40:26.780] starbase::app Running execute phase
[DEBUG 15:40:26.780] proto_core::tool_loader Finding a configured plugin tool="go"
[DEBUG 15:40:26.780] proto_core::tool_loader Using a built-in plugin plugin="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:40:26.780] warpgate::loader Creating plugin loader cache_dir="/home/imbios/.proto/plugins"
[TRACE 15:40:26.780] warpgate::loader Loading plugin go id="go" locator="https://github.com/moonrepo/tools/releases/download/go_tool-v0.13.0/go_tool.wasm"
[TRACE 15:40:26.780] starbase_utils::fs Reading file metadata file="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:40:26.780] warpgate::loader Plugin already downloaded and cached id="go" path="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[DEBUG 15:40:26.780] proto_core::tool_loader Loading WASM plugin source="/home/imbios/.proto/plugins/go-f7e80cff695d64bd5aa1aab5c38ba0415543e1a65ff9f20db63496ff9b39c07b.wasm"
[TRACE 15:40:26.781] warpgate::plugin Storing plugin identifier id="go"
[TRACE 15:40:26.781] warpgate::plugin Storing host environment id="go" env={"arch":"x64","libc":"gnu","os":"linux","home_dir":{"path":"/userhome/","virtual_prefix":"/userhome","real_prefix":"/home/imbios"}}
[DEBUG 15:40:26.781] proto_core::tool Creating tool go and instantiating plugin
[DEBUG 15:40:26.781] warpgate::client Creating HTTP client
[DEBUG 15:40:26.783] warpgate::client Created HTTP client
[TRACE 15:40:26.784] warpgate::plugin Creating plugin container id="go"
[TRACE 15:40:26.791] warpgate::plugin Created plugin container id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe"
[DEBUG 15:40:26.791] proto_core::tool Created tool go and its WASM runtime
[TRACE 15:40:26.791] warpgate::plugin Calling guest function register_tool id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" input={"id":"go"}
[TRACE 15:40:26.791] warpgate::plugin Called guest function register_tool id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" output={"config_schema":{"name":"GoPluginConfig","ty":{"type":"Struct","fields":{"dist-url":{"schema":{"ty":{"type":"String"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false},"gobin":{"schema":{"ty":{"type":"Boolean"}},"hidden":false,"nullable":false,"optional":true,"read_only":false,"write_only":false}},"partial":false}},"inventory":{},"name":"Go","plugin_version":"0.13.0","type":"Language"}
[DEBUG 15:40:26.792] proto_core::tool_manifest Loading manifest.json file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:26.792] starbase_utils::fs Opening file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:26.792] starbase_utils::fs_lock Locking file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:26.792] starbase_utils::fs_lock Unlocking file file="/home/imbios/.proto/tools/go/manifest.json"
[TRACE 15:40:26.792] proto_core::version_detector Attempting to find version from .prototools files tool="go"
[TRACE 15:40:26.792] warpgate::plugin Calling guest function detect_version_files id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" input={}
[TRACE 15:40:26.792] warpgate::plugin Called guest function detect_version_files id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" output={"files":["go.mod","go.work"]}
[TRACE 15:40:26.792] proto_core::flow::resolve Attempting to detect a version from directory tool="go" dir="/home/imbios/projects/lab-londo-2"
[TRACE 15:40:26.792] proto_core::flow::resolve Attempting to detect a version from directory tool="go" dir="/home/imbios/projects"
[TRACE 15:40:26.792] proto_core::flow::resolve Attempting to detect a version from directory tool="go" dir="/home/imbios"
[DEBUG 15:40:26.792] proto_core::version_detector Detected version from .prototools file tool="go" version="1.23.1" file="/home/imbios/.proto/.prototools"
[DEBUG 15:40:26.792] proto_core::flow::resolve Resolving a semantic version or alias tool="go" initial_version="1.23.1"
[DEBUG 15:40:26.792] proto_core::flow::resolve Resolved to 1.23.1 (without validation) tool="go" version="1.23.1"
[DEBUG 15:40:26.792] proto_core::flow::setup Checking if tool is installed tool="go" install_dir="/home/imbios/.proto/tools/go/1.23.1"
[DEBUG 15:40:26.792] proto_core::flow::setup Tool has already been installed, locating binaries and shims tool="go" install_dir="/home/imbios/.proto/tools/go/1.23.1"
[TRACE 15:40:26.792] warpgate::plugin Calling guest function locate_executables id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" input={"context":{"proto_version":"0.41.1","tool_dir":{"path":"/proto/tools/go/1.23.1","virtual_prefix":"/proto","real_prefix":"/home/imbios/.proto"},"version":"1.23.1"}}
[TRACE 15:40:26.792] warpgate::plugin Called guest function locate_executables id="go" plugin="fa3c41ef-15f6-4125-b765-61571bcddebe" output={"globals_lookup_dirs":["$GOBIN","$GOROOT/bin","$GOPATH/bin","$HOME/go/bin"],"primary":{"exe_path":"bin/go"},"secondary":{"gofmt":{"exe_path":"bin/gofmt"}}}
[DEBUG 15:40:26.793] proto_core::flow::locate Locating primary executable for tool tool="go"
[DEBUG 15:40:26.793] proto_core::flow::locate Found an executable tool="go" exe_path="/home/imbios/.proto/tools/go/1.23.1/bin/go"
[DEBUG 15:40:26.793] proto::commands::run Running Go bin="/home/imbios/.proto/tools/go/1.23.1/bin/go" args=["install", "go.k6.io/xk6/cmd/xk6@latest"] pid=629866
[TRACE 15:40:26.793] starbase_utils::fs Writing file file="/home/imbios/.proto/tools/go/1.23.1/.last-used"
15:40 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via via 🐍 v3.12.6
➜ PROTO_LOG=trace xk6
Command 'xk6' not found, did you mean:
command 'k6' from snap k6 (v0.53.0)
See 'snap info <snapname>' for additional versions.
15:40 ﱮ lab-londo-2 main !?+300 via 🐳 desktop-linux is 📦 v1.0.0 via 🥟 v1.1.27 via via 🐍 v3.12.6
✗ PROTO_LOG=trace xk6 build --with github.com/szkiba/xk6-dotenv@latest
Command 'xk6' not found, did you mean:
command 'k6' from snap k6 (v0.53.0)
See 'snap info <snapname>' for additional versions.
Operating system?
Linux
Architecture?
x64
Related issue:
- https://github.com/moonrepo/proto/issues/29
Temporary solution:
- manually doing it fix the problem (mine in .zshrc)
# go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
@ImBIOS This requires the gobin setting to be enabled: https://github.com/moonrepo/tools/tree/master/tools/go#configuration
You can either use that setting, or use proto activate.