[INFO] fetching crate fountain_codes 0.2.1... [INFO] checking fountain_codes-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate fountain_codes 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate fountain_codes 0.2.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd0a29ccd355464d27b842be242e60e85791e209e80e20d1ca58c3935da66bd5 [INFO] running `Command { std: "docker" "start" "-a" "fd0a29ccd355464d27b842be242e60e85791e209e80e20d1ca58c3935da66bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd0a29ccd355464d27b842be242e60e85791e209e80e20d1ca58c3935da66bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0a29ccd355464d27b842be242e60e85791e209e80e20d1ca58c3935da66bd5", kill_on_drop: false }` [INFO] [stdout] fd0a29ccd355464d27b842be242e60e85791e209e80e20d1ca58c3935da66bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 219f4da0ced07704e40a62857ff4bfa3d7104df9972d587ff790b1214f3d51ac [INFO] running `Command { std: "docker" "start" "-a" "219f4da0ced07704e40a62857ff4bfa3d7104df9972d587ff790b1214f3d51ac", 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.01s [INFO] running `Command { std: "docker" "inspect" "219f4da0ced07704e40a62857ff4bfa3d7104df9972d587ff790b1214f3d51ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219f4da0ced07704e40a62857ff4bfa3d7104df9972d587ff790b1214f3d51ac", kill_on_drop: false }` [INFO] [stdout] 219f4da0ced07704e40a62857ff4bfa3d7104df9972d587ff790b1214f3d51ac