[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nw0/balancer on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e062392e5db21069e3c6b60e44e945b32c9864924dee2a0f33691e9bcea7e95e [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" "e062392e5db21069e3c6b60e44e945b32c9864924dee2a0f33691e9bcea7e95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e062392e5db21069e3c6b60e44e945b32c9864924dee2a0f33691e9bcea7e95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e062392e5db21069e3c6b60e44e945b32c9864924dee2a0f33691e9bcea7e95e", kill_on_drop: false }` [INFO] [stdout] e062392e5db21069e3c6b60e44e945b32c9864924dee2a0f33691e9bcea7e95e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f788cfaf05c65028d7fd304a7cec2e51f9f3df4a8f5106e9ef6542051cc614cc [INFO] running `Command { std: "docker" "start" "-a" "f788cfaf05c65028d7fd304a7cec2e51f9f3df4a8f5106e9ef6542051cc614cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking pest v2.1.2 [INFO] [stderr] Checking state v0.4.1 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking num-integer v0.1.41 [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] 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: 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: 7 warnings emitted [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 37.44s [INFO] running `Command { std: "docker" "inspect" "f788cfaf05c65028d7fd304a7cec2e51f9f3df4a8f5106e9ef6542051cc614cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f788cfaf05c65028d7fd304a7cec2e51f9f3df4a8f5106e9ef6542051cc614cc", kill_on_drop: false }` [INFO] [stdout] f788cfaf05c65028d7fd304a7cec2e51f9f3df4a8f5106e9ef6542051cc614cc