[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] documenting foodhype/suggest_tree against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foodhype/suggest_tree on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-28/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" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bbd2fb884202820d418563a34fc4d4570b0ffbf3e8b41429fc5cd1e7c4d27a9 [INFO] running `Command { std: "docker" "start" "-a" "8bbd2fb884202820d418563a34fc4d4570b0ffbf3e8b41429fc5cd1e7c4d27a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bbd2fb884202820d418563a34fc4d4570b0ffbf3e8b41429fc5cd1e7c4d27a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbd2fb884202820d418563a34fc4d4570b0ffbf3e8b41429fc5cd1e7c4d27a9", kill_on_drop: false }` [INFO] [stdout] 8bbd2fb884202820d418563a34fc4d4570b0ffbf3e8b41429fc5cd1e7c4d27a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a94962fac29c5d7228429bfcea72c61e08a5791dfa319abc67323b4dd952b05 [INFO] running `Command { std: "docker" "start" "-a" "0a94962fac29c5d7228429bfcea72c61e08a5791dfa319abc67323b4dd952b05", kill_on_drop: false }` [INFO] [stderr] Documenting 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::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[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] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `suggest_tree` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name suggest_tree src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=390070bd8e8f3010 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "0a94962fac29c5d7228429bfcea72c61e08a5791dfa319abc67323b4dd952b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a94962fac29c5d7228429bfcea72c61e08a5791dfa319abc67323b4dd952b05", kill_on_drop: false }` [INFO] [stdout] 0a94962fac29c5d7228429bfcea72c61e08a5791dfa319abc67323b4dd952b05