[INFO] fetching crate swift-rs 1.0.7... [INFO] testing swift-rs-1.0.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [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 c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9408fcd740dc67d8cd0d7a3650b511a0c3ef5961c49582f3455372061cb1d7f5 [INFO] running `Command { std: "docker" "start" "-a" "9408fcd740dc67d8cd0d7a3650b511a0c3ef5961c49582f3455372061cb1d7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9408fcd740dc67d8cd0d7a3650b511a0c3ef5961c49582f3455372061cb1d7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9408fcd740dc67d8cd0d7a3650b511a0c3ef5961c49582f3455372061cb1d7f5", kill_on_drop: false }` [INFO] [stdout] 9408fcd740dc67d8cd0d7a3650b511a0c3ef5961c49582f3455372061cb1d7f5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6908ec3f52f8b959b63c7ecf462a266e6a180775e6897b67cabacfc5b0c0866 [INFO] running `Command { std: "docker" "start" "-a" "a6908ec3f52f8b959b63c7ecf462a266e6a180775e6897b67cabacfc5b0c0866", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.145 [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 1.92s [INFO] running `Command { std: "docker" "inspect" "a6908ec3f52f8b959b63c7ecf462a266e6a180775e6897b67cabacfc5b0c0866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6908ec3f52f8b959b63c7ecf462a266e6a180775e6897b67cabacfc5b0c0866", kill_on_drop: false }` [INFO] [stdout] a6908ec3f52f8b959b63c7ecf462a266e6a180775e6897b67cabacfc5b0c0866 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63974dc04d9764e99c94236be9adb3737a73f8c70077894a942c5d848dac39d6 [INFO] running `Command { std: "docker" "start" "-a" "63974dc04d9764e99c94236be9adb3737a73f8c70077894a942c5d848dac39d6", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [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 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: 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 `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcIpLYky/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-c35196eef7cd9b48,libserial_test-5a4e82a3f82ca371,libparking_lot-9974f6db5227739a,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-dbbd33244d807262,liblock_api-b14bc138db870a36,libscopeguard-d52bd00767847e44,libonce_cell-0ba6aecba7086d38,libparking_lot_core-aa64ba0f11ec592f,liblibc-e2775a15e5abc6fd,libcfg_if-5af52f617df93f8f,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/rustcIpLYky/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-6e0220003286ea29" "-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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::complex_data::h80431a3bbebce841) [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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::get_greeting::h5b432e2337824e92) [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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h283c9945803e87b9) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h5f1e115066da2d91) [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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h283c9945803e87b9) [INFO] [stdout] >>> referenced by test_bindings.rs:99 (tests/test_bindings.rs:99) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_bindings-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::test_autoreleasepool::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h5f1e115066da2d91) [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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::echo::h9122bdf5038cbf98) [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-6e0220003286ea29.test_bindings.b063326dcc10da0d-cgu.0.rcgu.o:(test_bindings::echo_data::h0086b474b06600f9) [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-c35196eef7cd9b48.swift_rs.b91529c2668517b1-cgu.0.rcgu.o:(swift_rs::swift::retain_object::hdfbae38acf79f1f0) in archive /opt/rustwide/target/debug/deps/libswift_rs-c35196eef7cd9b48.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-c35196eef7cd9b48.swift_rs.b91529c2668517b1-cgu.0.rcgu.o:(swift_rs::swift::release_object::hab51f28082f620fd) in archive /opt/rustwide/target/debug/deps/libswift_rs-c35196eef7cd9b48.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-c35196eef7cd9b48.swift_rs.b91529c2668517b1-cgu.0.rcgu.o:(swift_rs::swift::data_from_bytes::h135467cdc4a3b6f1) in archive /opt/rustwide/target/debug/deps/libswift_rs-c35196eef7cd9b48.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-c35196eef7cd9b48.swift_rs.b91529c2668517b1-cgu.0.rcgu.o:(swift_rs::swift::string_from_bytes::hd6d1214f52ba62e9) in archive /opt/rustwide/target/debug/deps/libswift_rs-c35196eef7cd9b48.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" "63974dc04d9764e99c94236be9adb3737a73f8c70077894a942c5d848dac39d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63974dc04d9764e99c94236be9adb3737a73f8c70077894a942c5d848dac39d6", kill_on_drop: false }` [INFO] [stdout] 63974dc04d9764e99c94236be9adb3737a73f8c70077894a942c5d848dac39d6