[INFO] fetching crate swift-rs 1.0.7... [INFO] building swift-rs-1.0.7 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate swift-rs 1.0.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate swift-rs 1.0.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swift-rs 1.0.7 [INFO] tweaked toml for crates.io crate swift-rs 1.0.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs 1.0.7 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b7768f94881416f37f32e9b375261ec9fa6bd0e2ccf9fd679350b9e4ade016e [INFO] running `Command { std: "docker" "start" "-a" "1b7768f94881416f37f32e9b375261ec9fa6bd0e2ccf9fd679350b9e4ade016e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b7768f94881416f37f32e9b375261ec9fa6bd0e2ccf9fd679350b9e4ade016e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7768f94881416f37f32e9b375261ec9fa6bd0e2ccf9fd679350b9e4ade016e", kill_on_drop: false }` [INFO] [stdout] 1b7768f94881416f37f32e9b375261ec9fa6bd0e2ccf9fd679350b9e4ade016e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4f53f8bc522ec30ec1f0299a499fac6fb09c1911d4fbae57e5eda4d830e4846 [INFO] running `Command { std: "docker" "start" "-a" "f4f53f8bc522ec30ec1f0299a499fac6fb09c1911d4fbae57e5eda4d830e4846", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive 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 8.53s [INFO] running `Command { std: "docker" "inspect" "f4f53f8bc522ec30ec1f0299a499fac6fb09c1911d4fbae57e5eda4d830e4846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f53f8bc522ec30ec1f0299a499fac6fb09c1911d4fbae57e5eda4d830e4846", kill_on_drop: false }` [INFO] [stdout] f4f53f8bc522ec30ec1f0299a499fac6fb09c1911d4fbae57e5eda4d830e4846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b777958bbf3a931246f86867c8c926c6619536232d16d0d76e3bb3fa55c3d8 [INFO] running `Command { std: "docker" "start" "-a" "28b777958bbf3a931246f86867c8c926c6619536232d16d0d76e3bb3fa55c3d8", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling swift-rs v1.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [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] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test_derive v0.10.0 [INFO] [stderr] Compiling serial_test v0.10.0 [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcxfBO4n/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libswift_rs-a53d2012efe4eb4c,libserial_test-14a514af982eebfe,libparking_lot-1a1b5305b8bf715c,libfutures-f44398fe9cf927f1,libfutures_executor-c458119a9f68413a,libfutures_util-5c70ac9e18b1c9f4,libmemchr-f9c66c7ba21bf873,libfutures_io-3e19596c076de665,libslab-8c0cbfb396425d81,libfutures_channel-bb3bea02536f003a,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-23538ced8fe824d7,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-7288ace658af78d0,liblog-45f74354a8b36c20,liblazy_static-b3603208c0de2608,libdashmap-5d26986f903bc682,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libonce_cell-0ba6aecba7086d38,libparking_lot_core-9c231652bd8e66b8,liblibc-f44516d981b27aa6,libcfg_if-666d36e5ee0df220,libsmallvec-45f6e3b8047adea1,libhashbrown-c66a0cd602652163}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxfBO4n/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: complex_data [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::complex_data::h4a1c2af22f8f62fa) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: get_greeting [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::get_greeting::h8ef2a1701ef8f14c) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: objc_autoreleasePoolPush [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hcc92dcfdd1b32fc3) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfa02fa65dd265477) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: objc_autoreleasePoolPop [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hcc92dcfdd1b32fc3) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfa02fa65dd265477) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: echo [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::echo::h5b024169908fd751) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: echo_data [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-7377e6b774784d03.test_bindings.7f7e8fbce4ffad41-cgu.0.rcgu.o:(test_bindings::echo_data::h91de230543a1b9a3) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: retain_object [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> swift_rs-a53d2012efe4eb4c.swift_rs.f06780b5fda6d3ce-cgu.0.rcgu.o:(swift_rs::swift::retain_object::h1f53758613e4b5c7) in archive /opt/rustwide/target/debug/deps/libswift_rs-a53d2012efe4eb4c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: release_object [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> swift_rs-a53d2012efe4eb4c.swift_rs.f06780b5fda6d3ce-cgu.0.rcgu.o:(swift_rs::swift::release_object::h8ecd3e4f9a975494) in archive /opt/rustwide/target/debug/deps/libswift_rs-a53d2012efe4eb4c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: data_from_bytes [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> swift_rs-a53d2012efe4eb4c.swift_rs.f06780b5fda6d3ce-cgu.0.rcgu.o:(swift_rs::swift::data_from_bytes::h27d02cb9689208cb) in archive /opt/rustwide/target/debug/deps/libswift_rs-a53d2012efe4eb4c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: string_from_bytes [INFO] [stdout] >>> referenced by swift.rs:93 (src-rs/swift.rs:93) [INFO] [stdout] >>> swift_rs-a53d2012efe4eb4c.swift_rs.f06780b5fda6d3ce-cgu.0.rcgu.o:(swift_rs::swift::string_from_bytes::h346114656f9e1fcb) in archive /opt/rustwide/target/debug/deps/libswift_rs-a53d2012efe4eb4c.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [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" "28b777958bbf3a931246f86867c8c926c6619536232d16d0d76e3bb3fa55c3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b777958bbf3a931246f86867c8c926c6619536232d16d0d76e3bb3fa55c3d8", kill_on_drop: false }` [INFO] [stdout] 28b777958bbf3a931246f86867c8c926c6619536232d16d0d76e3bb3fa55c3d8