[INFO] fetching crate image-capture-core 0.1.5... [INFO] checking image-capture-core-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate image-capture-core 0.1.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate image-capture-core 0.1.5 [INFO] finished tweaking crates.io crate image-capture-core 0.1.5 [INFO] tweaked toml for crates.io crate image-capture-core 0.1.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate image-capture-core 0.1.5 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] crate crates.io crate image-capture-core 0.1.5 already has a lockfile, it will not be regenerated [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 cocoa v0.19.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf8bdd2bcdc1e41d0db4255739bf64dba88624a238089978a2815ed748000dd [INFO] running `Command { std: "docker" "start" "-a" "7cf8bdd2bcdc1e41d0db4255739bf64dba88624a238089978a2815ed748000dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf8bdd2bcdc1e41d0db4255739bf64dba88624a238089978a2815ed748000dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf8bdd2bcdc1e41d0db4255739bf64dba88624a238089978a2815ed748000dd", kill_on_drop: false }` [INFO] [stdout] 7cf8bdd2bcdc1e41d0db4255739bf64dba88624a238089978a2815ed748000dd [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ba781a55c681113a52e25711d49853fda4245483774c858e38bdd25554a8ac4 [INFO] running `Command { std: "docker" "start" "-a" "7ba781a55c681113a52e25711d49853fda4245483774c858e38bdd25554a8ac4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking objc v0.2.6 [INFO] [stderr] Checking image-capture-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `cocoa` [INFO] [stdout] --> examples/list_devices.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate cocoa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image_capture_core::device` [INFO] [stdout] --> examples/list_devices.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | use image_capture_core::device::{ICDevice, ICDeviceLocationTypeMask, ICDeviceTypeMask}; [INFO] [stdout] | ^^^^^^ could not find `device` in `image_capture_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 17 | pub mod device; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image_capture_core::device_browser` [INFO] [stdout] --> examples/list_devices.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use image_capture_core::device_browser::ICDeviceBrowser; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `device_browser` in `image_capture_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 19 | pub mod device_browser; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/list_devices.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let cstr: *const libc::c_char = msg_send![str, UTF8String]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/list_devices.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let superclass = class!(NSObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `class` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `class` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/list_devices.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | sel!(deviceBrowser:didAddDevice:moreComing:), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `sel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/list_devices.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | sel!(deviceBrowser:didRemoveDevice:moreGoing:), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `sel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/list_devices.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let delegate_object = msg_send![delegate_class, new]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: never type fallback affects this call to an `unsafe` function [INFO] [stdout] --> examples/list_devices.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let delegate_object = msg_send![delegate_class, new]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the type explicitly [INFO] [stdout] = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `image-capture-core` (example "list_devices") due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ba781a55c681113a52e25711d49853fda4245483774c858e38bdd25554a8ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba781a55c681113a52e25711d49853fda4245483774c858e38bdd25554a8ac4", kill_on_drop: false }` [INFO] [stdout] 7ba781a55c681113a52e25711d49853fda4245483774c858e38bdd25554a8ac4