[INFO] updating cached repository diasdavid/sherlock-and-pairs-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/diasdavid/sherlock-and-pairs-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/diasdavid/sherlock-and-pairs-rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/diasdavid/sherlock-and-pairs-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/diasdavid/sherlock-and-pairs-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/diasdavid/sherlock-and-pairs-rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/diasdavid/sherlock-and-pairs-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/diasdavid/sherlock-and-pairs-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5f768263621d1ea7ed2262369ea051774d4a8953 [INFO] sha for GitHub repo diasdavid/sherlock-and-pairs-rust: 5f768263621d1ea7ed2262369ea051774d4a8953 [INFO] validating manifest of diasdavid/sherlock-and-pairs-rust on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of diasdavid/sherlock-and-pairs-rust on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing diasdavid/sherlock-and-pairs-rust [INFO] finished frobbing diasdavid/sherlock-and-pairs-rust [INFO] frobbed toml for diasdavid/sherlock-and-pairs-rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/diasdavid/sherlock-and-pairs-rust/Cargo.toml [INFO] started frobbing diasdavid/sherlock-and-pairs-rust [INFO] finished frobbing diasdavid/sherlock-and-pairs-rust [INFO] frobbed toml for diasdavid/sherlock-and-pairs-rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/diasdavid/sherlock-and-pairs-rust/Cargo.toml [INFO] crate diasdavid/sherlock-and-pairs-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking diasdavid/sherlock-and-pairs-rust against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/diasdavid/sherlock-and-pairs-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 66eaac639d30d864ec326ac745acffc5ce194ea83475785cfdf1e192ca200efa [INFO] running `"docker" "start" "-a" "66eaac639d30d864ec326ac745acffc5ce194ea83475785cfdf1e192ca200efa"` [INFO] [stderr] Checking arrays-and-sorting v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | let mut total: int = 0i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | if *count > 1i { [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | let mut total: int = 0i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | if *count > 1i { [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | for _ in range(0, n_experiments) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | let numbers: Vec = [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | .map(|s| from_str(s).unwrap()) // (4) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | let counts: Vec = vec_count_elem(numbers); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let mut total: int = 0i; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:39:26 [INFO] [stderr] | [INFO] [stderr] 39 | fn smart_permutations(n: int) -> int { n * (n-1) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | fn smart_permutations(n: int) -> int { n * (n-1) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | fn vec_count_elem(vec: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:41:41 [INFO] [stderr] | [INFO] [stderr] 41 | fn vec_count_elem(vec: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | let mut counts: HashMap = HashMap::new();; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 42 | let mut counts: HashMap = HashMap::new();; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let mut result: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:7:46 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | for _ in range(0, n_experiments) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | let numbers: Vec = [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | .map(|s| from_str(s).unwrap()) // (4) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | let counts: Vec = vec_count_elem(numbers); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let mut total: int = 0i; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:39:26 [INFO] [stderr] | [INFO] [stderr] 39 | fn smart_permutations(n: int) -> int { n * (n-1) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | fn smart_permutations(n: int) -> int { n * (n-1) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | fn vec_count_elem(vec: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:41:41 [INFO] [stderr] | [INFO] [stderr] 41 | fn vec_count_elem(vec: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | let mut counts: HashMap = HashMap::new();; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 42 | let mut counts: HashMap = HashMap::new();; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | let mut result: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:7:46 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:7:67 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:17:46 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:17:67 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | reader.read_line().unwrap().as_slice() // (1) [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | reader.read_line().unwrap().as_slice() // (1) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `arrays-and-sorting`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:7:67 [INFO] [stderr] | [INFO] [stderr] 7 | let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:17:46 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:17:67 [INFO] [stderr] | [INFO] [stderr] 17 | let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | reader.read_line().unwrap().as_slice() // (1) [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | reader.read_line().unwrap().as_slice() // (1) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `arrays-and-sorting`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "66eaac639d30d864ec326ac745acffc5ce194ea83475785cfdf1e192ca200efa"` [INFO] running `"docker" "rm" "-f" "66eaac639d30d864ec326ac745acffc5ce194ea83475785cfdf1e192ca200efa"` [INFO] [stdout] 66eaac639d30d864ec326ac745acffc5ce194ea83475785cfdf1e192ca200efa