[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnw0%2Fbalancer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nw0/balancer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-2/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.0.3 [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29c20d4b2e756ea6c0c1f0db58441e216c842389874184fde40136f8a57966da [INFO] running `Command { std: "docker" "start" "-a" "29c20d4b2e756ea6c0c1f0db58441e216c842389874184fde40136f8a57966da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29c20d4b2e756ea6c0c1f0db58441e216c842389874184fde40136f8a57966da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c20d4b2e756ea6c0c1f0db58441e216c842389874184fde40136f8a57966da", kill_on_drop: false }` [INFO] [stdout] 29c20d4b2e756ea6c0c1f0db58441e216c842389874184fde40136f8a57966da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05180a40aa248c0baa09107d3e0473398923228718046dc950c5a779ac0a769e [INFO] running `Command { std: "docker" "start" "-a" "05180a40aa248c0baa09107d3e0473398923228718046dc950c5a779ac0a769e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.3.2 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling pest v2.1.2 [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] Compiling quote v1.0.2 [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 state v0.4.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Checking chrono v0.4.9 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] [stderr] Fixed src/trie.rs (1 fix) [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: 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] [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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.66s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking balancer v0.1.0 (/tmp/fixit) [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: 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: 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] [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "05180a40aa248c0baa09107d3e0473398923228718046dc950c5a779ac0a769e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05180a40aa248c0baa09107d3e0473398923228718046dc950c5a779ac0a769e", kill_on_drop: false }` [INFO] [stdout] 05180a40aa248c0baa09107d3e0473398923228718046dc950c5a779ac0a769e