[INFO] fetching crate ziptree 0.1.1... [INFO] checking ziptree-0.1.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate ziptree 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ziptree 0.1.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3581692514fa3e113d4ae57a18713aebe66e3d6c2c52e09fe0fbab2fd569ea52 [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" "3581692514fa3e113d4ae57a18713aebe66e3d6c2c52e09fe0fbab2fd569ea52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3581692514fa3e113d4ae57a18713aebe66e3d6c2c52e09fe0fbab2fd569ea52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3581692514fa3e113d4ae57a18713aebe66e3d6c2c52e09fe0fbab2fd569ea52", kill_on_drop: false }` [INFO] [stdout] 3581692514fa3e113d4ae57a18713aebe66e3d6c2c52e09fe0fbab2fd569ea52 [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=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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff531241059fa316f8cccd8150d2905b62446dab2c3c68a11a8e88f2f03c80bc [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" "ff531241059fa316f8cccd8150d2905b62446dab2c3c68a11a8e88f2f03c80bc", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [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 `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] = 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 `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] = 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] = 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 `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] = 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 6.27s [INFO] running `Command { std: "docker" "inspect" "ff531241059fa316f8cccd8150d2905b62446dab2c3c68a11a8e88f2f03c80bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff531241059fa316f8cccd8150d2905b62446dab2c3c68a11a8e88f2f03c80bc", kill_on_drop: false }` [INFO] [stdout] ff531241059fa316f8cccd8150d2905b62446dab2c3c68a11a8e88f2f03c80bc