[INFO] fetching crate arithmetify 0.1.5... [INFO] testing arithmetify-0.1.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate arithmetify 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate arithmetify 0.1.5 [INFO] finished tweaking crates.io crate arithmetify 0.1.5 [INFO] tweaked toml for crates.io crate arithmetify 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arithmetify 0.1.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arithmetify 0.1.5 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1af508ce06218c3119b44c234ec42327e443e5b4e6b3ec2d2c588cdd1fd5b3cf [INFO] running `Command { std: "docker" "start" "-a" "1af508ce06218c3119b44c234ec42327e443e5b4e6b3ec2d2c588cdd1fd5b3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1af508ce06218c3119b44c234ec42327e443e5b4e6b3ec2d2c588cdd1fd5b3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af508ce06218c3119b44c234ec42327e443e5b4e6b3ec2d2c588cdd1fd5b3cf", kill_on_drop: false }` [INFO] [stdout] 1af508ce06218c3119b44c234ec42327e443e5b4e6b3ec2d2c588cdd1fd5b3cf [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ee16c0aa85ee2dc689fe55640a0a06f661270fa3fde8d02df9cc1e6dd60b08 [INFO] running `Command { std: "docker" "start" "-a" "c5ee16c0aa85ee2dc689fe55640a0a06f661270fa3fde8d02df9cc1e6dd60b08", kill_on_drop: false }` [INFO] [stderr] Compiling arithmetify v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "c5ee16c0aa85ee2dc689fe55640a0a06f661270fa3fde8d02df9cc1e6dd60b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ee16c0aa85ee2dc689fe55640a0a06f661270fa3fde8d02df9cc1e6dd60b08", kill_on_drop: false }` [INFO] [stdout] c5ee16c0aa85ee2dc689fe55640a0a06f661270fa3fde8d02df9cc1e6dd60b08 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc7fc1a02ffa1a210a9abb412218b321448442161f3ea4d7bb901466fc7a5b3 [INFO] running `Command { std: "docker" "start" "-a" "cfc7fc1a02ffa1a210a9abb412218b321448442161f3ea4d7bb901466fc7a5b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling arithmetify v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/arith32/test_arith32.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/arith32/test_arith32.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let rng = &mut thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/arith32/test_arith32.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let rng = &mut thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/arith32/test_arith32.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let p = rng.gen_range(0..self.denominator()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/arith32/test_arith32.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let p = rng.gen_range(0..total_weights); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `symbol_lookup` is never used [INFO] [stdout] --> src/arith32/test_arith32.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl PD { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn symbol_lookup(p: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.44s [INFO] running `Command { std: "docker" "inspect" "cfc7fc1a02ffa1a210a9abb412218b321448442161f3ea4d7bb901466fc7a5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc7fc1a02ffa1a210a9abb412218b321448442161f3ea4d7bb901466fc7a5b3", kill_on_drop: false }` [INFO] [stdout] cfc7fc1a02ffa1a210a9abb412218b321448442161f3ea4d7bb901466fc7a5b3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5cd1432ff4bd2be10257175566bd483d9fe711c83fd4c3b52395bfa6d18966c5 [INFO] running `Command { std: "docker" "start" "-a" "5cd1432ff4bd2be10257175566bd483d9fe711c83fd4c3b52395bfa6d18966c5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/arith32/test_arith32.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/arith32/test_arith32.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | let rng = &mut thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/arith32/test_arith32.rs:165:20 [INFO] [stderr] | [INFO] [stderr] 165 | let rng = &mut thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> src/arith32/test_arith32.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let p = rng.gen_range(0..self.denominator()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> src/arith32/test_arith32.rs:177:21 [INFO] [stderr] | [INFO] [stderr] 177 | let p = rng.gen_range(0..total_weights); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `symbol_lookup` is never used [INFO] [stderr] --> src/arith32/test_arith32.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 18 | impl PD { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | fn symbol_lookup(p: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `arithmetify` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arithmetify-a667855d5a5d8bc3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test arith32::test_arith32::test_as ... ok [INFO] [stdout] test arith32::test_arith32::test_cs ... ok [INFO] [stdout] test arith32::test_arith32::test_encode_by_weight ... ok [INFO] [stdout] test arith32::test_arith32::test_random ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 25.26s [INFO] [stdout] [INFO] [stderr] Doc-tests arithmetify [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticEncoder32::encode_by_weights (line 182) ... ok [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticDecoder32::new (line 313) ... ok [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticDecoder32::decode (line 346) ... ok [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticDecoder32 (line 278) ... ok [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticEncoder32 (line 73) ... ok [INFO] [stdout] test src/lib.rs - arith32 (line 147) ... FAILED [INFO] [stdout] test src/arith32.rs - arith32::ArithmeticDecoder32::decode_by_weights (line 389) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - arith32 (line 147) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArithmeticEncoder` [INFO] [stdout] --> src/lib.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | let mut encoder = ArithmeticEncoder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ArithmeticEncoder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 147 + use arithmetify::ArithmeticEncoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArithmeticDecoder` [INFO] [stdout] --> src/lib.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let mut decoder = ArithmeticDecoder::new(compressed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ArithmeticDecoder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 147 + use arithmetify::ArithmeticDecoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - arith32 (line 147) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5cd1432ff4bd2be10257175566bd483d9fe711c83fd4c3b52395bfa6d18966c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd1432ff4bd2be10257175566bd483d9fe711c83fd4c3b52395bfa6d18966c5", kill_on_drop: false }` [INFO] [stdout] 5cd1432ff4bd2be10257175566bd483d9fe711c83fd4c3b52395bfa6d18966c5