[INFO] cloning repository https://github.com/tasuren/window-observer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tasuren/window-observer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftasuren%2Fwindow-observer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftasuren%2Fwindow-observer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6981559652fdefe656926814f81464c5c23046d4 [INFO] checking tasuren/window-observer-rs against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftasuren%2Fwindow-observer-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tasuren/window-observer-rs on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tasuren/window-observer-rs [INFO] finished tweaking git repo https://github.com/tasuren/window-observer-rs [INFO] tweaked toml for git repo https://github.com/tasuren/window-observer-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tasuren/window-observer-rs 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded accessibility-sys v0.1.3 [INFO] [stderr] Downloaded async-thread v0.1.2 [INFO] [stderr] Downloaded wineventhook v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d9fb80ffad44f1a6decdede84baa11ec903f4a9eda79e7474071bf9a9177096 [INFO] running `Command { std: "docker" "start" "-a" "6d9fb80ffad44f1a6decdede84baa11ec903f4a9eda79e7474071bf9a9177096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9fb80ffad44f1a6decdede84baa11ec903f4a9eda79e7474071bf9a9177096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9fb80ffad44f1a6decdede84baa11ec903f4a9eda79e7474071bf9a9177096", kill_on_drop: false }` [INFO] [stdout] 6d9fb80ffad44f1a6decdede84baa11ec903f4a9eda79e7474071bf9a9177096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dda810b670592d55f8bd82ce6bf56c4e56711c91f4aa71b82a731efa93eea1c [INFO] running `Command { std: "docker" "start" "-a" "7dda810b670592d55f8bd82ce6bf56c4e56711c91f4aa71b82a731efa93eea1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking window-observer v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowObserver` in `platform_impl` [INFO] [stdout] --> src/lib.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | sys: platform_impl::WindowObserver::new(pid, callback)?, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `WindowObserver` in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in module `crate::platform_impl` [INFO] [stdout] --> src/window.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Window(pub(crate) crate::platform_impl::Window); [INFO] [stdout] | ^^^^^^ not found in `crate::platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Window; [INFO] [stdout] | [INFO] [stdout] help: if you import `Window`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - pub struct Window(pub(crate) crate::platform_impl::Window); [INFO] [stdout] 15 + pub struct Window(pub(crate) Window); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OSError` in module `platform_impl` [INFO] [stdout] --> src/lib.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | PlatformSpecificError(#[source] platform_impl::OSError), [INFO] [stdout] | ^^^^^^^ not found in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowObserver` in module `platform_impl` [INFO] [stdout] --> src/lib.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | sys: platform_impl::WindowObserver, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `window-observer` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowObserver` in `platform_impl` [INFO] [stdout] --> src/lib.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | sys: platform_impl::WindowObserver::new(pid, callback)?, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `WindowObserver` in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in module `crate::platform_impl` [INFO] [stdout] --> src/window.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Window(pub(crate) crate::platform_impl::Window); [INFO] [stdout] | ^^^^^^ not found in `crate::platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Window; [INFO] [stdout] | [INFO] [stdout] help: if you import `Window`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - pub struct Window(pub(crate) crate::platform_impl::Window); [INFO] [stdout] 15 + pub struct Window(pub(crate) Window); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OSError` in module `platform_impl` [INFO] [stdout] --> src/lib.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | PlatformSpecificError(#[source] platform_impl::OSError), [INFO] [stdout] | ^^^^^^^ not found in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowObserver` in module `platform_impl` [INFO] [stdout] --> src/lib.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | sys: platform_impl::WindowObserver, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `platform_impl` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use macos::{window::Window, OSError, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> src/platform_impl/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform_impl/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use windows::{OSError, Window, WindowObserver}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/platform_impl/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `window-observer` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "7dda810b670592d55f8bd82ce6bf56c4e56711c91f4aa71b82a731efa93eea1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dda810b670592d55f8bd82ce6bf56c4e56711c91f4aa71b82a731efa93eea1c", kill_on_drop: false }` [INFO] [stdout] 7dda810b670592d55f8bd82ce6bf56c4e56711c91f4aa71b82a731efa93eea1c