[INFO] cloning repository https://github.com/jml/rust-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jml/rust-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc4ed43122015a4c7fde821eb62b575b53737764
[INFO] checking jml/rust-scratch against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jml/rust-scratch
[INFO] finished tweaking git repo https://github.com/jml/rust-scratch
[INFO] tweaked toml for git repo https://github.com/jml/rust-scratch written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jml/rust-scratch on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jml/rust-scratch 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking jml/rust-scratch against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jml/rust-scratch
[INFO] finished tweaking git repo https://github.com/jml/rust-scratch
[INFO] tweaked toml for git repo https://github.com/jml/rust-scratch written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jml/rust-scratch on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jml/rust-scratch 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking jml/rust-scratch against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jml/rust-scratch
[INFO] finished tweaking git repo https://github.com/jml/rust-scratch
[INFO] tweaked toml for git repo https://github.com/jml/rust-scratch written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jml/rust-scratch on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jml/rust-scratch 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cbe7081570190a0f0df3c23287d454f25817ea2aeea4d4113a84983028315450
[INFO] running `Command { std: "docker" "start" "-a" "cbe7081570190a0f0df3c23287d454f25817ea2aeea4d4113a84983028315450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbe7081570190a0f0df3c23287d454f25817ea2aeea4d4113a84983028315450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbe7081570190a0f0df3c23287d454f25817ea2aeea4d4113a84983028315450", kill_on_drop: false }`
[INFO] [stdout] cbe7081570190a0f0df3c23287d454f25817ea2aeea4d4113a84983028315450
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c95ef2609e7242f6339c19e0baea5ff4d82e2891445a48ae04ff9f446080e19d
[INFO] running `Command { std: "docker" "start" "-a" "c95ef2609e7242f6339c19e0baea5ff4d82e2891445a48ae04ff9f446080e19d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking target v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]   --> src/lib.rs:51:91
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                           ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected parameter name, found `->`
[INFO] [stdout]   --> src/lib.rs:51:98
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                               -  ^^ expected parameter name
[INFO] [stdout]    |                                                                                               |
[INFO] [stdout]    |                                                                                               while parsing this or-pattern starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]   --> src/lib.rs:51:91
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                           ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected parameter name, found `->`
[INFO] [stdout]   --> src/lib.rs:51:98
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                               -  ^^ expected parameter name
[INFO] [stdout]    |                                                                                               |
[INFO] [stdout]    |                                                                                               while parsing this or-pattern starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::TreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]   |     |                 |
[INFO] [stdout]   |     |                 help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout]   |     no `TreeMap` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]    --> src/lib.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::collections::TreeMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ no `TreeMap` in `collections`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::collections::BTreeMap;
[INFO] [stdout]     |                           +
[INFO] [stdout] help: consider importing this unresolved item through its public re-export instead
[INFO] [stdout]     |
[INFO] [stdout] 160 -     use std::collections::TreeMap;
[INFO] [stdout] 160 +     use TreeMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::TreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]   |     |                 |
[INFO] [stdout]   |     |                 help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout]   |     no `TreeMap` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]    --> src/lib.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::collections::TreeMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ no `TreeMap` in `collections`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::collections::BTreeMap;
[INFO] [stdout]     |                           +
[INFO] [stdout] help: consider importing this unresolved item through its public re-export instead
[INFO] [stdout]     |
[INFO] [stdout] 160 -     use std::collections::TreeMap;
[INFO] [stdout] 160 +     use TreeMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/lib.rs:86:82
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                                                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 86 - pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout] 86 + pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>, int>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:111:51
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn letter_counts(word: &str) -> TreeMap<char, int> {
[INFO] [stdout]     |                                                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 111 - pub fn letter_counts(word: &str) -> TreeMap<char, int> {
[INFO] [stdout] 111 + pub fn letter_counts(word: &str) -> TreeMap<char, i32> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn letter_counts<int>(word: &str) -> TreeMap<char, int> {
[INFO] [stdout]     |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/lib.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 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: invalid suffix `i` for number literal
[INFO] [stdout]    --> src/lib.rs:131:33
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[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/lib.rs:131:44
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[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[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:51:48
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: replace the generic bound with the associated type
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<Item = K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                     ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: replace the generic bound with the associated type
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<Item = A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/lib.rs:86:82
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                                                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 86 - pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout] 86 + pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>, int>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:111:51
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn letter_counts(word: &str) -> TreeMap<char, int> {
[INFO] [stdout]     |                                                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 111 - pub fn letter_counts(word: &str) -> TreeMap<char, int> {
[INFO] [stdout] 111 + pub fn letter_counts(word: &str) -> TreeMap<char, i32> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn letter_counts<int>(word: &str) -> TreeMap<char, int> {
[INFO] [stdout]     |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let v:Vec<int> = vec![];
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 190 -         let v:Vec<int> = vec![];
[INFO] [stdout] 190 +         let v:Vec<i32> = vec![];
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn empty_frequency<int>() {
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:191:25
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let m: TreeMap<&int, int> = TreeMap::new();
[INFO] [stdout]     |                         ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 191 -         let m: TreeMap<&int, int> = TreeMap::new();
[INFO] [stdout] 191 +         let m: TreeMap<&i32, int> = TreeMap::new();
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn empty_frequency<int>() {
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let m: TreeMap<&int, int> = TreeMap::new();
[INFO] [stdout]     |                              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 191 -         let m: TreeMap<&int, int> = TreeMap::new();
[INFO] [stdout] 191 +         let m: TreeMap<&int, i32> = TreeMap::new();
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn empty_frequency<int>() {
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:192:25
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let f: TreeMap<&int, int> = super::frequency(&mut v.iter());
[INFO] [stdout]     |                         ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 192 -         let f: TreeMap<&int, int> = super::frequency(&mut v.iter());
[INFO] [stdout] 192 +         let f: TreeMap<&i32, int> = super::frequency(&mut v.iter());
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn empty_frequency<int>() {
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let f: TreeMap<&int, int> = super::frequency(&mut v.iter());
[INFO] [stdout]     |                              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 192 -         let f: TreeMap<&int, int> = super::frequency(&mut v.iter());
[INFO] [stdout] 192 +         let f: TreeMap<&int, i32> = super::frequency(&mut v.iter());
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn empty_frequency<int>() {
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:199:35
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let mut m: TreeMap<&&str, int> = TreeMap::new();
[INFO] [stdout]     |                                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 199 -         let mut m: TreeMap<&&str, int> = TreeMap::new();
[INFO] [stdout] 199 +         let mut m: TreeMap<&&str, i32> = TreeMap::new();
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn single_frequency<int>() {
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:201:31
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let f: TreeMap<&&str, int> = super::frequency(&mut v.iter());
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 201 -         let f: TreeMap<&&str, int> = super::frequency(&mut v.iter());
[INFO] [stdout] 201 +         let f: TreeMap<&&str, i32> = super::frequency(&mut v.iter());
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn single_frequency<int>() {
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:208:34
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut m: TreeMap<char, int> = TreeMap::new();
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 208 -         let mut m: TreeMap<char, int> = TreeMap::new();
[INFO] [stdout] 208 +         let mut m: TreeMap<char, i32> = TreeMap::new();
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn multiple_frequency<int>() {
[INFO] [stdout]     |                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:217:30
[INFO] [stdout]     |
[INFO] [stdout] 217 |         let f: TreeMap<char, int> = super::frequency(&mut v.chars());
[INFO] [stdout]     |                              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 217 -         let f: TreeMap<char, int> = super::frequency(&mut v.chars());
[INFO] [stdout] 217 +         let f: TreeMap<char, i32> = super::frequency(&mut v.chars());
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn multiple_frequency<int>() {
[INFO] [stdout]     |                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/lib.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 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: invalid suffix `i` for number literal
[INFO] [stdout]    --> src/lib.rs:131:33
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[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/lib.rs:131:44
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[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[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:51:48
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: replace the generic bound with the associated type
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<Item = K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                     ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: replace the generic bound with the associated type
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<Item = A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for associated type `<T as Iterator>::Item` in the current scope
[INFO] [stdout]   --> src/lib.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some(i) => f(i, x.clone()),
[INFO] [stdout]    |                                   ^^^^^ method not found in `<T as Iterator>::Item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `f` in this scope
[INFO] [stdout]   --> src/lib.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some(i) => f(i, x.clone()),
[INFO] [stdout]    |                            ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for associated type `<T as Iterator>::Item` in the current scope
[INFO] [stdout]   --> src/lib.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some(i) => f(i, x.clone()),
[INFO] [stdout]    |                                   ^^^^^ method not found in `<T as Iterator>::Item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 1i })
[INFO] [stdout]    |     ^^^^^^^^^^-------------------------------- argument #4 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |        ^^^^^^^^^^                                                                              ------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 1i }, /* _ */)
[INFO] [stdout]    |                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `f` in this scope
[INFO] [stdout]   --> src/lib.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some(i) => f(i, x.clone()),
[INFO] [stdout]    |                            ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 1i })
[INFO] [stdout]    |     ^^^^^^^^^^-------------------------------- argument #4 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |        ^^^^^^^^^^                                                                              ------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 1i }, /* _ */)
[INFO] [stdout]    |                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     candidate.char_len() >= 4
[INFO] [stdout]     |               ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_char` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:142:22
[INFO] [stdout]     |
[INFO] [stdout] 142 |         && candidate.contains_char(target_char)
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 142 -         && candidate.contains_char(target_char)
[INFO] [stdout] 142 +         && candidate.contains(target_char)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     candidate.char_len() >= 4
[INFO] [stdout]     |               ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_char` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/lib.rs:142:22
[INFO] [stdout]     |
[INFO] [stdout] 142 |         && candidate.contains_char(target_char)
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 142 -         && candidate.contains_char(target_char)
[INFO] [stdout] 142 +         && candidate.contains(target_char)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `target` (lib) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `target` (lib test) due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "c95ef2609e7242f6339c19e0baea5ff4d82e2891445a48ae04ff9f446080e19d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c95ef2609e7242f6339c19e0baea5ff4d82e2891445a48ae04ff9f446080e19d", kill_on_drop: false }`
[INFO] [stdout] c95ef2609e7242f6339c19e0baea5ff4d82e2891445a48ae04ff9f446080e19d
