[INFO] cloning repository https://github.com/andreaguarino/more_rust_structures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreaguarino/more_rust_structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaguarino%2Fmore_rust_structures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaguarino%2Fmore_rust_structures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f650bca823bbe9c51118ded2d92af9dc07ee2b8a [INFO] checking andreaguarino/more_rust_structures/f650bca823bbe9c51118ded2d92af9dc07ee2b8a against master#717f5df2c308dfb4b7b8e6c002c11fe8269c4011 for pr-133274 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaguarino%2Fmore_rust_structures" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreaguarino/more_rust_structures on toolchain 717f5df2c308dfb4b7b8e6c002c11fe8269c4011 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreaguarino/more_rust_structures [INFO] finished tweaking git repo https://github.com/andreaguarino/more_rust_structures [INFO] tweaked toml for git repo https://github.com/andreaguarino/more_rust_structures written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andreaguarino/more_rust_structures 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" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5571faba6f88629abf174a4b325273a8886cedf73e8b076e784841a06d6a5087 [INFO] running `Command { std: "docker" "start" "-a" "5571faba6f88629abf174a4b325273a8886cedf73e8b076e784841a06d6a5087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5571faba6f88629abf174a4b325273a8886cedf73e8b076e784841a06d6a5087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5571faba6f88629abf174a4b325273a8886cedf73e8b076e784841a06d6a5087", kill_on_drop: false }` [INFO] [stdout] 5571faba6f88629abf174a4b325273a8886cedf73e8b076e784841a06d6a5087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc345edaf199dbd5e2600572fb6d0422e013490a79fc8e2260f84b7d4407f5dc [INFO] running `Command { std: "docker" "start" "-a" "dc345edaf199dbd5e2600572fb6d0422e013490a79fc8e2260f84b7d4407f5dc", kill_on_drop: false }` [INFO] [stderr] Checking more_rust_structures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `selection_sort` is never used [INFO] [stdout] --> src/sorting/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn selection_sort(list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insertion_sort` is never used [INFO] [stdout] --> src/sorting/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn insertion_sort(list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stack` is never used [INFO] [stdout] --> src/stack/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayStack` is never constructed [INFO] [stdout] --> src/stack/array_stack.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct ArrayStack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `capacity`, and `update_capacity` are never used [INFO] [stdout] --> src/stack/array_stack.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl ArrayStack { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 55 | fn new(initial_capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn update_capacity(&mut self, new_capacity: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/stack/linked_list_stack.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedListStack` is never constructed [INFO] [stdout] --> src/stack/linked_list_stack.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LinkedListStack { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stack/linked_list_stack.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl LinkedListStack { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 54 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `union`, `is_connected`, `find`, and `count` are never used [INFO] [stdout] --> src/union_find/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait UnionFind { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 14 | /// Establishes a "union" relashionship between the integer values `p` and `q` [INFO] [stdout] 15 | fn union(&mut self, p: u32, q: u32) -> (); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | /// Whether the two provided integer values belong to the same set, or two disjoint sets. [INFO] [stdout] 17 | fn is_connected(&self, p: u32, q: u32) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Returns the set identifier of the provided value [INFO] [stdout] 19 | fn find(&self, p: u32) -> u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | /// The number of integer values in the data structure. [INFO] [stdout] 21 | fn count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuickFind` is never constructed [INFO] [stdout] --> src/union_find/quick_find.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct QuickFind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/union_find/quick_find.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl QuickFind { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 52 | fn new(n: u32) -> QuickFind { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuickUnion` is never constructed [INFO] [stdout] --> src/union_find/quick_union.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct QuickUnion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `root` are never used [INFO] [stdout] --> src/union_find/quick_union.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl QuickUnion { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 41 | fn new(n: u32) -> QuickUnion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn root(&self, p: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/union_find/weighted_quick_union.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl WeightedQuickUnion { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(n: u32) -> WeightedQuickUnion { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeightedQuickUnionWithPathCompression` is never constructed [INFO] [stdout] --> src/union_find/weighted_quick_union_with_path_compression.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct WeightedQuickUnionWithPathCompression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `root` are never used [INFO] [stdout] --> src/union_find/weighted_quick_union_with_path_compression.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl WeightedQuickUnionWithPathCompression { [INFO] [stdout] | -------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 36 | fn new(n: u32) -> WeightedQuickUnionWithPathCompression { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn root(&mut self, p: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "dc345edaf199dbd5e2600572fb6d0422e013490a79fc8e2260f84b7d4407f5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc345edaf199dbd5e2600572fb6d0422e013490a79fc8e2260f84b7d4407f5dc", kill_on_drop: false }` [INFO] [stdout] dc345edaf199dbd5e2600572fb6d0422e013490a79fc8e2260f84b7d4407f5dc