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