[INFO] fetching crate ziptree 0.1.1... [INFO] checking ziptree-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ziptree 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ziptree 0.1.1 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 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 2321d23a73d9f93f1a4e6b59049f4f22e40e28659e71b9592cc43f81a8f12018 [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" "2321d23a73d9f93f1a4e6b59049f4f22e40e28659e71b9592cc43f81a8f12018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2321d23a73d9f93f1a4e6b59049f4f22e40e28659e71b9592cc43f81a8f12018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2321d23a73d9f93f1a4e6b59049f4f22e40e28659e71b9592cc43f81a8f12018", kill_on_drop: false }` [INFO] [stdout] 2321d23a73d9f93f1a4e6b59049f4f22e40e28659e71b9592cc43f81a8f12018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 080bec62a15195471cdb56202db0edb3b4ac7dedec071d844b49515fb2d3054a [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" "080bec62a15195471cdb56202db0edb3b4ac7dedec071d844b49515fb2d3054a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.88 [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: 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: 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: 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: 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: 6 warnings emitted [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: 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 7.38s [INFO] running `Command { std: "docker" "inspect" "080bec62a15195471cdb56202db0edb3b4ac7dedec071d844b49515fb2d3054a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080bec62a15195471cdb56202db0edb3b4ac7dedec071d844b49515fb2d3054a", kill_on_drop: false }` [INFO] [stdout] 080bec62a15195471cdb56202db0edb3b4ac7dedec071d844b49515fb2d3054a