[INFO] fetching crate layout2d 0.1.2... [INFO] checking layout2d-0.1.2 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate layout2d 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate layout2d 0.1.2 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9568f52935567544e7ce2e7b0df9fc9ad078092ab9999792922ed1aa241c93ba [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" "9568f52935567544e7ce2e7b0df9fc9ad078092ab9999792922ed1aa241c93ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9568f52935567544e7ce2e7b0df9fc9ad078092ab9999792922ed1aa241c93ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9568f52935567544e7ce2e7b0df9fc9ad078092ab9999792922ed1aa241c93ba", kill_on_drop: false }` [INFO] [stdout] 9568f52935567544e7ce2e7b0df9fc9ad078092ab9999792922ed1aa241c93ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f812567698d196d74413fc3654ae3ddb7fa85d916b87fa1309c7524b045ff8d [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" "8f812567698d196d74413fc3654ae3ddb7fa85d916b87fa1309c7524b045ff8d", 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] 19 | / pub fn new(initial_width: f32, initial_height: f32, data: NodeData) [INFO] [stdout] 20 | | -> Self [INFO] [stdout] | |___________- defined here [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] [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] 37 | / pub fn into_rectangles(&mut self, root_width: f32, root_height: f32) [INFO] [stdout] 38 | | -> Vec> [INFO] [stdout] | |___________________- defined here [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] [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" "8f812567698d196d74413fc3654ae3ddb7fa85d916b87fa1309c7524b045ff8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f812567698d196d74413fc3654ae3ddb7fa85d916b87fa1309c7524b045ff8d", kill_on_drop: false }` [INFO] [stdout] 8f812567698d196d74413fc3654ae3ddb7fa85d916b87fa1309c7524b045ff8d