[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4f4deef0921fad265995b8aae6bb103e8e3c20d [INFO] testing bantic/toy-rust-sudoku against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Ftoy-rust-sudoku" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bantic/toy-rust-sudoku on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-12/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] d5b0edcad69bf308f4ed40a3e5af1612d0746a5133be2314065a5501e6abf3c4 [INFO] running `Command { std: "docker" "start" "-a" "d5b0edcad69bf308f4ed40a3e5af1612d0746a5133be2314065a5501e6abf3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5b0edcad69bf308f4ed40a3e5af1612d0746a5133be2314065a5501e6abf3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b0edcad69bf308f4ed40a3e5af1612d0746a5133be2314065a5501e6abf3c4", kill_on_drop: false }` [INFO] [stdout] d5b0edcad69bf308f4ed40a3e5af1612d0746a5133be2314065a5501e6abf3c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0108d5df913e7bd51e593b583c9eaf99a09f95cb73677a64f6544ff5eabd9938 [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" "0108d5df913e7bd51e593b583c9eaf99a09f95cb73677a64f6544ff5eabd9938", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling 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[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 `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `sdl2::rect::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 `sdl2::rect::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] [stderr] error: could not compile `toy-rust-sudoku`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0108d5df913e7bd51e593b583c9eaf99a09f95cb73677a64f6544ff5eabd9938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0108d5df913e7bd51e593b583c9eaf99a09f95cb73677a64f6544ff5eabd9938", kill_on_drop: false }` [INFO] [stdout] 0108d5df913e7bd51e593b583c9eaf99a09f95cb73677a64f6544ff5eabd9938