[INFO] cloning repository https://github.com/Ummon/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/Ummon/rust-sudoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUmmon%2Frust-sudoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUmmon%2Frust-sudoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ade5672adf2c37bf6dc275986dedeccc2fc4497 [INFO] checking Ummon/rust-sudoku against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUmmon%2Frust-sudoku" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ummon/rust-sudoku [INFO] finished tweaking git repo https://github.com/Ummon/rust-sudoku [INFO] tweaked toml for git repo https://github.com/Ummon/rust-sudoku written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ummon/rust-sudoku on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ummon/rust-sudoku already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d4889d6225aa3227726dae530c07ce36cd55d4695c5c711a50391ca603db83c [INFO] running `Command { std: "docker" "start" "-a" "2d4889d6225aa3227726dae530c07ce36cd55d4695c5c711a50391ca603db83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4889d6225aa3227726dae530c07ce36cd55d4695c5c711a50391ca603db83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4889d6225aa3227726dae530c07ce36cd55d4695c5c711a50391ca603db83c", kill_on_drop: false }` [INFO] [stdout] 2d4889d6225aa3227726dae530c07ce36cd55d4695c5c711a50391ca603db83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a67a3e704568f12c34f5a488b68bb2b6dcf73f1b0d3bc2dc2fe484ab836c375 [INFO] running `Command { std: "docker" "start" "-a" "8a67a3e704568f12c34f5a488b68bb2b6dcf73f1b0d3bc2dc2fe484ab836c375", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking sudoku v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 8 - data: [[u8, ..9], ..9] [INFO] [stdout] 8 + data: [[u8; ..9], ..9] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 8 - data: [[u8, ..9], ..9] [INFO] [stdout] 8 + data: [[u8; ..9], ..9] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 8 - data: [[u8, ..9], ..9] [INFO] [stdout] 8 + data: [[u8, ..9]; ..9] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 8 - data: [[u8, ..9], ..9] [INFO] [stdout] 8 + data: [[u8, ..9]; ..9] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 150 - fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] 150 + fn get_empty_number(ns: &[bool; ..10]) -> u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] = note: you might have meant to write a slice or array type [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 150 - fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] 150 + fn get_empty_number(ns: &[bool; ..10]) -> u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | i: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | j: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn get(&self, i: uint , j: uint) -> u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn get(&self, i: uint , j: uint) -> u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `io` [INFO] [stdout] --> src/main.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | fn write(&self, output: &mut io::Writer) -> Result<(), io::IoError> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:1677:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/main.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | fn write(&self, output: &mut io::Writer) -> Result<(), io::IoError> { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/error.rs:65:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | for i in range(0, self.data.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | for j in range(0, self.data[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | try!(output.write_uint(self.data[i][j] as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in module `result` [INFO] [stdout] --> src/main.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | result::Ok(()) [INFO] [stdout] | ^^ not found in `result` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use std::prelude::rust_2024::Ok; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ok`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - result::Ok(()) [INFO] [stdout] 60 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reader` in module `io` [INFO] [stdout] --> src/main.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | fn read(input: &mut io::Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Read` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:732:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Read` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/main.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | fn read(input: &mut io::Reader) -> Result { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/error.rs:65:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | for n in range(1, 10){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | numbers[p as uint] = true; [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/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | numbers[p as uint] = true; [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/main.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | numbers[p as uint] = true; [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/main.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | for n in range(0, 9){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 289 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:379:11 [INFO] [stdout] | [INFO] [stdout] 379 | if os::args().len() != 2 { [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 379 - if os::args().len() != 2 { [INFO] [stdout] 379 + if args().len() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:380:30 [INFO] [stdout] | [INFO] [stdout] 380 | return print_usage(os::args()[0].as_slice()); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 380 - return print_usage(os::args()[0].as_slice()); [INFO] [stdout] 380 + return print_usage(args()[0].as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:384:49 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] 384 + let mut source = io::BufferedReader::new(File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:384:61 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:384:75 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] 384 + let mut source = io::BufferedReader::new(io::File::open(&Path::new(args()[1].as_slice()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:392:40 [INFO] [stdout] | [INFO] [stdout] 392 | match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 392 - match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] 392 + match board.write(&mut io::stdout()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 403 - match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] 403 + match board.write(&mut io::stdout()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | try!(output.write_str("\n")); [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/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | try!(output.write_uint(self.data[i][j] as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | try!(output.write_str("|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | try!(output.write_line("-----------")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | let mut nb = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [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 `i` for number literal [INFO] [stdout] --> src/main.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | let mut n = 1i; [INFO] [stdout] | ^^ invalid suffix `i` [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[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | i: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | j: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn get(&self, i: uint , j: uint) -> u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn get(&self, i: uint , j: uint) -> u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in module `io` [INFO] [stdout] --> src/main.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | fn write(&self, output: &mut io::Writer) -> Result<(), io::IoError> { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:1677:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Write` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/main.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | fn write(&self, output: &mut io::Writer) -> Result<(), io::IoError> { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/error.rs:65:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | for i in range(0, self.data.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | for j in range(0, self.data[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | try!(output.write_uint(self.data[i][j] as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in module `result` [INFO] [stdout] --> src/main.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | result::Ok(()) [INFO] [stdout] | ^^ not found in `result` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use std::prelude::rust_2024::Ok; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ok`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - result::Ok(()) [INFO] [stdout] 60 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reader` in module `io` [INFO] [stdout] --> src/main.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | fn read(input: &mut io::Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Read` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:732:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Read` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/main.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | fn read(input: &mut io::Reader) -> Result { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/error.rs:65:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | for n in range(1, 10){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | numbers[p as uint] = true; [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/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | numbers[p as uint] = true; [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/main.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | if !numbers[p as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | numbers[p as uint] = true; [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/main.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | for n in range(0, 9){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | for i in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 289 | for j in range(0, 9) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | for i in range(i_top, i_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | for j in range(j_top, j_top + 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:379:11 [INFO] [stdout] | [INFO] [stdout] 379 | if os::args().len() != 2 { [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 379 - if os::args().len() != 2 { [INFO] [stdout] 379 + if args().len() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:380:30 [INFO] [stdout] | [INFO] [stdout] 380 | return print_usage(os::args()[0].as_slice()); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 380 - return print_usage(os::args()[0].as_slice()); [INFO] [stdout] 380 + return print_usage(args()[0].as_slice()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:384:49 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] 384 + let mut source = io::BufferedReader::new(File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:384:61 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:384:75 [INFO] [stdout] | [INFO] [stdout] 384 | let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - let mut source = io::BufferedReader::new(io::File::open(&Path::new(os::args()[1].as_slice()))); [INFO] [stdout] 384 + let mut source = io::BufferedReader::new(io::File::open(&Path::new(args()[1].as_slice()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:392:40 [INFO] [stdout] | [INFO] [stdout] 392 | match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 392 - match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] 392 + match board.write(&mut io::stdout()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/29194e8f603400afdb2f86c9418e9fccb1628ea0/library/std/src/io/mod.rs:344:1 [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 403 - match board.write(&mut io::stdio::stdout()) { [INFO] [stdout] 403 + match board.write(&mut io::stdout()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | try!(output.write_str("\n")); [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/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | try!(output.write_uint(self.data[i][j] as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | try!(output.write_str("|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | try!(output.write_line("-----------")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | let mut nb = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [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 `i` for number literal [INFO] [stdout] --> src/main.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | let mut n = 1i; [INFO] [stdout] | ^^ invalid suffix `i` [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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] | ^^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | Board { data: [[0, ..9], ..9] } [INFO] [stdout] | ^^^ expected `u8`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | data: [[u8, ..9], ..9] [INFO] [stdout] | ^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_empty_number(ns: &[bool, ..10]) -> u8 { [INFO] [stdout] | ^^^^ expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | Board { data: [[0, ..9], ..9] } [INFO] [stdout] | ^^^ expected `u8`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | let mut numbers = [false, ..10]; [INFO] [stdout] | ^^^^ expected `bool`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | let mut numbers = [false, ..10]; [INFO] [stdout] | ^^^^ expected `bool`, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sudoku` (bin "sudoku") due to 51 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sudoku` (bin "sudoku" test) due to 51 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a67a3e704568f12c34f5a488b68bb2b6dcf73f1b0d3bc2dc2fe484ab836c375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a67a3e704568f12c34f5a488b68bb2b6dcf73f1b0d3bc2dc2fe484ab836c375", kill_on_drop: false }` [INFO] [stdout] 8a67a3e704568f12c34f5a488b68bb2b6dcf73f1b0d3bc2dc2fe484ab836c375