[INFO] cloning repository https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diasdavid/sherlock-and-pairs-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f768263621d1ea7ed2262369ea051774d4a8953
[INFO] checking diasdavid/sherlock-and-pairs-rust against fa2e5c134b37481738d46002dfb836237332dd9a for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] finished tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] tweaked toml for git repo https://github.com/diasdavid/sherlock-and-pairs-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/diasdavid/sherlock-and-pairs-rust on toolchain fa2e5c134b37481738d46002dfb836237332dd9a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/diasdavid/sherlock-and-pairs-rust 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" "+fa2e5c134b37481738d46002dfb836237332dd9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `arrays-and-sorting` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking diasdavid/sherlock-and-pairs-rust against fa2e5c134b37481738d46002dfb836237332dd9a for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] finished tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] tweaked toml for git repo https://github.com/diasdavid/sherlock-and-pairs-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/diasdavid/sherlock-and-pairs-rust on toolchain fa2e5c134b37481738d46002dfb836237332dd9a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/diasdavid/sherlock-and-pairs-rust 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" "+fa2e5c134b37481738d46002dfb836237332dd9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `arrays-and-sorting` (manifest) generated 1 warning
[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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f
[INFO] running `Command { std: "docker" "start" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `arrays-and-sorting` (manifest) generated 1 warning
[INFO] [stderr]     Checking arrays-and-sorting v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout] 7 +     let n_experiments: i32 = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     for _ in range(0, n_experiments) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/main.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 17 -         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout] 17 +         let n_numbers: i32 = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let numbers: Vec<int> = 
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 20 -         let numbers: Vec<int> = 
[INFO] [stdout] 20 +         let numbers: Vec<i32> = 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let counts: Vec<int> = vec_count_elem(numbers);
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let counts: Vec<int> = vec_count_elem(numbers);
[INFO] [stdout] 26 +         let counts: Vec<i32> = vec_count_elem(numbers);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:28:24
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut total: int = 0i;
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 28 -         let mut total: int = 0i;
[INFO] [stdout] 28 +         let mut total: i32 = 0i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 39 - fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout] 39 + fn smart_permutations(n: i32) -> int { n * (n-1) }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 39 - fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout] 39 + fn smart_permutations(n: int) -> i32 { n * (n-1) }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 41 - fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout] 41 + fn vec_count_elem(vec: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 41 - fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout] 41 + fn vec_count_elem(vec: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout] 42 +     let mut counts: HashMap<i32, int> = HashMap::new();;
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout] 42 +     let mut counts: HashMap<int, i32> = HashMap::new();;
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut result: Vec<int> = Vec::new();
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 43 -     let mut result: Vec<int> = Vec::new();
[INFO] [stdout] 43 +     let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                                                        ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut total: int = 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:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |             if *count > 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout] 7 +     let n_experiments: i32 = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     for _ in range(0, n_experiments) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/main.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 17 -         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout] 17 +         let n_numbers: i32 = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let numbers: Vec<int> = 
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 20 -         let numbers: Vec<int> = 
[INFO] [stdout] 20 +         let numbers: Vec<i32> = 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let counts: Vec<int> = vec_count_elem(numbers);
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let counts: Vec<int> = vec_count_elem(numbers);
[INFO] [stdout] 26 +         let counts: Vec<i32> = vec_count_elem(numbers);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:28:24
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut total: int = 0i;
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 28 -         let mut total: int = 0i;
[INFO] [stdout] 28 +         let mut total: i32 = 0i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 39 - fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout] 39 + fn smart_permutations(n: i32) -> int { n * (n-1) }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 39 - fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout] 39 + fn smart_permutations(n: int) -> i32 { n * (n-1) }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 41 - fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout] 41 + fn vec_count_elem(vec: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 41 - fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout] 41 + fn vec_count_elem(vec: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout] 42 +     let mut counts: HashMap<i32, int> = HashMap::new();;
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout] 42 +     let mut counts: HashMap<int, i32> = HashMap::new();;
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut result: Vec<int> = Vec::new();
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might have intended to use the `i32` primitive type
[INFO] [stdout]    |
[INFO] [stdout] 43 -     let mut result: Vec<int> = Vec::new();
[INFO] [stdout] 43 +     let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut counts: HashMap<int, int> = HashMap::new();;
[INFO] [stdout]    |                                                        ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut total: int = 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:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |             if *count > 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[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]  --> src/main.rs:7:46
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                              ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]   |
[INFO] [stdout] note: method defined here
[INFO] [stdout]  --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line(/* &mut String */).unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]  --> src/main.rs:7:46
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                              ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]   |
[INFO] [stdout] note: method defined here
[INFO] [stdout]  --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line(/* &mut String */).unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]  --> src/main.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                                                   ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]  --> src/main.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                                                                   ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]  --> src/main.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]  --> src/main.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n_experiments: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]   |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:17:46
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line(/* &mut String */).unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:17:46
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line(/* &mut String */).unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:17:67
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                                                   ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:17:67
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                                                                   ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let n_numbers: int = from_str(reader.read_line().unwrap().as_slice().trim()).unwrap();
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line().unwrap().as_slice()  // (1)
[INFO] [stdout]    |                    ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line(/* &mut String */).unwrap().as_slice()  // (1)
[INFO] [stdout]    |                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line().unwrap().as_slice()  // (1)
[INFO] [stdout]    |                    ^^^^^^^^^-- argument #1 of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/fa2e5c134b37481738d46002dfb836237332dd9a/library/std/src/io/stdio.rs:350:0
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line(/* &mut String */).unwrap().as_slice()  // (1)
[INFO] [stdout]    |                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line().unwrap().as_slice()  // (1)
[INFO] [stdout]    |                                         ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 |             reader.read_line().unwrap().as_slice()  // (1)
[INFO] [stdout]    |                                         ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |                   .map(|s| from_str(s).unwrap())    // (4)
[INFO] [stdout]    |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |                   .map(|s| from_str(s).unwrap())    // (4)
[INFO] [stdout]    |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arrays-and-sorting` (bin "arrays-and-sorting" test) due to 24 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `arrays-and-sorting` (bin "arrays-and-sorting") due to 24 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f", kill_on_drop: false }`
[INFO] [stdout] bb8f4e5c89a280c0d0a10274a2a3976a2119951bb920a5455f084e9b358c778f
