feat(rust): add support for wasm32-unknown-unknown
#138
This check has been archived and is scheduled for deletion.
Learn more about checks retention
Garnix CI / check rust-workspace-package-default [x86_64-linux]
succeeded
Jul 19, 2023 in 33s
Run results
Build succeeded
Details
Last 100 lines of logs:
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/vn1pgw748a01zs26i8h5cd8lxzd6x408-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/b0xcz8ll2rzd8sn5b5y71fx3nypghnsz-rust-workspace-deps-0.0.0-unspecified/target.tar.zst to target
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
will append /build/source/.cargo-home/config.toml with contents of /nix/store/j7pwmqc3y10jvpfv20kjkiambvxlriiw-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
@nix { "action": "setPhase", "phase": "buildPhase" }
building
++ command cargo --version
cargo 1.71.0 (cfd3bbd8f 2023-06-08)
++ command cargo build --release -j 4 --workspace --message-format json-render-diagnostics
Compiling hello2 v0.1.0 (/build/source/hello2)
Compiling fourty-two v0.1.0 (/build/source/other/fourty-two)
Compiling hello-workspace v0.1.0 (/build/source/hello)
Compiling lib v0.1.0 (/build/source/lib)
Finished release [optimized] target(s) in 1.22s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
++ command cargo test --release -j 4 --workspace
Compiling hello2 v0.1.0 (/build/source/hello2)
Compiling fourty-two v0.1.0 (/build/source/other/fourty-two)
Compiling hello-workspace v0.1.0 (/build/source/hello)
Compiling lib v0.1.0 (/build/source/lib)
Finished release [optimized] target(s) in 2.99s
Running unittests src/main.rs (target/release/deps/fourty_two-a520072a088e482d)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/release/deps/hello_workspace-abfdf9fca77a5194)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/release/deps/hello2-597abbc22df1d0ed)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/release/deps/lib-d24ae12dc5689ee3)
running 1 test
test tests::it_works ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests lib
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
@nix { "action": "setPhase", "phase": "installPhase" }
installing
searching for bins/libs to install from cargo build log at cargoBuildLogIG4c.json
installing /build/source/target/release/fourty-two
installing /build/source/target/release/hello2
installing /build/source/target/release/hello-workspace
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/hello-workspace
real 0m1.167s
user 0m0.006s
sys 0m0.011s
stripping references to cargoVendorDir from /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/fourty-two
real 0m1.201s
user 0m0.007s
sys 0m0.014s
stripping references to cargoVendorDir from /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/hello2
real 0m3.612s
user 0m0.006s
sys 0m0.016s
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified
shrinking /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/hello-workspace
shrinking /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/fourty-two
shrinking /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin/hello2
checking for references to /build/ in /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified...
patching script interpreter paths in /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified
stripping (with command strip and flags -S -p) in /nix/store/qq3vmn9ndnxf0nsv28kzh8p6zkbqd29g-rust-workspace-0.0.0-unspecified/bin
Loading