[INFO] cloning repository https://github.com/dontknow3d/sudoku_solver_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dontknow3d/sudoku_solver_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdontknow3d%2Fsudoku_solver_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdontknow3d%2Fsudoku_solver_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b434c3e5aa0d2af34fd86bbb588c14f18e71bdc [INFO] checking dontknow3d/sudoku_solver_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdontknow3d%2Fsudoku_solver_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dontknow3d/sudoku_solver_rust 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/dontknow3d/sudoku_solver_rust [INFO] finished tweaking git repo https://github.com/dontknow3d/sudoku_solver_rust [INFO] tweaked toml for git repo https://github.com/dontknow3d/sudoku_solver_rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/dontknow3d/sudoku_solver_rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] f69e937c54c51da00834c85164b3b2a3618162876598f2a960f12a14d394f3d7 [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" "f69e937c54c51da00834c85164b3b2a3618162876598f2a960f12a14d394f3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f69e937c54c51da00834c85164b3b2a3618162876598f2a960f12a14d394f3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69e937c54c51da00834c85164b3b2a3618162876598f2a960f12a14d394f3d7", kill_on_drop: false }` [INFO] [stdout] f69e937c54c51da00834c85164b3b2a3618162876598f2a960f12a14d394f3d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 8f7a6c66a8165752580771ecf6b6bd8ae9ffc1f212167e94f1837f90adc20500 [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" "8f7a6c66a8165752580771ecf6b6bd8ae9ffc1f212167e94f1837f90adc20500", kill_on_drop: false }` [INFO] [stderr] Checking sudoku_solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `OptimizationFn` in this scope [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 6 | struct SudokuSolver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | rules: Vec, [INFO] [stdout] 8 | optis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptimizationFn` in this scope [INFO] [stdout] --> src/main.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 16 | impl SudokuSolver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 17 | pub fn new(initial_board: [i8; 9 * 9], rules: Vec, optis: Vec) -> SudokuSolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | .chain((start + h * 9)..(start + 3 + h * 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:286:46 [INFO] [stdout] | [INFO] [stdout] 286 | .chain((start + h * 9)..(start + 3 + h * 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | .chain((start + h * 9 + 9)..(start + 3 + h * 9 + 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:287:50 [INFO] [stdout] | [INFO] [stdout] 287 | .chain((start + h * 9 + 9)..(start + 3 + h * 9 + 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | .chain((start + h * 9 + 9 + 9)..(start + 3 + h * 9 + 9 + 9)); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:288:54 [INFO] [stdout] | [INFO] [stdout] 288 | .chain((start + h * 9 + 9 + 9)..(start + 3 + h * 9 + 9 + 9)); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptimizationFn` in this scope [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 6 | struct SudokuSolver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 7 | rules: Vec, [INFO] [stdout] 8 | optis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptimizationFn` in this scope [INFO] [stdout] --> src/main.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 16 | impl SudokuSolver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 17 | pub fn new(initial_board: [i8; 9 * 9], rules: Vec, optis: Vec) -> SudokuSolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | .chain((start + h * 9)..(start + 3 + h * 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:286:46 [INFO] [stdout] | [INFO] [stdout] 286 | .chain((start + h * 9)..(start + 3 + h * 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | .chain((start + h * 9 + 9)..(start + 3 + h * 9 + 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:287:50 [INFO] [stdout] | [INFO] [stdout] 287 | .chain((start + h * 9 + 9)..(start + 3 + h * 9 + 9)) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | .chain((start + h * 9 + 9 + 9)..(start + 3 + h * 9 + 9 + 9)); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/main.rs:288:54 [INFO] [stdout] | [INFO] [stdout] 288 | .chain((start + h * 9 + 9 + 9)..(start + 3 + h * 9 + 9 + 9)); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ----------------------------- this expression has type `bool` [INFO] [stdout] 156 | RuleResult::Impossible => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `RuleResult` [INFO] [stdout] ... [INFO] [stdout] 209 | Impossible, [INFO] [stdout] | ---------- unit variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ----------------------------- this expression has type `bool` [INFO] [stdout] 156 | RuleResult::Impossible => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `RuleResult` [INFO] [stdout] ... [INFO] [stdout] 209 | Impossible, [INFO] [stdout] | ---------- unit variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ----------------------------- this expression has type `bool` [INFO] [stdout] ... [INFO] [stdout] 160 | RuleResult::Changed => res = RuleResult::Changed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `RuleResult` [INFO] [stdout] ... [INFO] [stdout] 208 | Changed, [INFO] [stdout] | ------- unit variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 155 | match self.rules[i](self.top_mut()) { [INFO] [stdout] | ----------------------------- this expression has type `bool` [INFO] [stdout] ... [INFO] [stdout] 160 | RuleResult::Changed => res = RuleResult::Changed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `RuleResult` [INFO] [stdout] ... [INFO] [stdout] 208 | Changed, [INFO] [stdout] | ------- unit variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let mut _y=SudokuSolver::new([ [INFO] [stdout] | ________________^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 387 | | /* //empty [INFO] [stdout] 388 | | 0,0,0, 0,0,0, 0,0,0, [INFO] [stdout] 389 | | 0,0,0, 0,0,0, 0,0,0, [INFO] [stdout] ... | [INFO] [stdout] 441 | | [INFO] [stdout] 442 | | ],vec![ [INFO] [stdout] | |_____-_- [INFO] [stdout] | ||_____| [INFO] [stdout] | | [INFO] [stdout] 443 | | //rule_line_v, [INFO] [stdout] 444 | | //rule_line_h, [INFO] [stdout] 445 | | //rule_block, [INFO] [stdout] 446 | | rule_normal_sudoku, [INFO] [stdout] 447 | | ]); [INFO] [stdout] | |______- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(initial_board: [i8; 9 * 9], rules: Vec, optis: Vec) -> SudokuSolver { [INFO] [stdout] | ^^^ -------------------------- ------------------ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let mut _y=SudokuSolver::new([ [INFO] [stdout] | ________________^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 387 | | /* //empty [INFO] [stdout] 388 | | 0,0,0, 0,0,0, 0,0,0, [INFO] [stdout] 389 | | 0,0,0, 0,0,0, 0,0,0, [INFO] [stdout] ... | [INFO] [stdout] 441 | | [INFO] [stdout] 442 | | ],vec![ [INFO] [stdout] | |_____-_- [INFO] [stdout] | ||_____| [INFO] [stdout] | | [INFO] [stdout] 443 | | //rule_line_v, [INFO] [stdout] 444 | | //rule_line_h, [INFO] [stdout] 445 | | //rule_block, [INFO] [stdout] 446 | | rule_normal_sudoku, [INFO] [stdout] 447 | | ]); [INFO] [stdout] | |______- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(initial_board: [i8; 9 * 9], rules: Vec, optis: Vec) -> SudokuSolver { [INFO] [stdout] | ^^^ -------------------------- ------------------ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sudoku_solver` [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" "8f7a6c66a8165752580771ecf6b6bd8ae9ffc1f212167e94f1837f90adc20500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7a6c66a8165752580771ecf6b6bd8ae9ffc1f212167e94f1837f90adc20500", kill_on_drop: false }` [INFO] [stdout] 8f7a6c66a8165752580771ecf6b6bd8ae9ffc1f212167e94f1837f90adc20500