[INFO] fetching crate fountain_codes 0.2.1... [INFO] testing fountain_codes-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fountain_codes 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fountain_codes 0.2.1 [INFO] finished tweaking crates.io crate fountain_codes 0.2.1 [INFO] tweaked toml for crates.io crate fountain_codes 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fountain_codes 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91dd6049b2adf21cb4d80e74c9d4111078d4070c3af83927e89aa7515c54c4f4 [INFO] running `Command { std: "docker" "start" "-a" "91dd6049b2adf21cb4d80e74c9d4111078d4070c3af83927e89aa7515c54c4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91dd6049b2adf21cb4d80e74c9d4111078d4070c3af83927e89aa7515c54c4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91dd6049b2adf21cb4d80e74c9d4111078d4070c3af83927e89aa7515c54c4f4", kill_on_drop: false }` [INFO] [stdout] 91dd6049b2adf21cb4d80e74c9d4111078d4070c3af83927e89aa7515c54c4f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0651f15f33d910fe204352ec5708ac2a7ff157b95436f6d7b9d6f4c80a0d051 [INFO] running `Command { std: "docker" "start" "-a" "b0651f15f33d910fe204352ec5708ac2a7ff157b95436f6d7b9d6f4c80a0d051", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fountain_codes v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 35 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 116 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for Encoder

{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for dyn Encoder

{ [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `PartialEncoder

` for all types that also implement `Encoder

` [INFO] [stdout] | [INFO] [stdout] 31 - impl PartialEncoder

for Encoder

{ [INFO] [stdout] 31 + impl> PartialEncoder

for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/distributions.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &dyn ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "b0651f15f33d910fe204352ec5708ac2a7ff157b95436f6d7b9d6f4c80a0d051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0651f15f33d910fe204352ec5708ac2a7ff157b95436f6d7b9d6f4c80a0d051", kill_on_drop: false }` [INFO] [stdout] b0651f15f33d910fe204352ec5708ac2a7ff157b95436f6d7b9d6f4c80a0d051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ec6ef210369de9fd5b4a16cd85cb59b4fe1b472c1dc5e14799e25ff3f78385a [INFO] running `Command { std: "docker" "start" "-a" "9ec6ef210369de9fd5b4a16cd85cb59b4fe1b472c1dc5e14799e25ff3f78385a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 35 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 116 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for Encoder

{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for dyn Encoder

{ [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `PartialEncoder

` for all types that also implement `Encoder

` [INFO] [stdout] | [INFO] [stdout] 31 - impl PartialEncoder

for Encoder

{ [INFO] [stdout] 31 + impl> PartialEncoder

for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/distributions.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &dyn ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fountain_codes v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 35 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lt.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stdout] 116 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for Encoder

{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | impl PartialEncoder

for dyn Encoder

{ [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `PartialEncoder

` for all types that also implement `Encoder

` [INFO] [stdout] | [INFO] [stdout] 31 - impl PartialEncoder

for Encoder

{ [INFO] [stdout] 31 + impl> PartialEncoder

for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/distributions.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &dyn ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "9ec6ef210369de9fd5b4a16cd85cb59b4fe1b472c1dc5e14799e25ff3f78385a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec6ef210369de9fd5b4a16cd85cb59b4fe1b472c1dc5e14799e25ff3f78385a", kill_on_drop: false }` [INFO] [stdout] 9ec6ef210369de9fd5b4a16cd85cb59b4fe1b472c1dc5e14799e25ff3f78385a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfdc5f66bb77c213e7a94a3a788bb5751013e5f8490cd286e473a2f59fa026e7 [INFO] running `Command { std: "docker" "start" "-a" "bfdc5f66bb77c213e7a94a3a788bb5751013e5f8490cd286e473a2f59fa026e7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lt.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 35 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] 35 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lt.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 116 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] 116 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:31:39 [INFO] [stderr] | [INFO] [stderr] 31 | impl PartialEncoder

for Encoder

{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 | impl PartialEncoder

for dyn Encoder

{ [INFO] [stderr] | +++ [INFO] [stderr] help: alternatively use a blanket implementation to implement `PartialEncoder

` for all types that also implement `Encoder

` [INFO] [stderr] | [INFO] [stderr] 31 - impl PartialEncoder

for Encoder

{ [INFO] [stderr] 31 + impl> PartialEncoder

for T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/distributions.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new(density_function: &dyn ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fountain_codes` (lib) generated 4 warnings (run `cargo fix --lib -p fountain_codes` to apply 4 suggestions) [INFO] [stderr] warning: `fountain_codes` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fountain_codes-87e1aaff0dfc8097) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test lt::tests::block_equals ... ok [INFO] [stdout] test lt::tests::packet_round_trips ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lt_coding_test.rs (/opt/rustwide/target/debug/deps/lt_coding_test-c4d2674fde760fd5) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_lt_coding_small ... ok [INFO] [stdout] test test_lt_coding_medium has been running for over 60 seconds [INFO] [stdout] test test_lt_coding_medium ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 135.89s [INFO] [stdout] [INFO] [stderr] Doc-tests fountain_codes [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lt.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 35 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] 35 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lt.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 116 - let extra_block = cmp::min((data_bytes % BLOCK_BYTES as u64), 1); [INFO] [stderr] 116 + let extra_block = cmp::min(data_bytes % BLOCK_BYTES as u64 , 1); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfdc5f66bb77c213e7a94a3a788bb5751013e5f8490cd286e473a2f59fa026e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfdc5f66bb77c213e7a94a3a788bb5751013e5f8490cd286e473a2f59fa026e7", kill_on_drop: false }` [INFO] [stdout] bfdc5f66bb77c213e7a94a3a788bb5751013e5f8490cd286e473a2f59fa026e7