[INFO] fetching crate swift-rs 1.0.7... [INFO] testing swift-rs-1.0.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate swift-rs 1.0.7 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-rs 1.0.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7902731f643c7b5849cddf0b505647535d86e095c15c2d7b2b4976b9aab283b [INFO] running `Command { std: "docker" "start" "-a" "d7902731f643c7b5849cddf0b505647535d86e095c15c2d7b2b4976b9aab283b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7902731f643c7b5849cddf0b505647535d86e095c15c2d7b2b4976b9aab283b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7902731f643c7b5849cddf0b505647535d86e095c15c2d7b2b4976b9aab283b", kill_on_drop: false }` [INFO] [stdout] d7902731f643c7b5849cddf0b505647535d86e095c15c2d7b2b4976b9aab283b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a66b541489973ebcb1c87a0af1d76ad845534769925e8ce4afa0f75ecc8e2df1 [INFO] running `Command { std: "docker" "start" "-a" "a66b541489973ebcb1c87a0af1d76ad845534769925e8ce4afa0f75ecc8e2df1", kill_on_drop: false }` [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 serde_json v1.0.145 [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)]` 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 5.02s [INFO] running `Command { std: "docker" "inspect" "a66b541489973ebcb1c87a0af1d76ad845534769925e8ce4afa0f75ecc8e2df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66b541489973ebcb1c87a0af1d76ad845534769925e8ce4afa0f75ecc8e2df1", kill_on_drop: false }` [INFO] [stdout] a66b541489973ebcb1c87a0af1d76ad845534769925e8ce4afa0f75ecc8e2df1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738383c945ab7e231a5806efbc35b3ee9c140b0edba61fc73dcdafdcc07d48b2 [INFO] running `Command { std: "docker" "start" "-a" "738383c945ab7e231a5806efbc35b3ee9c140b0edba61fc73dcdafdcc07d48b2", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serial_test_derive v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serial_test v0.10.0 [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)]` 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)]` 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/rustcaD2i0S/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-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-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcaD2i0S/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: 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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h9159e26f35370d6e) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3a05dfa211c40c1b) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h9159e26f35370d6e) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3a05dfa211c40c1b) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::echo::hb1c81d09ea27db5c) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::echo_data::hba3445b89c00e281) [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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::get_greeting::heb9279a1f5b426e6) [INFO] [stdout] [INFO] [stdout] 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.c8aa277bdc7be723-cgu.0.rcgu.o:(test_bindings::complex_data::hee8e24c32b81288f) [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.f460d166b811be2-cgu.0.rcgu.o:(swift_rs::swift::retain_object::h0379653ec74e91d8) 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.f460d166b811be2-cgu.0.rcgu.o:(swift_rs::swift::string_from_bytes::h118a58ec6f792c64) 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.f460d166b811be2-cgu.0.rcgu.o:(swift_rs::swift::data_from_bytes::h7c299c263a4957d5) 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.f460d166b811be2-cgu.0.rcgu.o:(swift_rs::swift::release_object::he726099ed04d78a0) in archive /opt/rustwide/target/debug/deps/libswift_rs-efd69a43b35fef41.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" "738383c945ab7e231a5806efbc35b3ee9c140b0edba61fc73dcdafdcc07d48b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738383c945ab7e231a5806efbc35b3ee9c140b0edba61fc73dcdafdcc07d48b2", kill_on_drop: false }` [INFO] [stdout] 738383c945ab7e231a5806efbc35b3ee9c140b0edba61fc73dcdafdcc07d48b2