What happened?
Install error on Mac Sonona 14.5 when building js or the python function-evaluator with blubber.
Error Log:
0.123 Installing Rust toolchain ... 0.412 info: downloading installer 0.990 info: profile set to 'default' 0.990 info: default host triple is x86_64-unknown-linux-gnu 0.993 info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' 1.147 info: latest update on 2025-01-09, rust version 1.84.0 (9fc6b4312 2025-01-07) 1.149 info: downloading component 'cargo' 1.225 info: downloading component 'clippy' 1.259 info: downloading component 'rust-docs' 1.382 info: downloading component 'rust-std' 1.566 info: downloading component 'rustc' 1.993 info: downloading component 'rustfmt' 2.019 info: installing component 'cargo' 2.547 info: installing component 'clippy' 2.789 info: installing component 'rust-docs' 4.303 info: installing component 'rust-std' 5.819 info: installing component 'rustc' 9.218 info: installing component 'rustfmt' 9.470 info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' 9.470 9.522 stable-x86_64-unknown-linux-gnu installed - rustc 1.84.0 (9fc6b4312 2025-01-07) 9.522 9.525 9.525 Rust is installed now. Great! 9.525 9.525 To get started you may need to restart your current shell. 9.526 This would reload your PATH environment variable to include 9.526 Cargo's bin directory ($HOME/.cargo/bin). 9.526 9.526 To configure your current shell, you need to source 9.526 the corresponding env file under $HOME/.cargo. 9.526 9.526 This is usually done by running one of the following (note the leading DOT): 9.526 . "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh 9.526 source "$HOME/.cargo/env.fish" # For fish 9.607 info: using existing install for 'stable-x86_64-unknown-linux-gnu' 9.611 info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' 9.611 9.659 stable-x86_64-unknown-linux-gnu unchanged - rustc 1.84.0 (9fc6b4312 2025-01-07) 9.659 9.756 error: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target 'wasm32-wasi'; did you mean 'wasm32-wasip1'? 9.756 note: you can see a list of supported targets with `rustc --print=target-list` 9.756 note: if you are adding support for a new target to rustc itself, see https://rustc-dev-guide.rust-lang.org/building/new-target.html ------ ERROR: failed to solve: process "/bin/sh -c chmod +x /usr/local/bin/install-rust /usr/local/bin/install-wasmedge-rustpython /usr/local/bin/compile-wasm-binary /usr/local/bin/delete-rust-cruft && install-rust && install-wasmedge-rustpython && compile-wasm-binary && delete-rust-cruft" did not complete successfully: exit code: 1
Steps to reproduce
- Run docker build -f .pipeline/blubber.yaml --target development-javascript-all-wasm -t local-evaluator-js .
- See the error (maybe mac related not sure)
Possibly related: https://phabricator.wikimedia.org/T378782