[INFO] cloning repository https://github.com/Brendonovich/swift-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brendonovich/swift-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrendonovich%2Fswift-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrendonovich%2Fswift-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01980f981bc642a6da382cc0788f18fdd4cde6df [INFO] building Brendonovich/swift-rs against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrendonovich%2Fswift-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Brendonovich/swift-rs [INFO] finished tweaking git repo https://github.com/Brendonovich/swift-rs [INFO] tweaked toml for git repo https://github.com/Brendonovich/swift-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Brendonovich/swift-rs on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding serial_test v0.10.0 (available: v3.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4865a4de60e3a8a9d65251627bc04d2f5f284edfffa377e646c6f1b8ae60a2 [INFO] running `Command { std: "docker" "start" "-a" "bb4865a4de60e3a8a9d65251627bc04d2f5f284edfffa377e646c6f1b8ae60a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4865a4de60e3a8a9d65251627bc04d2f5f284edfffa377e646c6f1b8ae60a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4865a4de60e3a8a9d65251627bc04d2f5f284edfffa377e646c6f1b8ae60a2", kill_on_drop: false }` [INFO] [stdout] bb4865a4de60e3a8a9d65251627bc04d2f5f284edfffa377e646c6f1b8ae60a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] d1a009df198a33b72ffc612b1bc7f0190b5fdd256fff13e8d3056298c09a0dd4 [INFO] running `Command { std: "docker" "start" "-a" "d1a009df198a33b72ffc612b1bc7f0190b5fdd256fff13e8d3056298c09a0dd4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.146 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling swift-rs v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `autorelease::*` [INFO] [stdout] --> src-rs/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use autorelease::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s [INFO] running `Command { std: "docker" "inspect" "d1a009df198a33b72ffc612b1bc7f0190b5fdd256fff13e8d3056298c09a0dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a009df198a33b72ffc612b1bc7f0190b5fdd256fff13e8d3056298c09a0dd4", kill_on_drop: false }` [INFO] [stdout] d1a009df198a33b72ffc612b1bc7f0190b5fdd256fff13e8d3056298c09a0dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 2fd2893195524a9614102113f8d49f056df8715ebdf05e1d25af595e6923b529 [INFO] running `Command { std: "docker" "start" "-a" "2fd2893195524a9614102113f8d49f056df8715ebdf05e1d25af595e6923b529", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serial_test_derive v0.10.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v0.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling swift-rs v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `autorelease::*` [INFO] [stdout] --> src-rs/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use autorelease::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `autorelease::*` [INFO] [stdout] --> src-rs/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use autorelease::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src-rs/swift.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libswift_rs-e21fed3f0430bcf8,libserial_test-6db2a11cc93ca0ff,libparking_lot-3b1a0e5398b51005,libfutures-03f53e01aee23b85,libfutures_executor-2194813f1aa47965,libfutures_util-dc6ecc7cda1fc955,libmemchr-f163681842188510,libfutures_io-7bee125fadb4cb09,libslab-8d4ee9b32873163d,libfutures_channel-b50251438757451c,libpin_project_lite-19621c2fa8381040,libfutures_sink-11aa396c3a2c376a,libfutures_task-09047cdbeb2b7594,libpin_utils-14025d01bce6a479,libfutures_core-1dbbcfbc4264017f,liblog-5435dfdbba7bd89a,liblazy_static-6cae036cc417a885,libdashmap-fe9696cc5035033d,liblock_api-8188a4cfdae776c5,libscopeguard-8bf53ae5771a3088,libonce_cell-bcd15b06b8f373b9,libparking_lot_core-db77c343ebc773c3,libcfg_if-d6bc76d3bc4619c0,libsmallvec-e66260ff59480183,libhashbrown-8270be1f5a6f33d7}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: get_greeting [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: complex_data [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: echo [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: objc_autoreleasePoolPush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: objc_autoreleasePoolPop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: objc_autoreleasePoolPush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: objc_autoreleasePoolPop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/test_bindings-a4d474946a050cbb.test_bindings.ee6d00ed74cfd324-cgu.0.rcgu.o: undefined symbol: echo_data [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libswift_rs-e21fed3f0430bcf8.rlib(swift_rs-e21fed3f0430bcf8.swift_rs.a72a290c945fa81c-cgu.0.rcgu.o): undefined symbol: retain_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libswift_rs-e21fed3f0430bcf8.rlib(swift_rs-e21fed3f0430bcf8.swift_rs.a72a290c945fa81c-cgu.0.rcgu.o): undefined symbol: release_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libswift_rs-e21fed3f0430bcf8.rlib(swift_rs-e21fed3f0430bcf8.swift_rs.a72a290c945fa81c-cgu.0.rcgu.o): undefined symbol: data_from_bytes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libswift_rs-e21fed3f0430bcf8.rlib(swift_rs-e21fed3f0430bcf8.swift_rs.a72a290c945fa81c-cgu.0.rcgu.o): undefined symbol: string_from_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swift-rs` (test "test_bindings") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2fd2893195524a9614102113f8d49f056df8715ebdf05e1d25af595e6923b529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd2893195524a9614102113f8d49f056df8715ebdf05e1d25af595e6923b529", kill_on_drop: false }` [INFO] [stdout] 2fd2893195524a9614102113f8d49f056df8715ebdf05e1d25af595e6923b529