[INFO] cloning repository https://github.com/noahmorrison/surs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noahmorrison/surs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoahmorrison%2Fsurs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoahmorrison%2Fsurs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3b630448efbd2ba344bbbc13f6ad52dfe9c41a9 [INFO] checking noahmorrison/surs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoahmorrison%2Fsurs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noahmorrison/surs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noahmorrison/surs [INFO] finished tweaking git repo https://github.com/noahmorrison/surs [INFO] tweaked toml for git repo https://github.com/noahmorrison/surs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/noahmorrison/surs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c253538d0ab8040c8a7a3683b9281b23826d2083aa2fd4800fcf53226c15b2 [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" "b5c253538d0ab8040c8a7a3683b9281b23826d2083aa2fd4800fcf53226c15b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c253538d0ab8040c8a7a3683b9281b23826d2083aa2fd4800fcf53226c15b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c253538d0ab8040c8a7a3683b9281b23826d2083aa2fd4800fcf53226c15b2", kill_on_drop: false }` [INFO] [stdout] b5c253538d0ab8040c8a7a3683b9281b23826d2083aa2fd4800fcf53226c15b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3723769c8f2a12f7cbd5c2e7c4b99e52d70cd273298c32a58c88de1c28213f [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" "9a3723769c8f2a12f7cbd5c2e7c4b99e52d70cd273298c32a58c88de1c28213f", kill_on_drop: false }` [INFO] [stderr] Checking surs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/board.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut i = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/board.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut i = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/unit.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/unit.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | for y in range(grid_y * 3, grid_y * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | for x in range(grid_x * 3, grid_x * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for y in range(grid_y * 3, grid_y * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | for x in range(grid_x * 3, grid_x * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/board.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | impl fmt::Show for Board { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | for y in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | for x in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cell.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | impl fmt::Show for Number { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cell.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | impl fmt::Show for Cell { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/unit.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | impl fmt::Show for Unit { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | '1'...'9' => board.set(x, y, Cell::from_char(c).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | (0...9, 0...9) => Some(self.cells[y as usize][x as usize]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | (0...9, 0...9) => Some(self.cells[y as usize][x as usize]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | try!(write!(out, "{:^9?}", cell)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | 2 | 5 => try!(write!(out, "|")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | _ => try!(write!(out, " ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | 2 | 5 => try!(write!(out, "\n{0:-^59}{0:-<30}\n", "+")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | _ => try!(write!(out, "\n")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cell.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | try!(write!(out, "{}", i + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/unit.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | '1'...'9' => cells[x] = Cell::from_char(c).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | for y in range(grid_y * 3, grid_y * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | for x in range(grid_x * 3, grid_x * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for y in range(grid_y * 3, grid_y * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | for x in range(grid_x * 3, grid_x * 3 + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/board.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | impl fmt::Show for Board { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | for y in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/board.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | for x in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cell.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | impl fmt::Show for Number { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/cell.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | impl fmt::Show for Cell { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/unit.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | impl fmt::Show for Unit { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | '1'...'9' => board.set(x, y, Cell::from_char(c).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | (0...9, 0...9) => Some(self.cells[y as usize][x as usize]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | (0...9, 0...9) => Some(self.cells[y as usize][x as usize]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | try!(write!(out, "{:^9?}", cell)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | 2 | 5 => try!(write!(out, "|")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | _ => try!(write!(out, " ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | 2 | 5 => try!(write!(out, "\n{0:-^59}{0:-<30}\n", "+")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | _ => try!(write!(out, "\n")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cell.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | try!(write!(out, "{}", i + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/unit.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | '1'...'9' => cells[x] = Cell::from_char(c).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `surs` [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" "9a3723769c8f2a12f7cbd5c2e7c4b99e52d70cd273298c32a58c88de1c28213f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3723769c8f2a12f7cbd5c2e7c4b99e52d70cd273298c32a58c88de1c28213f", kill_on_drop: false }` [INFO] [stdout] 9a3723769c8f2a12f7cbd5c2e7c4b99e52d70cd273298c32a58c88de1c28213f