[INFO] fetching crate ziptree 0.1.1... [INFO] testing ziptree-0.1.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate ziptree 0.1.1 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate ziptree 0.1.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ziptree 0.1.1 [INFO] finished tweaking crates.io crate ziptree 0.1.1 [INFO] tweaked toml for crates.io crate ziptree 0.1.1 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d05252d738cec5a4c446dbad662987d785aaf10c2169a254475dee10ed6efba [INFO] running `Command { std: "docker" "start" "-a" "4d05252d738cec5a4c446dbad662987d785aaf10c2169a254475dee10ed6efba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d05252d738cec5a4c446dbad662987d785aaf10c2169a254475dee10ed6efba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d05252d738cec5a4c446dbad662987d785aaf10c2169a254475dee10ed6efba", kill_on_drop: false }` [INFO] [stdout] 4d05252d738cec5a4c446dbad662987d785aaf10c2169a254475dee10ed6efba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fe830c860aac3c48df764ec68345e9645940c88ae30355ef564e057547fed4 [INFO] running `Command { std: "docker" "start" "-a" "d0fe830c860aac3c48df764ec68345e9645940c88ae30355ef564e057547fed4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling ziptree v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `greater` [INFO] [stdout] --> src/lib.rs:422:34 [INFO] [stdout] | [INFO] [stdout] 422 | ... Some(greater) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greater` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `greater_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:386:25 [INFO] [stdout] | [INFO] [stdout] 384 | let node = greater_nodes.back().unwrap(); [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 385 | if !(**node).left.is_null() { [INFO] [stdout] 386 | greater_nodes.push_back((**node).left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `less_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 370 | let node = less_nodes.back().unwrap(); [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] 371 | if !(**node).right.is_null() { [INFO] [stdout] 372 | less_nodes.push_back((**node).right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Iter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Keys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Values` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/lib.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn dump(&self) where [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `Command { std: "docker" "inspect" "d0fe830c860aac3c48df764ec68345e9645940c88ae30355ef564e057547fed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fe830c860aac3c48df764ec68345e9645940c88ae30355ef564e057547fed4", kill_on_drop: false }` [INFO] [stdout] d0fe830c860aac3c48df764ec68345e9645940c88ae30355ef564e057547fed4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 660cb694a87db140ed3e3ef1462225f79a1c58309aa84dbef8e50a24af5c9f48 [INFO] running `Command { std: "docker" "start" "-a" "660cb694a87db140ed3e3ef1462225f79a1c58309aa84dbef8e50a24af5c9f48", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] warning: unused variable: `greater` [INFO] [stdout] --> src/lib.rs:422:34 [INFO] [stdout] | [INFO] [stdout] 422 | ... Some(greater) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greater` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `greater_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:386:25 [INFO] [stdout] | [INFO] [stdout] 384 | let node = greater_nodes.back().unwrap(); [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 385 | if !(**node).left.is_null() { [INFO] [stdout] 386 | greater_nodes.push_back((**node).left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `less_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 370 | let node = less_nodes.back().unwrap(); [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] 371 | if !(**node).right.is_null() { [INFO] [stdout] 372 | less_nodes.push_back((**node).right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Iter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ziptree v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Keys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Values` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/lib.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn dump(&self) where [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> tests/simple.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greater` [INFO] [stdout] --> src/lib.rs:422:34 [INFO] [stdout] | [INFO] [stdout] 422 | ... Some(greater) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greater` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `greater_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:386:25 [INFO] [stdout] | [INFO] [stdout] 384 | let node = greater_nodes.back().unwrap(); [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 385 | if !(**node).left.is_null() { [INFO] [stdout] 386 | greater_nodes.push_back((**node).left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `less_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 370 | let node = less_nodes.back().unwrap(); [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] 371 | if !(**node).right.is_null() { [INFO] [stdout] 372 | less_nodes.push_back((**node).right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Iter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Keys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | tree: &'a ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Values` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/lib.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn dump(&self) where [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "660cb694a87db140ed3e3ef1462225f79a1c58309aa84dbef8e50a24af5c9f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660cb694a87db140ed3e3ef1462225f79a1c58309aa84dbef8e50a24af5c9f48", kill_on_drop: false }` [INFO] [stdout] 660cb694a87db140ed3e3ef1462225f79a1c58309aa84dbef8e50a24af5c9f48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4865f228836c8d82da457f6ec84c92e95e510ec2d8b1c72bc0cfc574d25917e0 [INFO] running `Command { std: "docker" "start" "-a" "4865f228836c8d82da457f6ec84c92e95e510ec2d8b1c72bc0cfc574d25917e0", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: unused variable: `greater` [INFO] [stderr] --> src/lib.rs:422:34 [INFO] [stderr] | [INFO] [stderr] 422 | ... Some(greater) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greater` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `greater_nodes` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:386:25 [INFO] [stderr] | [INFO] [stderr] 384 | let node = greater_nodes.back().unwrap(); [INFO] [stderr] | -------------------- immutable borrow occurs here [INFO] [stderr] 385 | if !(**node).left.is_null() { [INFO] [stderr] 386 | greater_nodes.push_back((**node).left); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `less_nodes` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:372:25 [INFO] [stderr] | [INFO] [stderr] 370 | let node = less_nodes.back().unwrap(); [INFO] [stderr] | ----------------- immutable borrow occurs here [INFO] [stderr] 371 | if !(**node).right.is_null() { [INFO] [stderr] 372 | less_nodes.push_back((**node).right); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tree` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | tree: &'a ZipTree, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Iter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tree` [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | tree: &'a mut ZipTree, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tree` [INFO] [stderr] --> src/lib.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | tree: &'a ZipTree, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Keys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tree` [INFO] [stderr] --> src/lib.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | tree: &'a ZipTree, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Values` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tree` [INFO] [stderr] --> src/lib.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | tree: &'a mut ZipTree, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dump` [INFO] [stderr] --> src/lib.rs:534:8 [INFO] [stderr] | [INFO] [stderr] 534 | fn dump(&self) where [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: `ziptree` (lib) generated 9 warnings [INFO] [stdout] running 0 tests [INFO] [stderr] warning: `ziptree` (lib test) generated 9 warnings (9 duplicates) [INFO] [stdout] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> tests/simple.rs:2:24 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashMap, BTreeMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ziptree` (test "simple") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ziptree-b96189c45945eb4e) [INFO] [stderr] Running tests/simple.rs (/opt/rustwide/target/debug/deps/simple-1aaffef96e1e57d3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test simple_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.28s [INFO] [stdout] [INFO] [stderr] Doc-tests ziptree [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" "4865f228836c8d82da457f6ec84c92e95e510ec2d8b1c72bc0cfc574d25917e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4865f228836c8d82da457f6ec84c92e95e510ec2d8b1c72bc0cfc574d25917e0", kill_on_drop: false }` [INFO] [stdout] 4865f228836c8d82da457f6ec84c92e95e510ec2d8b1c72bc0cfc574d25917e0