[INFO] cloning repository https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Fdata-structures-and-algorithms-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Fdata-structures-and-algorithms-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c734424fb3b1f5bc653cae252adfd2eda119768 [INFO] checking EstebanBorai/data-structures-and-algorithms-with-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Fdata-structures-and-algorithms-with-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust [INFO] finished tweaking git repo https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust [INFO] tweaked toml for git repo https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/EstebanBorai/data-structures-and-algorithms-with-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4281d3d6fd7a54a4e7d76dd463efbd96af3e46174b69ec895a970ab50137116 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f4281d3d6fd7a54a4e7d76dd463efbd96af3e46174b69ec895a970ab50137116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4281d3d6fd7a54a4e7d76dd463efbd96af3e46174b69ec895a970ab50137116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4281d3d6fd7a54a4e7d76dd463efbd96af3e46174b69ec895a970ab50137116", kill_on_drop: false }` [INFO] [stdout] f4281d3d6fd7a54a4e7d76dd463efbd96af3e46174b69ec895a970ab50137116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12c93709db9320d3f354fcf4ea259c4606ff0efde89f567b48fc873718095e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d12c93709db9320d3f354fcf4ea259c4606ff0efde89f567b48fc873718095e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking dsa-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search_tree.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `boxed` [INFO] [stdout] --> src/binary_search_tree.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn boxed(value: T) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/binary_search_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search_tree.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/binary_search_tree.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add(&mut self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recursive` [INFO] [stdout] --> src/binary_search_tree.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn add_recursive(&mut self, node: Tree, value: T) -> Tree { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/binary_search_tree.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find(&self, value: T) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_recursive` [INFO] [stdout] --> src/binary_search_tree.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn find_recursive(&self, node: &Tree, value: T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> src/binary_search_tree.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn walk(&self, func: impl Fn(&T) -> ()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk_in_order` [INFO] [stdout] --> src/binary_search_tree.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn walk_in_order(&self, node: &Tree, func: &impl Fn(&T) -> ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/doubly_linked_list.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_value` [INFO] [stdout] --> src/doubly_linked_list.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/doubly_linked_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/doubly_linked_list.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/doubly_linked_list.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn append(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/doubly_linked_list.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/doubly_linked_list.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn new(current: Link) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DynamicArray` [INFO] [stdout] --> src/dynamic_array.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DynamicArray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dynamic_array.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow` [INFO] [stdout] --> src/dynamic_array.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn grow(&mut self, min_cap: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ensure_capacity` [INFO] [stdout] --> src/dynamic_array.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn ensure_capacity(&mut self, items_to_add: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `item_at` [INFO] [stdout] --> src/dynamic_array.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn item_at(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/dynamic_array.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add(&mut self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/singly_linked_list.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_value` [INFO] [stdout] --> src/singly_linked_list.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn peek_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/singly_linked_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/singly_linked_list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/singly_linked_list.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn append(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/singly_linked_list.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skip_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(level: usize, value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_value` [INFO] [stdout] --> src/skip_list.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn peek_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skip_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(max_level: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/skip_list.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn append(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_level` [INFO] [stdout] --> src/skip_list.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_level(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/binary_search_tree.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | type Tree = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 9 | type Tree = Option>>; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/binary_search_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_value` [INFO] [stdout] --> src/skip_list.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn peek_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/binary_search_tree.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | type Tree = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 9 | type Tree = Option>>; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "d12c93709db9320d3f354fcf4ea259c4606ff0efde89f567b48fc873718095e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12c93709db9320d3f354fcf4ea259c4606ff0efde89f567b48fc873718095e9", kill_on_drop: false }` [INFO] [stdout] d12c93709db9320d3f354fcf4ea259c4606ff0efde89f567b48fc873718095e9