[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 try#0ab79c4b48ad19260fa46623f452c1b403a360e8 for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nw0/balancer on toolchain 0ab79c4b48ad19260fa46623f452c1b403a360e8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "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-5/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" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded internment v0.3.10 [INFO] [stderr] Downloaded tinyset v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb0c26178b7b0f457d3b09c050165e4fd287fc04db236e79e2349c27ef562d86 [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" "cb0c26178b7b0f457d3b09c050165e4fd287fc04db236e79e2349c27ef562d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb0c26178b7b0f457d3b09c050165e4fd287fc04db236e79e2349c27ef562d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0c26178b7b0f457d3b09c050165e4fd287fc04db236e79e2349c27ef562d86", kill_on_drop: false }` [INFO] [stdout] cb0c26178b7b0f457d3b09c050165e4fd287fc04db236e79e2349c27ef562d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9fc90c74c66f0a9da8508dbcaf0a7042d33645b0819c4f0804d0d73d8ef063 [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" "4a9fc90c74c66f0a9da8508dbcaf0a7042d33645b0819c4f0804d0d73d8ef063", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking state v0.4.1 [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-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Checking rust_decimal v1.0.3 [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: 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: 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 22.46s [INFO] running `Command { std: "docker" "inspect" "4a9fc90c74c66f0a9da8508dbcaf0a7042d33645b0819c4f0804d0d73d8ef063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9fc90c74c66f0a9da8508dbcaf0a7042d33645b0819c4f0804d0d73d8ef063", kill_on_drop: false }` [INFO] [stdout] 4a9fc90c74c66f0a9da8508dbcaf0a7042d33645b0819c4f0804d0d73d8ef063