[INFO] cloning repository https://github.com/nw0/balancer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nw0/balancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22e629fcd9c3579470e88b8ff44e967bc48c4926 [INFO] checking nw0/balancer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nw0/balancer 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 git repo https://github.com/nw0/balancer [INFO] finished tweaking git repo https://github.com/nw0/balancer [INFO] tweaked toml for git repo https://github.com/nw0/balancer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/nw0/balancer 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] [stderr] Blocking waiting for file lock on package cache [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" "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] b210a4767c2cf61a3aa0e80520904d83183cac11fac644bdc26341167685a367 [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" "b210a4767c2cf61a3aa0e80520904d83183cac11fac644bdc26341167685a367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b210a4767c2cf61a3aa0e80520904d83183cac11fac644bdc26341167685a367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b210a4767c2cf61a3aa0e80520904d83183cac11fac644bdc26341167685a367", kill_on_drop: false }` [INFO] [stdout] b210a4767c2cf61a3aa0e80520904d83183cac11fac644bdc26341167685a367 [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" "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] 760ba0b35b39c4072d6bd542b9492f426ff73b46c06342c5870610adc781b6c1 [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" "760ba0b35b39c4072d6bd542b9492f426ff73b46c06342c5870610adc781b6c1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking pest v2.1.2 [INFO] [stderr] Checking state v0.4.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking rust_decimal v1.0.3 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking balancer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trie.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 19 | _ => false, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Leaf` [INFO] [stdout] --> src/trie.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/sum.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 66 | match map.get(&unit) { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 67 | None => map.insert(*unit, *amount), [INFO] [stdout] 68 | Some(existing) => map.insert(*unit, *amount + existing), [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 `self.sum` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/sum.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 81 | match self.sum.get(&unit) { [INFO] [stdout] | -------- immutable borrow occurs here [INFO] [stdout] 82 | None => self.sum.insert(*unit, *amount), [INFO] [stdout] 83 | Some(existing) => self.sum.insert(*unit, *amount + existing), [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: `units` [INFO] [stdout] --> src/ledger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | units: HashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Leaf` should have a snake case name [INFO] [stdout] --> src/trie.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trie.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 19 | _ => false, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Leaf` [INFO] [stdout] --> src/trie.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/sum.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 66 | match map.get(&unit) { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 67 | None => map.insert(*unit, *amount), [INFO] [stdout] 68 | Some(existing) => map.insert(*unit, *amount + existing), [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 `self.sum` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/sum.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 81 | match self.sum.get(&unit) { [INFO] [stdout] | -------- immutable borrow occurs here [INFO] [stdout] 82 | None => self.sum.insert(*unit, *amount), [INFO] [stdout] 83 | Some(existing) => self.sum.insert(*unit, *amount + existing), [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: `units` [INFO] [stdout] --> src/ledger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | units: HashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Leaf` should have a snake case name [INFO] [stdout] --> src/trie.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Leaf => true, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.19s [INFO] running `Command { std: "docker" "inspect" "760ba0b35b39c4072d6bd542b9492f426ff73b46c06342c5870610adc781b6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760ba0b35b39c4072d6bd542b9492f426ff73b46c06342c5870610adc781b6c1", kill_on_drop: false }` [INFO] [stdout] 760ba0b35b39c4072d6bd542b9492f426ff73b46c06342c5870610adc781b6c1