[INFO] cloning repository https://github.com/EliKor/rust_stuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EliKor/rust_stuff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliKor%2Frust_stuff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliKor%2Frust_stuff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8aa6b49d96ac6ae2bef310f3f8233255492ed47 [INFO] testing EliKor/rust_stuff against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliKor%2Frust_stuff" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EliKor/rust_stuff on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EliKor/rust_stuff [INFO] finished tweaking git repo https://github.com/EliKor/rust_stuff [INFO] tweaked toml for git repo https://github.com/EliKor/rust_stuff written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/EliKor/rust_stuff already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f773a1f31e71a5ba819116094d81958ae6a88afd25a9aac5c02199c2040307 [INFO] running `Command { std: "docker" "start" "-a" "07f773a1f31e71a5ba819116094d81958ae6a88afd25a9aac5c02199c2040307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f773a1f31e71a5ba819116094d81958ae6a88afd25a9aac5c02199c2040307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f773a1f31e71a5ba819116094d81958ae6a88afd25a9aac5c02199c2040307", kill_on_drop: false }` [INFO] [stdout] 07f773a1f31e71a5ba819116094d81958ae6a88afd25a9aac5c02199c2040307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f08e4a37f024e16a9ae6795af46e835fae7f2bca9d3484139762ba53aee294 [INFO] running `Command { std: "docker" "start" "-a" "74f08e4a37f024e16a9ae6795af46e835fae7f2bca9d3484139762ba53aee294", kill_on_drop: false }` [INFO] [stderr] Compiling rust_stuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `val` [INFO] [stdout] --> src/binary_tree_path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | val: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/binary_tree_path.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | left: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/binary_tree_path.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | right: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_tree_path.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(val: u32, left: Option>, right: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest_path` [INFO] [stdout] --> src/binary_tree_path.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn longest_path(root: Option>, max_len: &mut u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `median` [INFO] [stdout] --> src/median_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub median: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_heap` [INFO] [stdout] --> src/median_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | min_heap: BinaryHeap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_heap` [INFO] [stdout] --> src/median_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_heap: BinaryHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/median_list.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/median_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn insert(&mut self, x: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_median` [INFO] [stdout] --> src/median_list.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_median(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "74f08e4a37f024e16a9ae6795af46e835fae7f2bca9d3484139762ba53aee294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f08e4a37f024e16a9ae6795af46e835fae7f2bca9d3484139762ba53aee294", kill_on_drop: false }` [INFO] [stdout] 74f08e4a37f024e16a9ae6795af46e835fae7f2bca9d3484139762ba53aee294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5a3672fe89669ec2901dd8bdbe3be7e36e5adea2f59e068bbbcd082ba27fe33 [INFO] running `Command { std: "docker" "start" "-a" "b5a3672fe89669ec2901dd8bdbe3be7e36e5adea2f59e068bbbcd082ba27fe33", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `val` [INFO] [stdout] --> src/binary_tree_path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | val: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/binary_tree_path.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | left: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/binary_tree_path.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | right: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_tree_path.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(val: u32, left: Option>, right: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest_path` [INFO] [stdout] --> src/binary_tree_path.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn longest_path(root: Option>, max_len: &mut u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `median` [INFO] [stdout] --> src/median_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub median: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_heap` [INFO] [stdout] --> src/median_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | min_heap: BinaryHeap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_heap` [INFO] [stdout] --> src/median_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_heap: BinaryHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/median_list.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/median_list.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/median_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn insert(&mut self, x: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_median` [INFO] [stdout] --> src/median_list.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_median(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_stuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `val` [INFO] [stdout] --> src/binary_tree_path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | val: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_tree_path.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "b5a3672fe89669ec2901dd8bdbe3be7e36e5adea2f59e068bbbcd082ba27fe33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a3672fe89669ec2901dd8bdbe3be7e36e5adea2f59e068bbbcd082ba27fe33", kill_on_drop: false }` [INFO] [stdout] b5a3672fe89669ec2901dd8bdbe3be7e36e5adea2f59e068bbbcd082ba27fe33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09001ec9864e2ac8dffab8075cab4e36cdd948b4bef81f7d5d7c378404d705ef [INFO] running `Command { std: "docker" "start" "-a" "09001ec9864e2ac8dffab8075cab4e36cdd948b4bef81f7d5d7c378404d705ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `val` [INFO] [stderr] --> src/binary_tree_path.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | val: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/binary_tree_path.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `left` [INFO] [stderr] --> src/binary_tree_path.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | left: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/binary_tree_path.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `right` [INFO] [stderr] --> src/binary_tree_path.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | right: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TreeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/binary_tree_path.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/binary_tree_path.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | fn new(val: u32, left: Option>, right: Option>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `longest_path` [INFO] [stderr] --> src/binary_tree_path.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn longest_path(root: Option>, max_len: &mut u32) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `median` [INFO] [stderr] --> src/median_list.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub median: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/median_list.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `min_heap` [INFO] [stderr] --> src/median_list.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | min_heap: BinaryHeap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/median_list.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `max_heap` [INFO] [stderr] --> src/median_list.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | max_heap: BinaryHeap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MedianList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/median_list.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/median_list.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/median_list.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn insert(&mut self, x: u32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_median` [INFO] [stderr] --> src/median_list.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn get_median(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_stuff` (lib) generated 11 warnings [INFO] [stderr] warning: `rust_stuff` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_stuff-455780cc2613a680) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test binary_tree_path::test::general_test ... ok [INFO] [stdout] test median_list::test::general_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_stuff [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09001ec9864e2ac8dffab8075cab4e36cdd948b4bef81f7d5d7c378404d705ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09001ec9864e2ac8dffab8075cab4e36cdd948b4bef81f7d5d7c378404d705ef", kill_on_drop: false }` [INFO] [stdout] 09001ec9864e2ac8dffab8075cab4e36cdd948b4bef81f7d5d7c378404d705ef