[INFO] fetching crate arithmetic-coding-adder-dep 0.3.3... [INFO] checking arithmetic-coding-adder-dep-0.3.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate arithmetic-coding-adder-dep 0.3.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate arithmetic-coding-adder-dep 0.3.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate arithmetic-coding-adder-dep 0.3.3 [INFO] tweaked toml for crates.io crate arithmetic-coding-adder-dep 0.3.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arithmetic-coding-adder-dep 0.3.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arithmetic-coding-adder-dep 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ccb083a728033ddb8bee822b191671fd64d979f2a7edbd4a5d4c75e1ce0524 [INFO] running `Command { std: "docker" "start" "-a" "77ccb083a728033ddb8bee822b191671fd64d979f2a7edbd4a5d4c75e1ce0524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ccb083a728033ddb8bee822b191671fd64d979f2a7edbd4a5d4c75e1ce0524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ccb083a728033ddb8bee822b191671fd64d979f2a7edbd4a5d4c75e1ce0524", kill_on_drop: false }` [INFO] [stdout] 77ccb083a728033ddb8bee822b191671fd64d979f2a7edbd4a5d4c75e1ce0524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2baec08ffd1b9c6e60340510767fdb8bcaea5650183a02830063a845cf2e446 [INFO] running `Command { std: "docker" "start" "-a" "d2baec08ffd1b9c6e60340510767fdb8bcaea5650183a02830063a845cf2e446", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking arithmetic-coding-core-adder-dep v0.3.3 [INFO] [stderr] Checking arithmetic-coding-adder-dep v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/decoder.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | (precision >= (frequency_bits + 2)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - (precision >= (frequency_bits + 2)), [INFO] [stdout] 86 + precision >= (frequency_bits + 2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/encoder.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | (precision >= (frequency_bits + 2)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - (precision >= (frequency_bits + 2)), [INFO] [stdout] 73 + precision >= (frequency_bits + 2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-case-macros v2.2.2 [INFO] [stderr] Checking test-case v2.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/sherlock.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl Model for StringModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/integer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | impl Model for MyModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/concatenated.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | impl arithmetic_coding_adder_dep::Model for Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/concatenated.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl arithmetic_coding_adder_dep::Model for Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fenwick_model` [INFO] [stdout] --> examples/fenwick_context_switching.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fenwick_model::{context_switching::FenwickModel, ValueError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `fenwick_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fenwick_model`, use `cargo add fenwick_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fenwick_model` [INFO] [stdout] --> examples/fenwick_context_switching.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fenwick_model::{context_switching::FenwickModel, ValueError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `fenwick_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fenwick_model`, use `cargo add fenwick_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "sherlock") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> tests/fixed_length.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl fixed_length::Model for MyModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "integer") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> tests/sherlock.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl Model for StringModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/max_length.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl max_length::Model for MyModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "concatenated") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (test "sherlock") due to 1 previous error [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (test "fixed_length") due to 1 previous error [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "max_length") due to 1 previous error [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "fenwick_context_switching") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `B` [INFO] [stdout] --> examples/fixed_length.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl fixed_length::Model for MyModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `B` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type B = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arithmetic-coding-adder-dep` (example "fixed_length") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d2baec08ffd1b9c6e60340510767fdb8bcaea5650183a02830063a845cf2e446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2baec08ffd1b9c6e60340510767fdb8bcaea5650183a02830063a845cf2e446", kill_on_drop: false }` [INFO] [stdout] d2baec08ffd1b9c6e60340510767fdb8bcaea5650183a02830063a845cf2e446