[INFO] fetching crate objc 0.2.7... [INFO] checking objc-0.2.7 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate objc 0.2.7 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate objc 0.2.7 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate objc 0.2.7 [INFO] finished tweaking crates.io crate objc 0.2.7 [INFO] tweaked toml for crates.io crate objc 0.2.7 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate objc 0.2.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc_exception v0.1.1 [INFO] [stderr] Downloaded libc v0.2.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45e376dc63715c853fd03a0b85e1033eda73a48eacc7fb31fe0f6ee505c12258 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "45e376dc63715c853fd03a0b85e1033eda73a48eacc7fb31fe0f6ee505c12258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45e376dc63715c853fd03a0b85e1033eda73a48eacc7fb31fe0f6ee505c12258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e376dc63715c853fd03a0b85e1033eda73a48eacc7fb31fe0f6ee505c12258", kill_on_drop: false }` [INFO] [stdout] 45e376dc63715c853fd03a0b85e1033eda73a48eacc7fb31fe0f6ee505c12258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f66dd6faaaf9f91cffde0e5e36982acbe966655b6750c928420750ee8ff5db57 [INFO] running `Command { std: "docker" "start" "-a" "f66dd6faaaf9f91cffde0e5e36982acbe966655b6750c928420750ee8ff5db57", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.57 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking objc v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_utils.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_utils.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | static REGISTER_CUSTOM_CLASS: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_utils.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | static REGISTER_CUSTOM_PROTOCOL: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_utils.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | static REGISTER_CUSTOM_SUBPROTOCOL: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_utils.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | static REGISTER_CUSTOM_SUBCLASS: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/encode.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let s = self.as_str().trim_left_matches(QUALIFIERS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/encode.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | let o = other.as_str().trim_left_matches(QUALIFIERS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/encode.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let s = self.as_str().trim_left_matches(QUALIFIERS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/encode.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | let o = other.as_str().trim_left_matches(QUALIFIERS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `test_utils::CustomStruct`, which is not FFI-safe [INFO] [stdout] --> src/test_utils.rs:86:71 [INFO] [stdout] | [INFO] [stdout] 86 | extern fn custom_obj_get_struct(_this: &Object, _cmd: Sel) -> CustomStruct { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/test_utils.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / pub struct CustomStruct { [INFO] [stdout] 46 | | pub a: u64, [INFO] [stdout] 47 | | pub b: u64, [INFO] [stdout] 48 | | pub c: u64, [INFO] [stdout] 49 | | pub d: u64, [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "f66dd6faaaf9f91cffde0e5e36982acbe966655b6750c928420750ee8ff5db57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66dd6faaaf9f91cffde0e5e36982acbe966655b6750c928420750ee8ff5db57", kill_on_drop: false }` [INFO] [stdout] f66dd6faaaf9f91cffde0e5e36982acbe966655b6750c928420750ee8ff5db57