[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 against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaguarino%2Fmore_rust_structures" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andreaguarino/more_rust_structures on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ca77504943887037504c7fc0b9bf06dab3910373" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d02da6d10a4b1d7b2b110bcc267becf7041856a4d872727319c72aab004355f [INFO] running `Command { std: "docker" "start" "-a" "0d02da6d10a4b1d7b2b110bcc267becf7041856a4d872727319c72aab004355f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d02da6d10a4b1d7b2b110bcc267becf7041856a4d872727319c72aab004355f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d02da6d10a4b1d7b2b110bcc267becf7041856a4d872727319c72aab004355f", kill_on_drop: false }` [INFO] [stdout] 0d02da6d10a4b1d7b2b110bcc267becf7041856a4d872727319c72aab004355f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21222094d6ba8e54c53be7896120c99d79cf427ec9374de93f524834c99643d9 [INFO] running `Command { std: "docker" "start" "-a" "21222094d6ba8e54c53be7896120c99d79cf427ec9374de93f524834c99643d9", 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: trait `UnionFind` is never used [INFO] [stdout] --> src/union_find/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait UnionFind { [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: struct `WeightedQuickUnion` is never constructed [INFO] [stdout] --> src/union_find/weighted_quick_union.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WeightedQuickUnion { [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.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl WeightedQuickUnion { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(n: u32) -> WeightedQuickUnion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn root(&self, p: u32) -> u32 { [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.17s [INFO] running `Command { std: "docker" "inspect" "21222094d6ba8e54c53be7896120c99d79cf427ec9374de93f524834c99643d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21222094d6ba8e54c53be7896120c99d79cf427ec9374de93f524834c99643d9", kill_on_drop: false }` [INFO] [stdout] 21222094d6ba8e54c53be7896120c99d79cf427ec9374de93f524834c99643d9