[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Ftoy-rust-sudoku" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bantic/toy-rust-sudoku on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c7578ab5c1b9407430155f729b96ab3c7a07b5936bba95d523fa285bd9932f [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" "58c7578ab5c1b9407430155f729b96ab3c7a07b5936bba95d523fa285bd9932f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c7578ab5c1b9407430155f729b96ab3c7a07b5936bba95d523fa285bd9932f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c7578ab5c1b9407430155f729b96ab3c7a07b5936bba95d523fa285bd9932f", kill_on_drop: false }` [INFO] [stdout] 58c7578ab5c1b9407430155f729b96ab3c7a07b5936bba95d523fa285bd9932f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4650388e3a20b6e3f178ecf09e9036637ec6b7b230eeb176bca9f77cdc493d3 [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" "c4650388e3a20b6e3f178ecf09e9036637ec6b7b230eeb176bca9f77cdc493d3", 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.89 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking bitflags v1.2.1 [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: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: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: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: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: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: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" "c4650388e3a20b6e3f178ecf09e9036637ec6b7b230eeb176bca9f77cdc493d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4650388e3a20b6e3f178ecf09e9036637ec6b7b230eeb176bca9f77cdc493d3", kill_on_drop: false }` [INFO] [stdout] c4650388e3a20b6e3f178ecf09e9036637ec6b7b230eeb176bca9f77cdc493d3