[INFO] fetching crate strprox 0.3.3... [INFO] checking strprox-0.3.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate strprox 0.3.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate strprox 0.3.3 [INFO] finished tweaking crates.io crate strprox 0.3.3 [INFO] tweaked toml for crates.io crate strprox 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strprox 0.3.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0df525da5997dc37e853860ec9be413f51e4b2278e9587749079f749b17864 [INFO] running `Command { std: "docker" "start" "-a" "0c0df525da5997dc37e853860ec9be413f51e4b2278e9587749079f749b17864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0df525da5997dc37e853860ec9be413f51e4b2278e9587749079f749b17864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0df525da5997dc37e853860ec9be413f51e4b2278e9587749079f749b17864", kill_on_drop: false }` [INFO] [stdout] 0c0df525da5997dc37e853860ec9be413f51e4b2278e9587749079f749b17864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba1866dcd832aecad1136dcced816f627a711b3e42f92249927e9f1da87f173 [INFO] running `Command { std: "docker" "start" "-a" "8ba1866dcd832aecad1136dcced816f627a711b3e42f92249927e9f1da87f173", kill_on_drop: false }` [INFO] [stderr] Checking strprox v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeMap`, `Reverse`, `result`, and `string` [INFO] [stdout] --> src/strprox/prefix/mod.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::{max, min, Reverse}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | collections::{hash_map, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | result, string, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeasuredString` [INFO] [stdout] --> src/strprox/prefix/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{MeasuredPrefix, MeasuredString}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/strprox.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 70 | pub type Autocompleter<'stored, U = u8, S = u32> = prefix::Autocompleter<'stored, U, S>; [INFO] [stdout] | ------------------------------------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs" [INFO] [stdout] = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `Reverse`, `result`, and `string` [INFO] [stdout] --> src/strprox/prefix/mod.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::{max, min, Reverse}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | collections::{hash_map, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | result, string, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MeasuredString` [INFO] [stdout] --> src/strprox/prefix/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{MeasuredPrefix, MeasuredString}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/strprox.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 70 | pub type Autocompleter<'stored, U = u8, S = u32> = prefix::Autocompleter<'stored, U, S>; [INFO] [stdout] | ------------------------------------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ancestor` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ancestor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:84 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_edit_distance` [INFO] [stdout] --> src/strprox/prefix/mod.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | prefix_edit_distance: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_edit_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `preorder` and `preorder_node` are never used [INFO] [stdout] --> src/strprox/prefix/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'stored> Trie<'stored, UUU, SSS> { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn preorder(&self, visitor: &mut VisitorFn) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn preorder_node(&self, visitor: &mut VisitorFn, node: &Node) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UUU` is never used [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type UUU = u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SSS` is never used [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type SSS = u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompactTreeNode` is never constructed [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct CompactTreeNode<'stored, UUU, SSS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChildrenListNode` is never constructed [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct ChildrenListNode<'stored, UUU, SSS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ancestor` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ancestor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChildrenList` is never constructed [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct ChildrenList<'stored, UUU, SSS> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompactTree` is never constructed [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct CompactTree<'stored, UUU, SSS> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `insert` are never used [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'stored> CompactTree<'stored, UUU, SSS> { [INFO] [stdout] | -------------------------------------------- associated functions in this implementation [INFO] [stdout] 28 | /// Constructs a CompactTree with the root of a trie [INFO] [stdout] 29 | fn new(trie: &'stored Trie<'stored, UUU, SSS>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/strprox/prefix/compact_tree.rs:37:84 [INFO] [stdout] | [INFO] [stdout] 37 | fn insert(ancestor: &'stored Node, nodes: &'stored [Node], depth: UUU) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_from_chars` is never used [INFO] [stdout] --> src/levenshtein/mod.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn string_from_chars(chars: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_edit_distance` [INFO] [stdout] --> src/strprox/prefix/mod.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | prefix_edit_distance: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_edit_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `strprox` (lib) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strprox` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ba1866dcd832aecad1136dcced816f627a711b3e42f92249927e9f1da87f173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba1866dcd832aecad1136dcced816f627a711b3e42f92249927e9f1da87f173", kill_on_drop: false }` [INFO] [stdout] 8ba1866dcd832aecad1136dcced816f627a711b3e42f92249927e9f1da87f173