[INFO] fetching crate winshift 0.0.5... [INFO] testing winshift-0.0.5 against 1.91.0 for beta-1.92-2 [INFO] extracting crate winshift 0.0.5 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winshift 0.0.5 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.32 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded android_system_properties v0.1.5 [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded windows-strings v0.1.0 [INFO] [stderr] Downloaded core-graphics v0.24.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.69 [INFO] [stderr] Downloaded anstyle-parse v0.2.7 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded foreign-types-macros v0.2.3 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded windows-link v0.1.3 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.2 [INFO] [stderr] Downloaded accessibility v0.2.0 [INFO] [stderr] Downloaded core-graphics-types v0.2.0 [INFO] [stderr] Downloaded cfg_aliases v0.2.1 [INFO] [stderr] Downloaded cocoa-foundation v0.2.1 [INFO] [stderr] Downloaded cocoa v0.26.1 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded portable-atomic-util v0.2.4 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded arc-swap v1.7.1 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded indexmap v2.10.0 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded core-foundation-sys v0.8.7 [INFO] [stderr] Downloaded smallvec v1.15.1 [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded objc2 v0.2.7 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded foreign-types v0.5.0 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded anstyle-query v1.1.4 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded colorchoice v1.0.4 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.1 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded utf8parse v0.2.2 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded env_filter v0.1.3 [INFO] [stderr] Downloaded android-tzdata v0.1.1 [INFO] [stderr] Downloaded jiff v0.2.15 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows-result v0.3.4 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded accessibility-sys v0.2.0 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded block v0.1.6 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded core-foundation v0.10.1 [INFO] [stderr] Downloaded foreign-types-shared v0.3.1 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded ppv-lite86 v0.2.21 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded derivative v2.2.0 [INFO] [stderr] Downloaded humantime v2.2.0 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded thiserror v1.0.69 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded getrandom v0.2.16 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded malloc_buf v0.0.6 [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded windows-strings v0.4.2 [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded windows-result v0.2.0 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded windows v0.58.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 849f459c1ffcfa553673c6dac15fc8a007bae5dbccb6f85cceb8024c523444a7 [INFO] running `Command { std: "docker" "start" "-a" "849f459c1ffcfa553673c6dac15fc8a007bae5dbccb6f85cceb8024c523444a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "849f459c1ffcfa553673c6dac15fc8a007bae5dbccb6f85cceb8024c523444a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "849f459c1ffcfa553673c6dac15fc8a007bae5dbccb6f85cceb8024c523444a7", kill_on_drop: false }` [INFO] [stdout] 849f459c1ffcfa553673c6dac15fc8a007bae5dbccb6f85cceb8024c523444a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a3229db10d3162fa614a572fa290b785d53e7911f870b545f416e11ba6aa20 [INFO] running `Command { std: "docker" "start" "-a" "94a3229db10d3162fa614a572fa290b785d53e7911f870b545f416e11ba6aa20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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 ctrlc v3.4.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [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 36.28s [INFO] running `Command { std: "docker" "inspect" "94a3229db10d3162fa614a572fa290b785d53e7911f870b545f416e11ba6aa20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a3229db10d3162fa614a572fa290b785d53e7911f870b545f416e11ba6aa20", kill_on_drop: false }` [INFO] [stdout] 94a3229db10d3162fa614a572fa290b785d53e7911f870b545f416e11ba6aa20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0233e1e151487863cc9826fa6e1f55c03d364d014c3514eb77ddcbd31536c6 [INFO] running `Command { std: "docker" "start" "-a" "2b0233e1e151487863cc9826fa6e1f55c03d364d014c3514eb77ddcbd31536c6", 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[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[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] For more information about this error, try `rustc --explain E0425`. [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] 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] [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] For more information about this error, try `rustc --explain E0425`. [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] 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[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] 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] [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] [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] [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] running `Command { std: "docker" "inspect" "2b0233e1e151487863cc9826fa6e1f55c03d364d014c3514eb77ddcbd31536c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0233e1e151487863cc9826fa6e1f55c03d364d014c3514eb77ddcbd31536c6", kill_on_drop: false }` [INFO] [stdout] 2b0233e1e151487863cc9826fa6e1f55c03d364d014c3514eb77ddcbd31536c6