[INFO] cloning repository https://github.com/fitzgen/rust-words [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fitzgen/rust-words" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitzgen%2Frust-words", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitzgen%2Frust-words'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e230a7414ad9761ed39b02d220bb94b99ad81db [INFO] checking fitzgen/rust-words/7e230a7414ad9761ed39b02d220bb94b99ad81db against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffitzgen%2Frust-words" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fitzgen/rust-words on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fitzgen/rust-words [INFO] finished tweaking git repo https://github.com/fitzgen/rust-words [INFO] tweaked toml for git repo https://github.com/fitzgen/rust-words written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fitzgen/rust-words 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d27279a328b23393673079f08fd0d910b6516c9058a96ee47fa4cc0cc62521c7 [INFO] running `Command { std: "docker" "start" "-a" "d27279a328b23393673079f08fd0d910b6516c9058a96ee47fa4cc0cc62521c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d27279a328b23393673079f08fd0d910b6516c9058a96ee47fa4cc0cc62521c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27279a328b23393673079f08fd0d910b6516c9058a96ee47fa4cc0cc62521c7", kill_on_drop: false }` [INFO] [stdout] d27279a328b23393673079f08fd0d910b6516c9058a96ee47fa4cc0cc62521c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31467dc88fe6cd3bab217edd9dd2a8ddb5e5df5e4bc331035eca43a1912c3585 [INFO] running `Command { std: "docker" "start" "-a" "31467dc88fe6cd3bab217edd9dd2a8ddb5e5df5e4bc331035eca43a1912c3585", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking words v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_or_modify(self, k: K, v: V, modify: &mut |V| -> V) -> Tree { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_or_modify(self, k: K, v: V, modify: &mut |V| -> V) -> Tree { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... left: box Tree::Null, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 | left: Box::new(Tree::Null), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... left: box Tree::Null, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 28 | left: Box::new(Tree::Null), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | ... right: box Tree::Null [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 | right: Box::new(Tree::Null) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | ... right: box Tree::Null [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 29 | right: Box::new(Tree::Null) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | ... left: box left.insert_or_modify(k, v, modify), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 40 | left: Box::new(left.insert_or_modify(k, v, modify)), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | ... left: box left.insert_or_modify(k, v, modify), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 40 | left: Box::new(left.insert_or_modify(k, v, modify)), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | ... right: box right.insert_or_modify(k, v, modify) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 | right: Box::new(right.insert_or_modify(k, v, modify)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/my_tree.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | ... right: box right.insert_or_modify(k, v, modify) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 46 | right: Box::new(right.insert_or_modify(k, v, modify)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a trailing `|` is not allowed in an or-pattern [INFO] [stdout] --> src/my_tree.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | --^ [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] help: remove the `|` [INFO] [stdout] | [INFO] [stdout] 58 - pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] 58 + pub fn each(&self, f: &mut |&K, &V) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a trailing `|` is not allowed in an or-pattern [INFO] [stdout] --> src/my_tree.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | --^ [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] help: remove the `|` [INFO] [stdout] | [INFO] [stdout] 58 - pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] 58 + pub fn each(&self, f: &mut |&K, &V) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `:`, found `)` [INFO] [stdout] --> src/my_tree.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | ^ expected `:` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `:`, found `)` [INFO] [stdout] --> src/my_tree.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn each(&self, f: &mut |&K, &V|) { [INFO] [stdout] | ^ expected `:` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let mut assert_no_modify : |uint| -> uint = |_| { assert!(false); 0u }; [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let mut assert_no_modify : |uint| -> uint = |_| { assert!(false); 0u }; [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let mut assert_no_modify : |uint| -> uint = |_| { assert!(false); 0u }; [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/my_tree.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let mut assert_no_modify : |uint| -> uint = |_| { assert!(false); 0u }; [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoErrorKind` [INFO] [stdout] --> src/word_reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::IoErrorKind; [INFO] [stdout] | ^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `ErrorKind` [INFO] [stdout] | no `IoErrorKind` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoErrorKind` [INFO] [stdout] --> src/word_reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::IoErrorKind; [INFO] [stdout] | ^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `ErrorKind` [INFO] [stdout] | no `IoErrorKind` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `modify` in this scope [INFO] [stdout] --> src/my_tree.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | ... value: (*modify)(value), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | left.each(f); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | (*f)(key, value); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | right.each(f); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/word_reader.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_eof(err : &io::IoError) -> bool { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | let words : my_tree::Tree = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | words.each(&mut |word: &String, n: &uint| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/word_reader.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `modify` in this scope [INFO] [stdout] --> src/my_tree.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | ... value: (*modify)(value), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | left.each(f); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/word_reader.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | if word.len() > 0u { Some(word) } else { None } [INFO] [stdout] | ^^ invalid suffix `u` [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 `u` for number literal [INFO] [stdout] --> src/main.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | |words, w| words.insert_or_modify(w, 1u, &mut |v| v + 1) [INFO] [stdout] | ^^ invalid suffix `u` [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 value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | (*f)(key, value); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/my_tree.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | right.each(f); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/my_tree.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let mut tree : Tree = Tree::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 71 | fn iterate_over_inserted_items_in_order() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/my_tree.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let mut tree : Tree = Tree::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 71 | fn iterate_over_inserted_items_in_order() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/my_tree.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let mut tree : Tree = Tree::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 91 | fn modify_inserted_items() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/my_tree.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | let mut tree : Tree = Tree::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 91 | fn modify_inserted_items() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/word_reader.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_eof(err : &io::IoError) -> bool { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | let words : my_tree::Tree = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | words.each(&mut |word: &String, n: &uint| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/word_reader.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/word_reader.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | if word.len() > 0u { Some(word) } else { None } [INFO] [stdout] | ^^ invalid suffix `u` [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 `u` for number literal [INFO] [stdout] --> src/main.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | |words, w| words.insert_or_modify(w, 1u, &mut |v| v + 1) [INFO] [stdout] | ^^ invalid suffix `u` [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/word_reader.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Iterator for WordReader { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/word_reader.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Iterator for WordReader { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/word_reader.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | impl Iterator for WordReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/word_reader.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | impl Iterator for WordReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0412, E0425, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0412, E0425, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `words` (bin "words") due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `words` (bin "words" test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "31467dc88fe6cd3bab217edd9dd2a8ddb5e5df5e4bc331035eca43a1912c3585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31467dc88fe6cd3bab217edd9dd2a8ddb5e5df5e4bc331035eca43a1912c3585", kill_on_drop: false }` [INFO] [stdout] 31467dc88fe6cd3bab217edd9dd2a8ddb5e5df5e4bc331035eca43a1912c3585