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-complex-package-rust-complex-wasm32-unknown-unknown [x86_64-linux]
succeeded
Jul 19, 2023 in 1m 53s
Run results
Build succeeded
Details
Last 100 lines of logs:
unpacking sources
unpacking source archive /nix/store/vc5z1v873q4vyl2hlzbnr5l13iddz4c1-source
source root is source
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/i6fy1iylcipczr1amay7m3jx52q7gn7n-rust-complex-deps-0.0.0-unspecified/target.tar.zst to target
configuring
will append /build/source/.cargo-home/config.toml with contents of /nix/store/r0j51mnxyizp98k47bin2frnz8waqqjx-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
building
++ command cargo --version
cargo 1.72.0-beta.1 (45782b6b8 2023-07-05)
++ command cargo build --release -j 16 --workspace --message-format json-render-diagnostics
warning: output filename collision.
The bin target `foo` in package `foo v0.1.0 (/build/source/foo)` has the same output filename as the lib target `foo` in package `foo v0.1.0 (/build/source/foo)`.
Colliding filename is: /build/source/target/wasm32-unknown-unknown/release/foo.wasm
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
warning: output filename collision.
The bin target `foo` in package `foo v0.1.0 (/build/source/foo)` has the same output filename as the lib target `foo` in package `foo v0.1.0 (/build/source/foo)`.
Colliding filename is: /build/source/target/wasm32-unknown-unknown/release/foo.wasm.dwp
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
Compiling foo v0.1.0 (/build/source/foo)
Compiling rust-complex v0.1.0 (/build/source)
warning: function `main` is never used
--> src/lib.rs:4:4
|
4 | fn main() {
| ^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `rust-complex` (lib) generated 1 warning
Finished release [optimized] target(s) in 0.15s
installing
searching for bins/libs to install from cargo build log at cargoBuildLogXGBW.json
installing /build/source/target/wasm32-unknown-unknown/release/foo.wasm
installing /build/source/target/wasm32-unknown-unknown/release/libfoo.a
installing /build/source/target/wasm32-unknown-unknown/release/foo.wasm
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified/lib/foo.wasm
real 0m0.304s
user 0m0.017s
sys 0m0.009s
stripping references to cargoVendorDir from /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified/lib/libfoo.a
real 0m0.227s
user 0m0.020s
sys 0m0.024s
stripping references to cargoVendorDir from /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified/bin/foo.wasm
real 0m0.427s
user 0m0.016s
sys 0m0.013s
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified
checking for references to /build/ in /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified...
patching script interpreter paths in /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified
stripping (with command strip and flags -S -p) in /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified/lib /nix/store/rz9l2mxyw1qimivm2k6w468bxxym43ln-rust-complex-0.0.0-unspecified/bin
Loading