[INFO] fetching crate layout2d 0.1.2... [INFO] checking layout2d-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate layout2d 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate layout2d 0.1.2 [INFO] finished tweaking crates.io crate layout2d 0.1.2 [INFO] tweaked toml for crates.io crate layout2d 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate layout2d 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simd v0.2.5 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2dde30d0febb73ae3a1ca4d1979808ef663549639f00281f93aab8530c16b0d [INFO] running `Command { std: "docker" "start" "-a" "a2dde30d0febb73ae3a1ca4d1979808ef663549639f00281f93aab8530c16b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2dde30d0febb73ae3a1ca4d1979808ef663549639f00281f93aab8530c16b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2dde30d0febb73ae3a1ca4d1979808ef663549639f00281f93aab8530c16b0d", kill_on_drop: false }` [INFO] [stdout] a2dde30d0febb73ae3a1ca4d1979808ef663549639f00281f93aab8530c16b0d [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233aa86ddc4c200861e3bd15b5356c20341278ea21108b8225143b57af4569fb [INFO] running `Command { std: "docker" "start" "-a" "233aa86ddc4c200861e3bd15b5356c20341278ea21108b8225143b57af4569fb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking layout2d v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/rect.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/rect.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/ui_screen.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `input` [INFO] [stdout] --> src/ui_screen.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | use input; [INFO] [stdout] | ^^^^^ no `input` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glium` [INFO] [stdout] --> src/ui_screen.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let event = glium::glutin::Event::Resized(rand::random::(), rand::random::()); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `glium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glium`, use `cargo add glium` 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 `test` [INFO] [stdout] --> src/rect.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | fn bench_rotate_center(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rect::test::test; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test` [INFO] [stdout] --> src/rect.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn bench_translate(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rect::test::test; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test` [INFO] [stdout] --> src/ui_screen.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | fn bench_ui_screen_layout_simple(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use ui_screen::test::test; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/rect.rs:168:63 [INFO] [stdout] | [INFO] [stdout] 168 | let mut rect = Rect::new(200.0, 400.0, 400.0, 600.0, 0.0, DebugColor::yellow()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/rect.rs:179:63 [INFO] [stdout] | [INFO] [stdout] 179 | let mut rect = Rect::new(200.0, 400.0, 400.0, 600.0, 0.0, DebugColor::yellow()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/rect.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/rect.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/ui_screen.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/ui_screen.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | let mut ui_screen = UiScreen::new(INITIAL_WIDTH, INITIAL_HEIGHT) [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | || | [INFO] [stdout] | || expected `f32`, found `u32` [INFO] [stdout] | |expected `f32`, found `u32` [INFO] [stdout] | argument #3 of type `NodeData<_>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ui_screen.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(initial_width: f32, initial_height: f32, data: NodeData) [INFO] [stdout] | ^^^ ------------------ ------------------- ----------------- [INFO] [stdout] help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 188 | let mut ui_screen = UiScreen::new(INITIAL_WIDTH as f32, INITIAL_HEIGHT) [INFO] [stdout] | ++++++ [INFO] [stdout] help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 188 | let mut ui_screen = UiScreen::new(INITIAL_WIDTH, INITIAL_HEIGHT as f32) [INFO] [stdout] | ++++++ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 188 - let mut ui_screen = UiScreen::new(INITIAL_WIDTH, INITIAL_HEIGHT) [INFO] [stdout] 188 + let mut ui_screen = UiScreen::new(/* f32 */, /* f32 */, /* data */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/ui_screen.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | FlexDirection::Column, DebugColor::green())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/ui_screen.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | FlexDirection::Row, DebugColor::blue())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/ui_screen.rs:204:40 [INFO] [stdout] | [INFO] [stdout] 204 | FlexDirection::Column, DebugColor::red())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DebugColor` [INFO] [stdout] --> src/ui_screen.rs:209:40 [INFO] [stdout] | [INFO] [stdout] 209 | FlexDirection::Column, DebugColor::blue())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DebugColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/ui_screen.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | let _ = ui_screen.into_rectangles(); [INFO] [stdout] | ^^^^^^^^^^^^^^^-- two arguments of type `f32` and `f32` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ui_screen.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn into_rectangles(&mut self, root_width: f32, root_height: f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- ---------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 220 | let _ = ui_screen.into_rectangles(/* f32 */, /* f32 */); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `layout2d` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `layout2d` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "233aa86ddc4c200861e3bd15b5356c20341278ea21108b8225143b57af4569fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233aa86ddc4c200861e3bd15b5356c20341278ea21108b8225143b57af4569fb", kill_on_drop: false }` [INFO] [stdout] 233aa86ddc4c200861e3bd15b5356c20341278ea21108b8225143b57af4569fb