[INFO] fetching crate winshift 0.0.5... [INFO] testing winshift-0.0.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate winshift 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate winshift 0.0.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate winshift 0.0.5 [INFO] tweaked toml for crates.io crate winshift 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate winshift 0.0.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate winshift 0.0.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a26991bb00cb75fa9783be7ddc8436f14a278ee817a2da7260660ebcd31ae291 [INFO] running `Command { std: "docker" "start" "-a" "a26991bb00cb75fa9783be7ddc8436f14a278ee817a2da7260660ebcd31ae291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a26991bb00cb75fa9783be7ddc8436f14a278ee817a2da7260660ebcd31ae291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26991bb00cb75fa9783be7ddc8436f14a278ee817a2da7260660ebcd31ae291", kill_on_drop: false }` [INFO] [stdout] a26991bb00cb75fa9783be7ddc8436f14a278ee817a2da7260660ebcd31ae291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a08e6ee9a157d6db3e4d858251be75c7fdec581eebd093c192ebf598137b408 [INFO] running `Command { std: "docker" "start" "-a" "3a08e6ee9a157d6db3e4d858251be75c7fdec581eebd093c192ebf598137b408", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling winshift v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | if pipe(INTERRUPT_PIPE.as_mut_ptr()) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.23s [INFO] running `Command { std: "docker" "inspect" "3a08e6ee9a157d6db3e4d858251be75c7fdec581eebd093c192ebf598137b408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a08e6ee9a157d6db3e4d858251be75c7fdec581eebd093c192ebf598137b408", kill_on_drop: false }` [INFO] [stdout] 3a08e6ee9a157d6db3e4d858251be75c7fdec581eebd093c192ebf598137b408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06b8757c17a91fbb728511452bcb104578049bf02cbde22f71754b9362bc33b3 [INFO] running `Command { std: "docker" "start" "-a" "06b8757c17a91fbb728511452bcb104578049bf02cbde22f71754b9362bc33b3", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | if pipe(INTERRUPT_PIPE.as_mut_ptr()) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling winshift v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/accessibility_attributes_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core_foundation::base::{CFType, TCFType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/accessibility_attributes_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core_foundation::string::CFString; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `accessibility_sys` [INFO] [stdout] --> examples/accessibility_attributes_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use accessibility_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `accessibility_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `accessibility_sys`, use `cargo add accessibility_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc2` [INFO] [stdout] --> examples/accessibility_attributes_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use objc2::{class, msg_send, sel, sel_impl}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `objc2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc2` [INFO] [stdout] --> examples/accessibility_attributes_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use objc2::{class, msg_send, sel, sel_impl}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `objc2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_hook` in crate `winshift` [INFO] [stdout] --> examples/app_only_monitor.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | winshift::stop_hook().expect("Failed to stop hook"); [INFO] [stdout] | ^^^^^^^^^ not found in `winshift` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 63 | pub use macos::stop_hook; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_hook` in crate `winshift` [INFO] [stdout] --> examples/example_monitor.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | winshift::stop_hook().expect("Failed to stop hook"); [INFO] [stdout] | ^^^^^^^^^ not found in `winshift` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 63 | pub use macos::stop_hook; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_hook` in crate `winshift` [INFO] [stdout] --> examples/window_only_monitor.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | winshift::stop_hook().expect("Failed to stop hook"); [INFO] [stdout] | ^^^^^^^^^ not found in `winshift` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 63 | pub use macos::stop_hook; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core_foundation::array::CFArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core_foundation::base::{CFType, TCFType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core_foundation::boolean::{kCFBooleanTrue, CFBooleanRef}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core_foundation::dictionary::CFDictionary; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core_foundation::dictionary::__CFDictionary; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core_foundation::number::CFNumber; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core_foundation::number::__CFNumber; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] --> examples/active_window_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core_foundation::string::{CFString, CFStringRef}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_foundation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_foundation`, use `cargo add core_foundation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_graphics` [INFO] [stdout] --> examples/active_window_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core_graphics::display::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_graphics` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_graphics`, use `cargo add core_graphics` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `accessibility_sys` [INFO] [stdout] --> examples/active_window_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use accessibility_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `accessibility_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `accessibility_sys`, use `cargo add accessibility_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc2` [INFO] [stdout] --> examples/active_window_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use objc2::runtime; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `objc2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc2` [INFO] [stdout] --> examples/active_window_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use objc2::{class, msg_send, sel, sel_impl}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `objc2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winshift` (example "app_only_monitor") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winshift` (example "example_monitor") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> examples/active_window_test.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[link(name = "AppKit", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> examples/active_window_test.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | #[link(name = "CoreGraphics", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winshift` (example "window_only_monitor") due to 1 previous error [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> examples/accessibility_attributes_test.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[link(name = "AppKit", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | if pipe(INTERRUPT_PIPE.as_mut_ptr()) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0455. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winshift` (example "active_window_test") due to 14 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0455. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winshift` (example "accessibility_attributes_test") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "06b8757c17a91fbb728511452bcb104578049bf02cbde22f71754b9362bc33b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b8757c17a91fbb728511452bcb104578049bf02cbde22f71754b9362bc33b3", kill_on_drop: false }` [INFO] [stdout] 06b8757c17a91fbb728511452bcb104578049bf02cbde22f71754b9362bc33b3