[INFO] fetching crate ziptree 0.1.1... [INFO] checking ziptree-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ziptree 0.1.1 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate ziptree 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bc3ebbac9e52317eb0c1980652a57b2005b0b891b320674bddc6fbab0f54d10 [INFO] running `Command { std: "docker" "start" "-a" "4bc3ebbac9e52317eb0c1980652a57b2005b0b891b320674bddc6fbab0f54d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc3ebbac9e52317eb0c1980652a57b2005b0b891b320674bddc6fbab0f54d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc3ebbac9e52317eb0c1980652a57b2005b0b891b320674bddc6fbab0f54d10", kill_on_drop: false }` [INFO] [stdout] 4bc3ebbac9e52317eb0c1980652a57b2005b0b891b320674bddc6fbab0f54d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c15a3b10650739555977003ec32dffe1cf50017a692b41fd61b8d087db569e0 [INFO] running `Command { std: "docker" "start" "-a" "1c15a3b10650739555977003ec32dffe1cf50017a692b41fd61b8d087db569e0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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.100 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking ziptree v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [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: 5 warnings emitted [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] [stderr] Migrating tests/simple.rs from 2018 edition to 2021 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/simple.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.54s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking ziptree v0.1.1 (/tmp/fixit) [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "1c15a3b10650739555977003ec32dffe1cf50017a692b41fd61b8d087db569e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c15a3b10650739555977003ec32dffe1cf50017a692b41fd61b8d087db569e0", kill_on_drop: false }` [INFO] [stdout] 1c15a3b10650739555977003ec32dffe1cf50017a692b41fd61b8d087db569e0