[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#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [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 b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "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-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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyset v0.3.5 [INFO] [stderr] Downloaded internment v0.3.10 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccfad09f9bd9094825da8f5cdec2bbd9ef9b62e23199a8dd9003a91c6f03b161 [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" "ccfad09f9bd9094825da8f5cdec2bbd9ef9b62e23199a8dd9003a91c6f03b161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccfad09f9bd9094825da8f5cdec2bbd9ef9b62e23199a8dd9003a91c6f03b161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfad09f9bd9094825da8f5cdec2bbd9ef9b62e23199a8dd9003a91c6f03b161", kill_on_drop: false }` [INFO] [stdout] ccfad09f9bd9094825da8f5cdec2bbd9ef9b62e23199a8dd9003a91c6f03b161 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b525b59f9154725a94b8a35f7caacb37679a212232839d49e83571d786b4c0d [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" "1b525b59f9154725a94b8a35f7caacb37679a212232839d49e83571d786b4c0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking void 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-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Checking thread-id v3.3.0 [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 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] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust_decimal v1.0.3 [INFO] [stderr] Checking internment v0.3.10 [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] error: 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: `#[deny(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] error: 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] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `balancer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: 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: `#[deny(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] error: 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] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1b525b59f9154725a94b8a35f7caacb37679a212232839d49e83571d786b4c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b525b59f9154725a94b8a35f7caacb37679a212232839d49e83571d786b4c0d", kill_on_drop: false }` [INFO] [stdout] 1b525b59f9154725a94b8a35f7caacb37679a212232839d49e83571d786b4c0d