[INFO] updating cached repository msvisser/ArithmeticCoding [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/msvisser/ArithmeticCoding [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/msvisser/ArithmeticCoding" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/msvisser/ArithmeticCoding"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/msvisser/ArithmeticCoding'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/msvisser/ArithmeticCoding" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/msvisser/ArithmeticCoding"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/msvisser/ArithmeticCoding'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c0c91a3baf21f232c4edef0efe5c02a6c3f28394 [INFO] sha for GitHub repo msvisser/ArithmeticCoding: c0c91a3baf21f232c4edef0efe5c02a6c3f28394 [INFO] validating manifest of msvisser/ArithmeticCoding on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of msvisser/ArithmeticCoding on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing msvisser/ArithmeticCoding [INFO] finished frobbing msvisser/ArithmeticCoding [INFO] frobbed toml for msvisser/ArithmeticCoding written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/msvisser/ArithmeticCoding/Cargo.toml [INFO] started frobbing msvisser/ArithmeticCoding [INFO] finished frobbing msvisser/ArithmeticCoding [INFO] frobbed toml for msvisser/ArithmeticCoding written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/msvisser/ArithmeticCoding/Cargo.toml [INFO] crate msvisser/ArithmeticCoding already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking msvisser/ArithmeticCoding against try#06a150c7d11500b41499224f165e9de1de096768 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-2/try#06a150c7d11500b41499224f165e9de1de096768:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/msvisser/ArithmeticCoding:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 21080ab2deeee42cd35b0b4072f0f1bb55fbde475e74de5098ac898c1f191888 [INFO] running `"docker" "start" "-a" "21080ab2deeee42cd35b0b4072f0f1bb55fbde475e74de5098ac898c1f191888"` [INFO] [stderr] Checking arithmetic_coding v0.1.0 (/opt/crater/workdir) [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: 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] Finished dev [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `"docker" "inspect" "21080ab2deeee42cd35b0b4072f0f1bb55fbde475e74de5098ac898c1f191888"` [INFO] running `"docker" "rm" "-f" "21080ab2deeee42cd35b0b4072f0f1bb55fbde475e74de5098ac898c1f191888"` [INFO] [stdout] 21080ab2deeee42cd35b0b4072f0f1bb55fbde475e74de5098ac898c1f191888