[INFO] cloning repository https://github.com/msvisser/ArithmeticCoding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msvisser/ArithmeticCoding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsvisser%2FArithmeticCoding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsvisser%2FArithmeticCoding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0c91a3baf21f232c4edef0efe5c02a6c3f28394 [INFO] testing msvisser/ArithmeticCoding against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsvisser%2FArithmeticCoding" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msvisser/ArithmeticCoding on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msvisser/ArithmeticCoding [INFO] finished tweaking git repo https://github.com/msvisser/ArithmeticCoding [INFO] tweaked toml for git repo https://github.com/msvisser/ArithmeticCoding written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/msvisser/ArithmeticCoding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de07cf7ba3801ac947856e4870d539d6058ed22ea87858fad1c1ea7e9acf419a [INFO] running `Command { std: "docker" "start" "-a" "de07cf7ba3801ac947856e4870d539d6058ed22ea87858fad1c1ea7e9acf419a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de07cf7ba3801ac947856e4870d539d6058ed22ea87858fad1c1ea7e9acf419a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de07cf7ba3801ac947856e4870d539d6058ed22ea87858fad1c1ea7e9acf419a", kill_on_drop: false }` [INFO] [stdout] de07cf7ba3801ac947856e4870d539d6058ed22ea87858fad1c1ea7e9acf419a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5cf7f762bc8b741d058d44ef0a0bff6075017d6542e5f541c0cc7ba47e9b60e [INFO] running `Command { std: "docker" "start" "-a" "a5cf7f762bc8b741d058d44ef0a0bff6075017d6542e5f541c0cc7ba47e9b60e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling arithmetic_coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/encode.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | probability: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/encode.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/decode.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | probability: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/decode.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/range.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn select_symbol(&mut self, symbol: usize, probability: &Probability) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let probability: Box = if matches.is_present("first-order") { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `cumulative` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/coding/probability/zero_order.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | let previous_cumulative = cumulative.get(symbol).unwrap_or(&0); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 18 | let previous_probability = probabilities.get(symbol).unwrap_or(&0); [INFO] [stdout] 19 | cumulative.push(previous_probability + previous_cumulative); [INFO] [stdout] | ^^^^^^^^^^ mutable borrow occurs here ------------------- immutable borrow later used 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "a5cf7f762bc8b741d058d44ef0a0bff6075017d6542e5f541c0cc7ba47e9b60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cf7f762bc8b741d058d44ef0a0bff6075017d6542e5f541c0cc7ba47e9b60e", kill_on_drop: false }` [INFO] [stdout] a5cf7f762bc8b741d058d44ef0a0bff6075017d6542e5f541c0cc7ba47e9b60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d4094307da5d915f81619b418138c95747f64dbf8a970297f45dc26984388ae [INFO] running `Command { std: "docker" "start" "-a" "6d4094307da5d915f81619b418138c95747f64dbf8a970297f45dc26984388ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling arithmetic_coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/encode.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | probability: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/encode.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/decode.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | probability: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/decode.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coding/range.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn select_symbol(&mut self, symbol: usize, probability: &Probability) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let probability: Box = if matches.is_present("first-order") { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `cumulative` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/coding/probability/zero_order.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | let previous_cumulative = cumulative.get(symbol).unwrap_or(&0); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 18 | let previous_probability = probabilities.get(symbol).unwrap_or(&0); [INFO] [stdout] 19 | cumulative.push(previous_probability + previous_cumulative); [INFO] [stdout] | ^^^^^^^^^^ mutable borrow occurs here ------------------- immutable borrow later used 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "6d4094307da5d915f81619b418138c95747f64dbf8a970297f45dc26984388ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4094307da5d915f81619b418138c95747f64dbf8a970297f45dc26984388ae", kill_on_drop: false }` [INFO] [stdout] 6d4094307da5d915f81619b418138c95747f64dbf8a970297f45dc26984388ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4490afbbf27dc66b715cee5cbda63141425d5e7dd18a5ef1962cdbe11a36ad62 [INFO] running `Command { std: "docker" "start" "-a" "4490afbbf27dc66b715cee5cbda63141425d5e7dd18a5ef1962cdbe11a36ad62", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coding/encode.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | probability: Box, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coding/encode.rs:16:42 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coding/decode.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | probability: Box, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coding/decode.rs:15:42 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(iter: I, probability: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coding/range.rs:17:66 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn select_symbol(&mut self, symbol: usize, probability: &Probability) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:30 [INFO] [stderr] | [INFO] [stderr] 42 | let probability: Box = if matches.is_present("first-order") { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Probability` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `cumulative` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/coding/probability/zero_order.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 17 | let previous_cumulative = cumulative.get(symbol).unwrap_or(&0); [INFO] [stderr] | ---------- immutable borrow occurs here [INFO] [stderr] 18 | let previous_probability = probabilities.get(symbol).unwrap_or(&0); [INFO] [stderr] 19 | cumulative.push(previous_probability + previous_cumulative); [INFO] [stderr] | ^^^^^^^^^^ mutable borrow occurs here ------------------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: `arithmetic_coding` (bin "arithmetic_coding" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.65s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/arithmetic_coding-04db3d43223104bd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4490afbbf27dc66b715cee5cbda63141425d5e7dd18a5ef1962cdbe11a36ad62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4490afbbf27dc66b715cee5cbda63141425d5e7dd18a5ef1962cdbe11a36ad62", kill_on_drop: false }` [INFO] [stdout] 4490afbbf27dc66b715cee5cbda63141425d5e7dd18a5ef1962cdbe11a36ad62