[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] checking msvisser/ArithmeticCoding against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsvisser%2FArithmeticCoding" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msvisser/ArithmeticCoding on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0309902118f94275e80a11239dfb125a2cc4170a37162e4508da2e326906ed6 [INFO] running `Command { std: "docker" "start" "-a" "e0309902118f94275e80a11239dfb125a2cc4170a37162e4508da2e326906ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0309902118f94275e80a11239dfb125a2cc4170a37162e4508da2e326906ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0309902118f94275e80a11239dfb125a2cc4170a37162e4508da2e326906ed6", kill_on_drop: false }` [INFO] [stdout] e0309902118f94275e80a11239dfb125a2cc4170a37162e4508da2e326906ed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f22fc45b54acdceea7e4226ff5eaa352a6a2b1e898f234a6a9f3110149684f63 [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" "f22fc45b54acdceea7e4226ff5eaa352a6a2b1e898f234a6a9f3110149684f63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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: 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "f22fc45b54acdceea7e4226ff5eaa352a6a2b1e898f234a6a9f3110149684f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22fc45b54acdceea7e4226ff5eaa352a6a2b1e898f234a6a9f3110149684f63", kill_on_drop: false }` [INFO] [stdout] f22fc45b54acdceea7e4226ff5eaa352a6a2b1e898f234a6a9f3110149684f63