[INFO] fetching crate bevy_link_window_to_monitor 0.2.0... [INFO] testing bevy_link_window_to_monitor-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bevy_link_window_to_monitor 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate bevy_link_window_to_monitor 0.2.0 [INFO] finished tweaking crates.io crate bevy_link_window_to_monitor 0.2.0 [INFO] tweaked toml for crates.io crate bevy_link_window_to_monitor 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bevy_link_window_to_monitor 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bevy_link_window_to_monitor 0.2.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457a4225d5fe32d5f0962596d08422c3107733acb67b4ae21151d2c889ae1afe [INFO] running `Command { std: "docker" "start" "-a" "457a4225d5fe32d5f0962596d08422c3107733acb67b4ae21151d2c889ae1afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457a4225d5fe32d5f0962596d08422c3107733acb67b4ae21151d2c889ae1afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457a4225d5fe32d5f0962596d08422c3107733acb67b4ae21151d2c889ae1afe", kill_on_drop: false }` [INFO] [stdout] 457a4225d5fe32d5f0962596d08422c3107733acb67b4ae21151d2c889ae1afe [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f261ea4e23da346b2e856be3305e8d8ac673bc338010443bae25ec5febffc6e2 [INFO] running `Command { std: "docker" "start" "-a" "f261ea4e23da346b2e856be3305e8d8ac673bc338010443bae25ec5febffc6e2", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling bevy_ptr v0.16.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling disqualified v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling accesskit v0.18.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.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 regex-automata v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling glam v0.29.3 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling bevy_platform v0.16.0 [INFO] [stderr] Compiling bevy_macro_utils v0.16.0 [INFO] [stderr] Compiling bevy_utils v0.16.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.16.0 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.16.0 [INFO] [stderr] Compiling bevy_derive v0.16.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling bevy_tasks v0.16.0 [INFO] [stderr] Compiling bevy_reflect v0.16.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling bevy_ecs v0.16.0 [INFO] [stderr] Compiling bevy_math v0.16.0 [INFO] [stderr] Compiling accesskit_winit v0.25.0 [INFO] [stderr] Compiling bevy_app v0.16.0 [INFO] [stderr] Compiling bevy_input v0.16.0 [INFO] [stderr] Compiling bevy_a11y v0.16.0 [INFO] [stderr] Compiling bevy_log v0.16.0 [INFO] [stderr] Compiling bevy_window v0.16.0 [INFO] [stderr] Compiling bevy_input_focus v0.16.0 [INFO] [stderr] Compiling bevy_winit v0.16.0 [INFO] [stderr] Compiling bevy_link_window_to_monitor v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "f261ea4e23da346b2e856be3305e8d8ac673bc338010443bae25ec5febffc6e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f261ea4e23da346b2e856be3305e8d8ac673bc338010443bae25ec5febffc6e2", kill_on_drop: false }` [INFO] [stdout] f261ea4e23da346b2e856be3305e8d8ac673bc338010443bae25ec5febffc6e2 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8ccc42a17533f0907d8c9541a38a8ab339ce63a86cfa8cd49b2a633cfd744ba [INFO] running `Command { std: "docker" "start" "-a" "b8ccc42a17533f0907d8c9541a38a8ab339ce63a86cfa8cd49b2a633cfd744ba", kill_on_drop: false }` [INFO] [stderr] Compiling bevy_link_window_to_monitor v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "b8ccc42a17533f0907d8c9541a38a8ab339ce63a86cfa8cd49b2a633cfd744ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ccc42a17533f0907d8c9541a38a8ab339ce63a86cfa8cd49b2a633cfd744ba", kill_on_drop: false }` [INFO] [stdout] b8ccc42a17533f0907d8c9541a38a8ab339ce63a86cfa8cd49b2a633cfd744ba [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea80042284f41d00cf844ef718c05d408b9da6692dd48c55c3d8334bb3cfcc84 [INFO] running `Command { std: "docker" "start" "-a" "ea80042284f41d00cf844ef718c05d408b9da6692dd48c55c3d8334bb3cfcc84", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bevy_link_window_to_monitor-f3945a0c2527a29d) [INFO] [stderr] Doc-tests bevy_link_window_to_monitor [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - determine_monitor (line 39) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bevy` [INFO] [stdout] --> src/../README.md:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bevy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bevy`, use `cargo add bevy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bevy` [INFO] [stdout] --> src/../README.md:18:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::window::{Monitor, PrimaryWindow}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bevy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bevy`, use `cargo add bevy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bevy::window::Monitor`, `bevy::window::PrimaryWindow` [INFO] [stdout] --> src/../README.md:18:20 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::window::{Monitor, PrimaryWindow}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/../README.md:22:3 [INFO] [stdout] | [INFO] [stdout] 9 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_app::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DefaultPlugins` in this scope [INFO] [stdout] --> src/../README.md:23:25 [INFO] [stdout] | [INFO] [stdout] 10 | .add_plugins((DefaultPlugins, LinkWindowToMonitorPlugin)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Update` in this scope [INFO] [stdout] --> src/../README.md:24:24 [INFO] [stdout] | [INFO] [stdout] 11 | .add_systems(Update, print_monitor) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_app::Update; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Single` in this scope [INFO] [stdout] --> src/../README.md:28:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_ecs::prelude::Single; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OnMontior` in this scope [INFO] [stdout] --> src/../README.md:28:42 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `With` in this scope [INFO] [stdout] --> src/../README.md:28:53 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_ecs::prelude::With; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/../README.md:28:85 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_ecs::prelude::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entity` in this scope [INFO] [stdout] --> src/../README.md:28:92 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_monitor(primary_window: Single<&OnMontior, With>, monitors: Query<(Entity, &Monitor)>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bevy_ecs::prelude::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - determine_monitor (line 39) stdout ---- [INFO] [stdout] warning: use of deprecated function `bevy_link_window_to_monitor::determine_monitor`: Use the System Parameter NonSend to use the winit window to get the current monitor instead. [INFO] [stdout] --> src/lib.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 10 | use bevy_link_window_to_monitor::determine_monitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bevy_link_window_to_monitor::determine_monitor`: Use the System Parameter NonSend to use the winit window to get the current monitor instead. [INFO] [stdout] --> src/lib.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(monitor) = determine_monitor(*window, monitors.iter().collect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 14 | println!("On Monitor: {}", monitor.name); [INFO] [stdout] | -- ^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 15) [INFO] [stdout] src/lib.rs - determine_monitor (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.35s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ea80042284f41d00cf844ef718c05d408b9da6692dd48c55c3d8334bb3cfcc84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea80042284f41d00cf844ef718c05d408b9da6692dd48c55c3d8334bb3cfcc84", kill_on_drop: false }` [INFO] [stdout] ea80042284f41d00cf844ef718c05d408b9da6692dd48c55c3d8334bb3cfcc84