[INFO] fetching crate objc 0.2.7... [INFO] checking objc-0.2.7 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate objc 0.2.7 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate objc 0.2.7 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "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-4/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.57 [INFO] [stderr] Downloaded objc_exception v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b065ecd935849d0bb1d30b3b58cffbecedded3bb2a291f33fbb8179325b35aea [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" "b065ecd935849d0bb1d30b3b58cffbecedded3bb2a291f33fbb8179325b35aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b065ecd935849d0bb1d30b3b58cffbecedded3bb2a291f33fbb8179325b35aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b065ecd935849d0bb1d30b3b58cffbecedded3bb2a291f33fbb8179325b35aea", kill_on_drop: false }` [INFO] [stdout] b065ecd935849d0bb1d30b3b58cffbecedded3bb2a291f33fbb8179325b35aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3e2c4b65abbad5e49934101eb6e64345250753816de105a97cc12cfff7facd7 [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" "f3e2c4b65abbad5e49934101eb6e64345250753816de105a97cc12cfff7facd7", kill_on_drop: false }` [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 item '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 item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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 3.03s [INFO] running `Command { std: "docker" "inspect" "f3e2c4b65abbad5e49934101eb6e64345250753816de105a97cc12cfff7facd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e2c4b65abbad5e49934101eb6e64345250753816de105a97cc12cfff7facd7", kill_on_drop: false }` [INFO] [stdout] f3e2c4b65abbad5e49934101eb6e64345250753816de105a97cc12cfff7facd7