[INFO] fetching crate layout2d 0.1.2... [INFO] checking layout2d-0.1.2 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate layout2d 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate layout2d 0.1.2 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simd v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12e8d599748e6900e32eaff0765774707f902666b76ebff087c3572db77f06ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12e8d599748e6900e32eaff0765774707f902666b76ebff087c3572db77f06ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12e8d599748e6900e32eaff0765774707f902666b76ebff087c3572db77f06ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e8d599748e6900e32eaff0765774707f902666b76ebff087c3572db77f06ba", kill_on_drop: false }` [INFO] [stdout] 12e8d599748e6900e32eaff0765774707f902666b76ebff087c3572db77f06ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae4a0dab8556bf465b2eafd739719e7f53a9f878a51286c3f33ed13f2a1c856 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eae4a0dab8556bf465b2eafd739719e7f53a9f878a51286c3f33ed13f2a1c856", kill_on_drop: false }` [INFO] [stderr] Checking layout2d v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: 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: `#[deny(soft_unstable)]` on by default [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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = 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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = 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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/ui_screen.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use std::clone::Clone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 undeclared crate or module `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 undeclared crate or module `test` [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 crate or module `test` [INFO] [stdout] --> src/rect.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn bench_translate(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `test` [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `glium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(soft_unstable)]` on by default [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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = 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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = 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] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/ui_screen.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use std::clone::Clone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `layout2d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^ ------------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui_screen.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | ui_screen.root.append(top_bar_wrapper); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Rect`, found struct `NodeData` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeRef>` [INFO] [stdout] found struct `NodeRef>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui_screen.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | ui_screen.root.append(explorer_wrapper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Rect`, found struct `NodeData` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeRef>` [INFO] [stdout] found struct `NodeRef>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eae4a0dab8556bf465b2eafd739719e7f53a9f878a51286c3f33ed13f2a1c856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae4a0dab8556bf465b2eafd739719e7f53a9f878a51286c3f33ed13f2a1c856", kill_on_drop: false }` [INFO] [stdout] eae4a0dab8556bf465b2eafd739719e7f53a9f878a51286c3f33ed13f2a1c856