[INFO] fetching crate layout2d 0.1.2... [INFO] checking layout2d-0.1.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate layout2d 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate layout2d 0.1.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f5d474e03bc103ed8073e7acc9759369e6ed72b2669a3676aebfae7f45871f7 [INFO] running `Command { std: "docker" "start" "-a" "5f5d474e03bc103ed8073e7acc9759369e6ed72b2669a3676aebfae7f45871f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f5d474e03bc103ed8073e7acc9759369e6ed72b2669a3676aebfae7f45871f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f5d474e03bc103ed8073e7acc9759369e6ed72b2669a3676aebfae7f45871f7", kill_on_drop: false }` [INFO] [stdout] 5f5d474e03bc103ed8073e7acc9759369e6ed72b2669a3676aebfae7f45871f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42af3d601138a9c7cb25b661bb7625db18f95cffd60bf8baf614c12b0c03ad8f [INFO] running `Command { std: "docker" "start" "-a" "42af3d601138a9c7cb25b661bb7625db18f95cffd60bf8baf614c12b0c03ad8f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking layout2d v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.23 [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 `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[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] 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 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] 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 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] 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[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(/* 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] Some errors have detailed explanations: E0061, E0432, E0433. [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 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "42af3d601138a9c7cb25b661bb7625db18f95cffd60bf8baf614c12b0c03ad8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42af3d601138a9c7cb25b661bb7625db18f95cffd60bf8baf614c12b0c03ad8f", kill_on_drop: false }` [INFO] [stdout] 42af3d601138a9c7cb25b661bb7625db18f95cffd60bf8baf614c12b0c03ad8f