[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/beta-1.37-6/sources/1.36.0/gh/diasdavid/sherlock-and-pairs-rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/diasdavid/sherlock-and-pairs-rust'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/diasdavid/sherlock-and-pairs-rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/diasdavid/sherlock-and-pairs-rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of diasdavid/sherlock-and-pairs-rust on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/beta-1.37-6/sources/1.36.0/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/beta-1.37-6/sources/beta-2019-07-23/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" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing diasdavid/sherlock-and-pairs-rust against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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=warn" "-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" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] f01997778f88fff6d7f4d46937ceb1ca8b1e7bde7e82d580b0f1180f0f5b1470
[INFO] running `"docker" "start" "-a" "f01997778f88fff6d7f4d46937ceb1ca8b1e7bde7e82d580b0f1180f0f5b1470"`
[INFO] [stderr]    Compiling arrays-and-sorting v0.0.1 (/opt/crater/workdir)
[INFO] [stderr] error: invalid width `` for integer literal
[INFO] [stderr]   --> src/main.rs:28:30
[INFO] [stderr]    |
[INFO] [stderr] 28 |         let mut total: int = 0i;
[INFO] [stderr]    |                              ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: valid widths are 8, 16, 32, 64 and 128
[INFO] [stderr] 
[INFO] [stderr] error: invalid width `` for integer literal
[INFO] [stderr]   --> src/main.rs:30:25
[INFO] [stderr]    |
[INFO] [stderr] 30 |             if *count > 1i {
[INFO] [stderr]    |                         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: valid widths are 8, 16, 32, 64 and 128
[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<int> = 
[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<int> = 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<int>) -> Vec<int> {
[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<int>) -> Vec<int> {
[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<int, int> = 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<int, int> = 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<int> = 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] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f01997778f88fff6d7f4d46937ceb1ca8b1e7bde7e82d580b0f1180f0f5b1470"`
[INFO] running `"docker" "rm" "-f" "f01997778f88fff6d7f4d46937ceb1ca8b1e7bde7e82d580b0f1180f0f5b1470"`
[INFO] [stdout] f01997778f88fff6d7f4d46937ceb1ca8b1e7bde7e82d580b0f1180f0f5b1470
