[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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/msvisser/ArithmeticCoding"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/msvisser/ArithmeticCoding'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/msvisser/ArithmeticCoding" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/msvisser/ArithmeticCoding"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of msvisser/ArithmeticCoding on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking msvisser/ArithmeticCoding against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-2/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 39148d6bfd823806e7e168ccaad50d72c15dc825eb393da1c933f5381b2f0018 [INFO] running `"docker" "start" "-a" "39148d6bfd823806e7e168ccaad50d72c15dc825eb393da1c933f5381b2f0018"` [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.64s [INFO] running `"docker" "inspect" "39148d6bfd823806e7e168ccaad50d72c15dc825eb393da1c933f5381b2f0018"` [INFO] running `"docker" "rm" "-f" "39148d6bfd823806e7e168ccaad50d72c15dc825eb393da1c933f5381b2f0018"` [INFO] [stdout] 39148d6bfd823806e7e168ccaad50d72c15dc825eb393da1c933f5381b2f0018