[INFO] fetching crate potpack 0.1.2... [INFO] checking potpack-0.1.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate potpack 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate potpack 0.1.2 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 potpack 0.1.2 [INFO] finished tweaking crates.io crate potpack 0.1.2 [INFO] tweaked toml for crates.io crate potpack 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate potpack 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 5afaf7d378b32786d23cec28ab230da50b725fa4f4d7dec52ba8a7903e779387 [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" "5afaf7d378b32786d23cec28ab230da50b725fa4f4d7dec52ba8a7903e779387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5afaf7d378b32786d23cec28ab230da50b725fa4f4d7dec52ba8a7903e779387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5afaf7d378b32786d23cec28ab230da50b725fa4f4d7dec52ba8a7903e779387", kill_on_drop: false }` [INFO] [stdout] 5afaf7d378b32786d23cec28ab230da50b725fa4f4d7dec52ba8a7903e779387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 1ee9cd7ddbe29b9d9d36b8237750c83e22e17642f0f7ff5ee5140028ed2256da [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" "1ee9cd7ddbe29b9d9d36b8237750c83e22e17642f0f7ff5ee5140028ed2256da", kill_on_drop: false }` [INFO] [stderr] Checking potpack v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PotPack`, `SizedItem`, `approx_eq` [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | approx_eq, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 193 | PotPack, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 194 | SizedItem [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `spaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, space) in spaces.iter().enumerate().rev() { [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | spaces.push(Space { [INFO] [stdout] | ^^^^^^ mutable borrow occurs here [INFO] [stdout] 156 | id: space.id, [INFO] [stdout] | -------- immutable borrow later used 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `spaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, space) in spaces.iter().enumerate().rev() { [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | spaces.push(Space { [INFO] [stdout] | ^^^^^^ mutable borrow occurs here [INFO] [stdout] 156 | id: space.id, [INFO] [stdout] | -------- immutable borrow later used 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "1ee9cd7ddbe29b9d9d36b8237750c83e22e17642f0f7ff5ee5140028ed2256da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee9cd7ddbe29b9d9d36b8237750c83e22e17642f0f7ff5ee5140028ed2256da", kill_on_drop: false }` [INFO] [stdout] 1ee9cd7ddbe29b9d9d36b8237750c83e22e17642f0f7ff5ee5140028ed2256da