[INFO] fetching crate swift-rs 1.0.7... [INFO] building swift-rs-1.0.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate swift-rs 1.0.7 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs 1.0.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.10.0 [INFO] [stderr] Downloaded serial_test v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17cdd17fa6d9173a716bb4143933cb330d766c89aedd321230359398e5718d96 [INFO] running `Command { std: "docker" "start" "-a" "17cdd17fa6d9173a716bb4143933cb330d766c89aedd321230359398e5718d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17cdd17fa6d9173a716bb4143933cb330d766c89aedd321230359398e5718d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cdd17fa6d9173a716bb4143933cb330d766c89aedd321230359398e5718d96", kill_on_drop: false }` [INFO] [stdout] 17cdd17fa6d9173a716bb4143933cb330d766c89aedd321230359398e5718d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c62b1f566cb471a651c0fb3a193985f7e9148ccb22d2e5c9bd5d79db505b6ea2 [INFO] running `Command { std: "docker" "start" "-a" "c62b1f566cb471a651c0fb3a193985f7e9148ccb22d2e5c9bd5d79db505b6ea2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [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 9.26s [INFO] running `Command { std: "docker" "inspect" "c62b1f566cb471a651c0fb3a193985f7e9148ccb22d2e5c9bd5d79db505b6ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62b1f566cb471a651c0fb3a193985f7e9148ccb22d2e5c9bd5d79db505b6ea2", kill_on_drop: false }` [INFO] [stdout] c62b1f566cb471a651c0fb3a193985f7e9148ccb22d2e5c9bd5d79db505b6ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90613f8ea5f85e6cfc5b6168d1fe34b71df11dfe921821bb8323bdda41ccbabe [INFO] running `Command { std: "docker" "start" "-a" "90613f8ea5f85e6cfc5b6168d1fe34b71df11dfe921821bb8323bdda41ccbabe", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [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 dashmap v5.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [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] [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] [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/rustcsw1G8d/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libswift_rs-efd69a43b35fef41,libserial_test-aef1d2dae02848f6,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/rustcsw1G8d/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-bb2e9c42048679e5" "-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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::complex_data::h34f567bc886596d0) [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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::get_greeting::he2d7cb80df2bdb47) [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-efd69a43b35fef41.swift_rs.78bb9f91bbdefec7-cgu.0.rcgu.o:(swift_rs::swift::retain_object::hdaaf270fe161942d) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.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-efd69a43b35fef41.swift_rs.78bb9f91bbdefec7-cgu.0.rcgu.o:(swift_rs::swift::release_object::h2cf47887dd5fc0e0) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.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-efd69a43b35fef41.swift_rs.78bb9f91bbdefec7-cgu.0.rcgu.o:(swift_rs::swift::data_from_bytes::hd86cbdb0e543df41) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.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-efd69a43b35fef41.swift_rs.78bb9f91bbdefec7-cgu.0.rcgu.o:(swift_rs::swift::string_from_bytes::h336855339c79f847) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.rlib [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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h00a3873c77b3e390) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6842421088d943fc) [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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h00a3873c77b3e390) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6842421088d943fc) [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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::echo::hcbcea1e6fbb5944b) [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-bb2e9c42048679e5.test_bindings.e9d2b97b43953a81-cgu.0.rcgu.o:(test_bindings::echo_data::hb752ab1ac8e205b6) [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" "90613f8ea5f85e6cfc5b6168d1fe34b71df11dfe921821bb8323bdda41ccbabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90613f8ea5f85e6cfc5b6168d1fe34b71df11dfe921821bb8323bdda41ccbabe", kill_on_drop: false }` [INFO] [stdout] 90613f8ea5f85e6cfc5b6168d1fe34b71df11dfe921821bb8323bdda41ccbabe