[INFO] fetching crate swift-rs 1.0.7... [INFO] testing swift-rs-1.0.7 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate swift-rs 1.0.7 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs 1.0.7 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.10.0 [INFO] [stderr] Downloaded serial_test_derive v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eef1685e195d42850129630add848bfd8df87ca97480e93832f4ee7be4cb889 [INFO] running `Command { std: "docker" "start" "-a" "0eef1685e195d42850129630add848bfd8df87ca97480e93832f4ee7be4cb889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eef1685e195d42850129630add848bfd8df87ca97480e93832f4ee7be4cb889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eef1685e195d42850129630add848bfd8df87ca97480e93832f4ee7be4cb889", kill_on_drop: false }` [INFO] [stdout] 0eef1685e195d42850129630add848bfd8df87ca97480e93832f4ee7be4cb889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96c7e69bd313f068df71401c4fb2d7ef070b9cbfed87ce109715a2ede91cd14c [INFO] running `Command { std: "docker" "start" "-a" "96c7e69bd313f068df71401c4fb2d7ef070b9cbfed87ce109715a2ede91cd14c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [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 base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_json v1.0.145 [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 14.12s [INFO] running `Command { std: "docker" "inspect" "96c7e69bd313f068df71401c4fb2d7ef070b9cbfed87ce109715a2ede91cd14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c7e69bd313f068df71401c4fb2d7ef070b9cbfed87ce109715a2ede91cd14c", kill_on_drop: false }` [INFO] [stdout] 96c7e69bd313f068df71401c4fb2d7ef070b9cbfed87ce109715a2ede91cd14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0f1e305f76934351bd6ece13f28db5441d78847022d1d6ca87ef4118d2f94b1 [INFO] running `Command { std: "docker" "start" "-a" "f0f1e305f76934351bd6ece13f28db5441d78847022d1d6ca87ef4118d2f94b1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.14.5 [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] Compiling dashmap v5.5.3 [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] [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/rustcIMkP8s/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/rustcIMkP8s/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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::complex_data::hca09e071b409b006) [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::get_greeting::hdadd53edd3be5fe1) [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.3168748733549f61-cgu.0.rcgu.o:(swift_rs::swift::retain_object::h1786431a38eb0bfd) 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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h668b521395f2a9bb) [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfa8acd14fa9559c3) [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h668b521395f2a9bb) [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfa8acd14fa9559c3) [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.3168748733549f61-cgu.0.rcgu.o:(swift_rs::swift::release_object::hb424035beaa61b09) 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.3168748733549f61-cgu.0.rcgu.o:(swift_rs::swift::data_from_bytes::hd8018555543f5875) 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.3168748733549f61-cgu.0.rcgu.o:(swift_rs::swift::string_from_bytes::h27b818380c06f6fa) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.rlib [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::echo::hcbdf4d483d3be5ae) [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.ebb4852869eacf22-cgu.0.rcgu.o:(test_bindings::echo_data::h99056fcf5f35e1c9) [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" "f0f1e305f76934351bd6ece13f28db5441d78847022d1d6ca87ef4118d2f94b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f1e305f76934351bd6ece13f28db5441d78847022d1d6ca87ef4118d2f94b1", kill_on_drop: false }` [INFO] [stdout] f0f1e305f76934351bd6ece13f28db5441d78847022d1d6ca87ef4118d2f94b1