[INFO] fetching crate fountain_codes 0.2.1... [INFO] checking fountain_codes-0.2.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate fountain_codes 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate fountain_codes 0.2.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c315f5c7de3b5e8aa7609217d1c2c0c0f842e54a76dd9e45b43e23a9a3bdce7b [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" "c315f5c7de3b5e8aa7609217d1c2c0c0f842e54a76dd9e45b43e23a9a3bdce7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c315f5c7de3b5e8aa7609217d1c2c0c0f842e54a76dd9e45b43e23a9a3bdce7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c315f5c7de3b5e8aa7609217d1c2c0c0f842e54a76dd9e45b43e23a9a3bdce7b", kill_on_drop: false }` [INFO] [stdout] c315f5c7de3b5e8aa7609217d1c2c0c0f842e54a76dd9e45b43e23a9a3bdce7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 0da5a2de453c06b84ca08494a172b99b2da59982fcb3d894ba00094f276ea70f [INFO] running `Command { std: "docker" "start" "-a" "0da5a2de453c06b84ca08494a172b99b2da59982fcb3d894ba00094f276ea70f", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking 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)]` 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/distributions.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ProbabilityDensityFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Encoder

` [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] [INFO] [stdout] [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)]` 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/distributions.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(density_function: &ProbabilityDensityFunction, limit: u32) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ProbabilityDensityFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Encoder

` [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] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "0da5a2de453c06b84ca08494a172b99b2da59982fcb3d894ba00094f276ea70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da5a2de453c06b84ca08494a172b99b2da59982fcb3d894ba00094f276ea70f", kill_on_drop: false }` [INFO] [stdout] 0da5a2de453c06b84ca08494a172b99b2da59982fcb3d894ba00094f276ea70f