[INFO] fetching crate ziptree 0.1.1... [INFO] checking ziptree-0.1.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate ziptree 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ziptree 0.1.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc89cb5fc5a1038daa389f1b58167b0e8a2159d2892c77870129b543959b75b4 [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" "dc89cb5fc5a1038daa389f1b58167b0e8a2159d2892c77870129b543959b75b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc89cb5fc5a1038daa389f1b58167b0e8a2159d2892c77870129b543959b75b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc89cb5fc5a1038daa389f1b58167b0e8a2159d2892c77870129b543959b75b4", kill_on_drop: false }` [INFO] [stdout] dc89cb5fc5a1038daa389f1b58167b0e8a2159d2892c77870129b543959b75b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f45f65603b2d96cca89edb9792bc3c8e9cc82eec8dce8259f4afbea1b6071111 [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" "f45f65603b2d96cca89edb9792bc3c8e9cc82eec8dce8259f4afbea1b6071111", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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] Checking rand_os v0.1.3 [INFO] [stderr] Checking 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: 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] | ^^^^^^^^^^^^^ ------------- immutable borrow later used here [INFO] [stdout] | | [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] | ^^^^^^^^^^ -------------- immutable borrow later used here [INFO] [stdout] | | [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: 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] | ^^^^^^^^^^^^^ ------------- immutable borrow later used here [INFO] [stdout] | | [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] | ^^^^^^^^^^ -------------- immutable borrow later used here [INFO] [stdout] | | [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:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tree: &'a mut ZipTree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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] = note: `#[warn(dead_code)]` on by default [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.98s [INFO] running `Command { std: "docker" "inspect" "f45f65603b2d96cca89edb9792bc3c8e9cc82eec8dce8259f4afbea1b6071111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45f65603b2d96cca89edb9792bc3c8e9cc82eec8dce8259f4afbea1b6071111", kill_on_drop: false }` [INFO] [stdout] f45f65603b2d96cca89edb9792bc3c8e9cc82eec8dce8259f4afbea1b6071111