[INFO] cloning repository https://github.com/foodhype/suggest_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foodhype/suggest_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b5d22659c5505f0b92f50861f1ab9f4af9b18e8 [INFO] checking foodhype/suggest_tree against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foodhype/suggest_tree on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foodhype/suggest_tree [INFO] finished tweaking git repo https://github.com/foodhype/suggest_tree [INFO] tweaked toml for git repo https://github.com/foodhype/suggest_tree written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/foodhype/suggest_tree already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62a18cab5c5f3b60481e0f2a99bca483d6bf07a605c31d85e7d236e1098edf72 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "62a18cab5c5f3b60481e0f2a99bca483d6bf07a605c31d85e7d236e1098edf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62a18cab5c5f3b60481e0f2a99bca483d6bf07a605c31d85e7d236e1098edf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a18cab5c5f3b60481e0f2a99bca483d6bf07a605c31d85e7d236e1098edf72", kill_on_drop: false }` [INFO] [stdout] 62a18cab5c5f3b60481e0f2a99bca483d6bf07a605c31d85e7d236e1098edf72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 393ea443070f6aa1524ce926253dd2675f042147493c78edca1ecd36598fb348 [INFO] running `Command { std: "docker" "start" "-a" "393ea443070f6aa1524ce926253dd2675f042147493c78edca1ecd36598fb348", kill_on_drop: false }` [INFO] [stderr] Checking suggest_tree v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | last_index: uint [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:15:33 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 14 | children: HashMap>>, [INFO] [stdout] 15 | completion_weights: HashMap [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:15:39 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 14 | children: HashMap>>, [INFO] [stdout] 15 | completion_weights: HashMap [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:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | fn add(&mut self, word: &str, index: uint) { [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:47:66 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap> { [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:47:72 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap> { [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:81:66 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'a> SuggestTree<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_weights(& mut self, prefix: &str) -> HashMap<&String, uint> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let path = Path::new("/usr/share/dict/words"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/main.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | self.children.insert(letter, box CompletionTrie::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | last_index: uint [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:15:33 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 14 | children: HashMap>>, [INFO] [stdout] 15 | completion_weights: HashMap [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:15:39 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 14 | children: HashMap>>, [INFO] [stdout] 15 | completion_weights: HashMap [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:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | fn add(&mut self, word: &str, index: uint) { [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:47:66 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap> { [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:47:72 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap> { [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:81:66 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'a> SuggestTree<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_weights(& mut self, prefix: &str) -> HashMap<&String, uint> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let path = Path::new("/usr/share/dict/words"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/main.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | self.children.insert(letter, box CompletionTrie::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `suggest_tree` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct CompletionTrie<'a> { [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "393ea443070f6aa1524ce926253dd2675f042147493c78edca1ecd36598fb348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393ea443070f6aa1524ce926253dd2675f042147493c78edca1ecd36598fb348", kill_on_drop: false }` [INFO] [stdout] 393ea443070f6aa1524ce926253dd2675f042147493c78edca1ecd36598fb348