[INFO] fetching crate image-capture-core 0.1.5... [INFO] testing image-capture-core-0.1.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate image-capture-core 0.1.5 into /workspace/builds/worker-71/source [INFO] validating manifest of crates.io crate image-capture-core 0.1.5 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-71/source/Cargo.toml [INFO] crate crates.io crate image-capture-core 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b63ccaf9c7f21e1aef0dfd09e53a5ec94d7fa65c474acbaf8da78128a1ec835b [INFO] running `Command { std: "docker" "start" "-a" "b63ccaf9c7f21e1aef0dfd09e53a5ec94d7fa65c474acbaf8da78128a1ec835b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b63ccaf9c7f21e1aef0dfd09e53a5ec94d7fa65c474acbaf8da78128a1ec835b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63ccaf9c7f21e1aef0dfd09e53a5ec94d7fa65c474acbaf8da78128a1ec835b", kill_on_drop: false }` [INFO] [stdout] b63ccaf9c7f21e1aef0dfd09e53a5ec94d7fa65c474acbaf8da78128a1ec835b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ad2f703da3e4d7593a23d4727e04f061f11444c4a9b744d7f9ccfee4d21f512 [INFO] running `Command { std: "docker" "start" "-a" "3ad2f703da3e4d7593a23d4727e04f061f11444c4a9b744d7f9ccfee4d21f512", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling malloc_buf v0.0.6 [INFO] [stderr] Compiling objc v0.2.6 [INFO] [stderr] Compiling image-capture-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "3ad2f703da3e4d7593a23d4727e04f061f11444c4a9b744d7f9ccfee4d21f512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ad2f703da3e4d7593a23d4727e04f061f11444c4a9b744d7f9ccfee4d21f512", kill_on_drop: false }` [INFO] [stdout] 3ad2f703da3e4d7593a23d4727e04f061f11444c4a9b744d7f9ccfee4d21f512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89b95b564501f79c1efcb1ba387d4950522d0e98f84ec232262a3ef7ab1a6f6d [INFO] running `Command { std: "docker" "start" "-a" "89b95b564501f79c1efcb1ba387d4950522d0e98f84ec232262a3ef7ab1a6f6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NSAutoreleasePool` [INFO] [stdout] --> examples/list_devices.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let _pool = NSAutoreleasePool::new(nil); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `NSAutoreleasePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NSRunningApplication` [INFO] [stdout] --> examples/list_devices.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let current_app = NSRunningApplication::currentApplication(nil); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NSRunningApplication` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn nsstring_decode(str: id) -> String { [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nil` in this scope [INFO] [stdout] --> examples/list_devices.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | let _pool = NSAutoreleasePool::new(nil); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | _: id, [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | device: id, [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> examples/list_devices.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | _more_coming: BOOL, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 | _more_coming: bool, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use objc::runtime::BOOL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | _: id, [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | device: id, [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> examples/list_devices.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | _more_going: BOOL, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 52 | _more_going: bool, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use objc::runtime::BOOL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:60:74 [INFO] [stdout] | [INFO] [stdout] 60 | device_browser_did_add_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:60:78 [INFO] [stdout] | [INFO] [stdout] 60 | device_browser_did_add_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> examples/list_devices.rs:60:82 [INFO] [stdout] | [INFO] [stdout] 60 | device_browser_did_add_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 60 | device_browser_did_add_device as extern "C" fn(&Object, Sel, id, id, bool), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use objc::runtime::BOOL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:64:77 [INFO] [stdout] | [INFO] [stdout] 64 | device_browser_did_remove_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `id` in this scope [INFO] [stdout] --> examples/list_devices.rs:64:81 [INFO] [stdout] | [INFO] [stdout] 64 | device_browser_did_remove_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^ help: a builtin type with a similar name exists: `i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> examples/list_devices.rs:64:85 [INFO] [stdout] | [INFO] [stdout] 64 | device_browser_did_remove_device as extern "C" fn(&Object, Sel, id, id, BOOL), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 | device_browser_did_remove_device as extern "C" fn(&Object, Sel, id, id, bool), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use objc::runtime::BOOL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nil` in this scope [INFO] [stdout] --> examples/list_devices.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | let browser = ICDeviceBrowser::new(nil).autorelease(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NSApp` in this scope [INFO] [stdout] --> examples/list_devices.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let app = NSApp(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NSApplicationActivationPolicyRegular` in this scope [INFO] [stdout] --> examples/list_devices.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | app.setActivationPolicy_(NSApplicationActivationPolicyRegular); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nil` in this scope [INFO] [stdout] --> examples/list_devices.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 83 | let current_app = NSRunningApplication::currentApplication(nil); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NSApplicationActivateIgnoringOtherApps` in this scope [INFO] [stdout] --> examples/list_devices.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | current_app.activateWithOptions_(NSApplicationActivateIgnoringOtherApps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `image-capture-core` due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "89b95b564501f79c1efcb1ba387d4950522d0e98f84ec232262a3ef7ab1a6f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b95b564501f79c1efcb1ba387d4950522d0e98f84ec232262a3ef7ab1a6f6d", kill_on_drop: false }` [INFO] [stdout] 89b95b564501f79c1efcb1ba387d4950522d0e98f84ec232262a3ef7ab1a6f6d