[INFO] fetching crate fountain_codes 0.2.1... [INFO] checking fountain_codes-0.2.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate fountain_codes 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate fountain_codes 0.2.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b45a4aeea09e46cab1a8682c56799d19965efafc32f736f44d613ca7378c2c26 [INFO] running `Command { std: "docker" "start" "-a" "b45a4aeea09e46cab1a8682c56799d19965efafc32f736f44d613ca7378c2c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b45a4aeea09e46cab1a8682c56799d19965efafc32f736f44d613ca7378c2c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45a4aeea09e46cab1a8682c56799d19965efafc32f736f44d613ca7378c2c26", kill_on_drop: false }` [INFO] [stdout] b45a4aeea09e46cab1a8682c56799d19965efafc32f736f44d613ca7378c2c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbced8b4703756f7f78445aa65a1eae9fdd17a08abd2b5847765365c23efce54 [INFO] running `Command { std: "docker" "start" "-a" "bbced8b4703756f7f78445aa65a1eae9fdd17a08abd2b5847765365c23efce54", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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/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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 T { [INFO] [stdout] | +++++++++++++++ ~ [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/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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 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 an object-safe 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] [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 an object-safe 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "bbced8b4703756f7f78445aa65a1eae9fdd17a08abd2b5847765365c23efce54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbced8b4703756f7f78445aa65a1eae9fdd17a08abd2b5847765365c23efce54", kill_on_drop: false }` [INFO] [stdout] bbced8b4703756f7f78445aa65a1eae9fdd17a08abd2b5847765365c23efce54