[INFO] cloning repository https://github.com/bantic/toy-rust-sudoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bantic/toy-rust-sudoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Ftoy-rust-sudoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Ftoy-rust-sudoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4f4deef0921fad265995b8aae6bb103e8e3c20d [INFO] checking bantic/toy-rust-sudoku against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Ftoy-rust-sudoku" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bantic/toy-rust-sudoku on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bantic/toy-rust-sudoku [INFO] finished tweaking git repo https://github.com/bantic/toy-rust-sudoku [INFO] tweaked toml for git repo https://github.com/bantic/toy-rust-sudoku written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/bantic/toy-rust-sudoku already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0838b92bbe620dca47e603f238e7a09aeed3ccd01c4553bb20cde5de5f835bdf [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" "0838b92bbe620dca47e603f238e7a09aeed3ccd01c4553bb20cde5de5f835bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0838b92bbe620dca47e603f238e7a09aeed3ccd01c4553bb20cde5de5f835bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0838b92bbe620dca47e603f238e7a09aeed3ccd01c4553bb20cde5de5f835bdf", kill_on_drop: false }` [INFO] [stdout] 0838b92bbe620dca47e603f238e7a09aeed3ccd01c4553bb20cde5de5f835bdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d1b8cc7fe29a72f32ea2d27f2d3e6ae2b58c847a5e683ace027cc8f2e7a97fce [INFO] running `Command { std: "docker" "start" "-a" "d1b8cc7fe29a72f32ea2d27f2d3e6ae2b58c847a5e683ace027cc8f2e7a97fce", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking toy-rust-sudoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/render.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::render::{Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::{Rect,Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | for r in (0..rows) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | for c in (0..cols) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/render.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::render::{Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::{Rect,Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | for r in (0..rows) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | for c in (0..cols) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let renderer = window.renderer() [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let renderer = window.renderer() [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | self.renderer.fill_rect(Rect::new_unwrap(x, y, width, border_width)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | self.renderer.fill_rect(Rect::new_unwrap(x, y, border_width, height)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | self.renderer.fill_rect(Rect::new_unwrap(x+iwidth-iborder_width, y, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | self.renderer.fill_rect(Rect::new_unwrap(x,y+iheight-iborder_width, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | self.renderer.fill_rect(Rect::new_unwrap(x, y, width, border_width)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | self.renderer.fill_rect(Rect::new_unwrap(x, y, border_width, height)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | self.renderer.fill_rect(Rect::new_unwrap(x+iwidth-iborder_width, y, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | self.renderer.fill_rect(Rect::new_unwrap(x,y+iheight-iborder_width, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | self.renderer.fill_rect(Rect::new_unwrap(x, y, width, border_width)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | self.renderer.fill_rect(Rect::new_unwrap(x, y, border_width, height)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | self.renderer.fill_rect(Rect::new_unwrap(x+iwidth-iborder_width, y, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | self.renderer.fill_rect(Rect::new_unwrap(x,y+iheight-iborder_width, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | self.renderer.fill_rect(Rect::new_unwrap(x, y, width, border_width)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | self.renderer.fill_rect(Rect::new_unwrap(x, y, border_width, height)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | self.renderer.fill_rect(Rect::new_unwrap(x+iwidth-iborder_width, y, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/render.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | self.renderer.fill_rect(Rect::new_unwrap(x,y+iheight-iborder_width, [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toy-rust-sudoku` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d1b8cc7fe29a72f32ea2d27f2d3e6ae2b58c847a5e683ace027cc8f2e7a97fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b8cc7fe29a72f32ea2d27f2d3e6ae2b58c847a5e683ace027cc8f2e7a97fce", kill_on_drop: false }` [INFO] [stdout] d1b8cc7fe29a72f32ea2d27f2d3e6ae2b58c847a5e683ace027cc8f2e7a97fce