[INFO] cloning repository https://github.com/junknet/rust-data-struct-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/junknet/rust-data-struct-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Frust-data-struct-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Frust-data-struct-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 776014818ad621a97a6d1c8648df8f9aa45d7275 [INFO] checking junknet/rust-data-struct-notes against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Frust-data-struct-notes" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/junknet/rust-data-struct-notes on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/junknet/rust-data-struct-notes [INFO] finished tweaking git repo https://github.com/junknet/rust-data-struct-notes [INFO] tweaked toml for git repo https://github.com/junknet/rust-data-struct-notes written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/junknet/rust-data-struct-notes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7581552d173ed0bbbbf8977897976624dc80869bc887bd8abe1faac53dcfbf2 [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" "e7581552d173ed0bbbbf8977897976624dc80869bc887bd8abe1faac53dcfbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7581552d173ed0bbbbf8977897976624dc80869bc887bd8abe1faac53dcfbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7581552d173ed0bbbbf8977897976624dc80869bc887bd8abe1faac53dcfbf2", kill_on_drop: false }` [INFO] [stdout] e7581552d173ed0bbbbf8977897976624dc80869bc887bd8abe1faac53dcfbf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b3ea2b72d4d81f81c5d7e39360b53174769d9b69b40631a162544afae214eea [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" "0b3ea2b72d4d81f81c5d7e39360b53174769d9b69b40631a162544afae214eea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tree-struct v0.1.0 (/opt/rustwide/workdir/tree-struct) [INFO] [stderr] Checking skip-list v0.1.0 (/opt/rustwide/workdir/skip-list) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `vec` [INFO] [stdout] --> tree-struct/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> tree-struct/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> tree-struct/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::replace` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::replace` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Tree` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Tree = Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(dev: IoTDevice) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DeviceRegistry` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DeviceRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add(&mut self, device: IoTDevice) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rec` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn add_rec(&mut self, node: Tree, device: IoTDevice) -> Tree { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn find(&self, number_id: u64) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_r` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_r(&self, node: &Tree, number_id: u64) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn walk(&self, callback: impl Fn(&IoTDevice) -> ()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk_in_order` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn walk_in_order(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_device_with_id` [INFO] [stdout] --> tree-struct/src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn new_device_with_id(id: u64) -> IoTDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_device_with_id_path` [INFO] [stdout] --> tree-struct/src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn new_device_with_id_path(id: u64, path: impl Into) -> IoTDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level_path` [INFO] [stdout] --> skip-list/src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn level_path(&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: `level_path` [INFO] [stdout] --> skip-list/src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn level_path(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn find(&self, number_id: u64) -> Option { [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: `find_r` [INFO] [stdout] --> tree-struct/src/binary_search_tree.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_r(&self, node: &Tree, number_id: u64) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "0b3ea2b72d4d81f81c5d7e39360b53174769d9b69b40631a162544afae214eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3ea2b72d4d81f81c5d7e39360b53174769d9b69b40631a162544afae214eea", kill_on_drop: false }` [INFO] [stdout] 0b3ea2b72d4d81f81c5d7e39360b53174769d9b69b40631a162544afae214eea