[INFO] fetching crate pixels-graphics-lib 0.20.2... [INFO] testing pixels-graphics-lib-0.20.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pixels-graphics-lib 0.20.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pixels-graphics-lib 0.20.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pixels-graphics-lib 0.20.2 [INFO] tweaked toml for crates.io crate pixels-graphics-lib 0.20.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pixels-graphics-lib 0.20.2 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 pixels-graphics-lib 0.20.2 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded screen_size v0.1.0 [INFO] [stderr] Downloaded ici-files v0.4.0 [INFO] [stderr] Downloaded graphics-shapes v0.4.4 [INFO] [stderr] Downloaded buffer-graphics-lib v0.19.0 [INFO] [stderr] Downloaded cpal v0.14.2 [INFO] [stderr] Downloaded simple-game-utils v0.5.2 [INFO] [stderr] Downloaded cc v1.1.23 [INFO] [stderr] Downloaded winit_input_helper v0.16.0 [INFO] [stderr] Downloaded pixels v0.14.0 [INFO] [stderr] Downloaded audio-engine v0.4.5 [INFO] [stderr] Downloaded noto-sans-mono-bitmap v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2563e8bdf9d125d6f9f03692d87584df779c70fb0f5ff578bb46ce1e3539ebc0 [INFO] running `Command { std: "docker" "start" "-a" "2563e8bdf9d125d6f9f03692d87584df779c70fb0f5ff578bb46ce1e3539ebc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2563e8bdf9d125d6f9f03692d87584df779c70fb0f5ff578bb46ce1e3539ebc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2563e8bdf9d125d6f9f03692d87584df779c70fb0f5ff578bb46ce1e3539ebc0", kill_on_drop: false }` [INFO] [stdout] 2563e8bdf9d125d6f9f03692d87584df779c70fb0f5ff578bb46ce1e3539ebc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7d21296b94d60cf85d3615222a51f606f6e4fd314fd49a62a02c0505bebf9973 [INFO] running `Command { std: "docker" "start" "-a" "7d21296b94d60cf85d3615222a51f606f6e4fd314fd49a62a02c0505bebf9973", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cpal v0.14.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling audio-engine v0.4.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling screen_size v0.1.0 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling ici-files v0.4.0 [INFO] [stderr] Compiling graphics-shapes v0.4.4 [INFO] [stderr] Compiling buffer-graphics-lib v0.19.0 [INFO] [stderr] Compiling simple-game-utils v0.5.2 [INFO] [stderr] Compiling pixels-graphics-lib v0.20.2 (/opt/rustwide/workdir) [INFO] [stdout] error: You must pick one windowing feature either pixels or softbuffer [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | compile_error!("You must pick one windowing feature either pixels or softbuffer"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> src/scenes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event::MouseButton; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` 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 `winit` [INFO] [stdout] --> src/scenes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::keyboard::KeyCode; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` 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 `winit` [INFO] [stdout] --> src/scenes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winit::window::Window; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::prelude::winit` [INFO] [stdout] --> src/ui/text_field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `winit` in `prelude` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "pixels")] [INFO] [stdout] | ------------------ the item is gated behind the `pixels` feature [INFO] [stdout] 85 | pub use winit_29 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "softbuffer")] [INFO] [stdout] | ---------------------- the item is gated behind the `softbuffer` feature [INFO] [stdout] 87 | pub use winit_30 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> src/window_prefs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::dpi::{PhysicalPosition, PhysicalSize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` 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 `winit` [INFO] [stdout] --> src/window_prefs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::window::Window; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::prelude::winit` [INFO] [stdout] --> src/utilities.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `winit` in `prelude` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "pixels")] [INFO] [stdout] | ------------------ the item is gated behind the `pixels` feature [INFO] [stdout] 85 | pub use winit_29 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "softbuffer")] [INFO] [stdout] | ---------------------- the item is gated behind the `softbuffer` feature [INFO] [stdout] 87 | pub use winit_30 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | pub use winit::event::MouseButton; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` 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 `winit` [INFO] [stdout] --> src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | pub use winit::keyboard::KeyCode; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` 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 `winit` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | pub use winit::window::Window; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::prelude::winit` [INFO] [stdout] --> src/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::prelude::{winit, Coord, ALL_KEYS}; [INFO] [stdout] | ^^^^^ no `winit` in `prelude` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::utilities::virtual_key_codes::winit` exists but is inaccessible [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "pixels")] [INFO] [stdout] | ------------------ the item is gated behind the `pixels` feature [INFO] [stdout] 85 | pub use winit_29 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "softbuffer")] [INFO] [stdout] | ---------------------- the item is gated behind the `softbuffer` feature [INFO] [stdout] 87 | pub use winit_30 as winit; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/window_prefs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/button.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/button.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/icon_button.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/icon_button.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/text_field.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/toggle_button.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/toggle_icon_button.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ui/toggle_icon_button.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in this scope [INFO] [stdout] --> src/scenes.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | run(width, height, title, system, options)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pixels-graphics-lib` (lib) due to 13 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d21296b94d60cf85d3615222a51f606f6e4fd314fd49a62a02c0505bebf9973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d21296b94d60cf85d3615222a51f606f6e4fd314fd49a62a02c0505bebf9973", kill_on_drop: false }` [INFO] [stdout] 7d21296b94d60cf85d3615222a51f606f6e4fd314fd49a62a02c0505bebf9973