[INFO] fetching crate rsbx 2.0.0... [INFO] checking rsbx-2.0.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rsbx 2.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rsbx 2.0.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsbx 2.0.0 [INFO] finished tweaking crates.io crate rsbx 2.0.0 [INFO] tweaked toml for crates.io crate rsbx 2.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (latest: v0.7.6) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding cty v0.1.5 (latest: v0.2.2) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quickcheck v0.7.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.2.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding reed-solomon-erasure v3.1.1 (latest: v6.0.0) [INFO] [stderr] Adding sha-1 v0.8.2 (latest: v0.10.1) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.5) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reed-solomon-erasure v3.1.1 [INFO] [stderr] Downloaded blake2_c v0.3.3 [INFO] [stderr] Downloaded cty v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f683860d8da99d06334397ff43cff4d4fe0a4e7058d66d89d055675d45f2c5aa [INFO] running `Command { std: "docker" "start" "-a" "f683860d8da99d06334397ff43cff4d4fe0a4e7058d66d89d055675d45f2c5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f683860d8da99d06334397ff43cff4d4fe0a4e7058d66d89d055675d45f2c5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f683860d8da99d06334397ff43cff4d4fe0a4e7058d66d89d055675d45f2c5aa", kill_on_drop: false }` [INFO] [stdout] f683860d8da99d06334397ff43cff4d4fe0a4e7058d66d89d055675d45f2c5aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9e3f8b0eac1f676cecf3dbea3e40f9c3c4358d0311080ab385c15ba88d876bb [INFO] running `Command { std: "docker" "start" "-a" "e9e3f8b0eac1f676cecf3dbea3e40f9c3c4358d0311080ab385c15ba88d876bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling reed-solomon-erasure v3.1.1 [INFO] [stderr] Compiling blake2_c v0.3.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling rsbx v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/file_utils.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | ((size + (block_size - 1)) / block_size) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - ((size + (block_size - 1)) / block_size) [INFO] [stdout] 74 + (size + (block_size - 1)) / block_size [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/file_utils.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ((size + (data_size - 1)) / data_size) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - ((size + (data_size - 1)) / data_size) [INFO] [stdout] 85 + (size + (data_size - 1)) / data_size [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn round_down_to_multiple(Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn round_down_to_multiple(Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn round_up_to_multiple (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn round_up_to_multiple (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | fn ensure_at_least (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn ensure_at_least (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | fn ensure_at_most (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | fn ensure_at_most (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sbx_block/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (data_shards as u32 <= index_in_set) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - (data_shards as u32 <= index_in_set) [INFO] [stdout] 209 + data_shards as u32 <= index_in_set [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/log.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | fn deserialize(&mut self, &[u8]) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::repairer::RSRepairStats` [INFO] [stdout] --> src/rs_codec/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::repairer::RSRepairStats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/repair_core.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | / print_if!(verbose => param, reporter => [INFO] [stdout] 211 | | "{}", repair_stats;); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/repair_core.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | / print_if!(verbose => param, reporter => [INFO] [stdout] 330 | | "Replaced invalid metadata block at {} (0x{:X}) with reference block", p, p;); [INFO] [stdout] | |_______________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/check_core.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | / print_if!(verbose => param, reporter => [INFO] [stdout] 208 | | "Block failed check, version : {}, block size : {}, at byte {} (0x{:X})", [INFO] [stdout] 209 | | ver_usize, [INFO] [stdout] 210 | | block_size, [INFO] [stdout] 211 | | block_pos, [INFO] [stdout] 212 | | block_pos;); [INFO] [stdout] | |_____________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/check_core.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | print_if!(verbose not_json => param, reporter, json_printer => "";); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.6 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbx_block/mod.rs:743:46 [INFO] [stdout] | [INFO] [stdout] 743 | ... pred : Option<&Fn(&Block) -> bool>) [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] 743 | pred : Option<&dyn Fn(&Block) -> bool>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repair_core.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | ... pred : &Fn(&Block) -> bool, [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] 159 | pred : &dyn Fn(&Block) -> bool, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/time_utils.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | match NaiveDateTime::from_timestamp_opt(secs, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stdout] warning: associated function `round_up_to_multiple` is never used [INFO] [stdout] --> src/integer_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IntegerUtils { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn round_up_to_multiple (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/file_utils.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | ((size + (block_size - 1)) / block_size) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - ((size + (block_size - 1)) / block_size) [INFO] [stdout] 74 + (size + (block_size - 1)) / block_size [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/file_utils.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ((size + (data_size - 1)) / data_size) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - ((size + (data_size - 1)) / data_size) [INFO] [stdout] 85 + (size + (data_size - 1)) / data_size [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/file_utils_tests.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 496 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 484 ~ { [INFO] [stdout] 485 | let version = Version::V17; [INFO] [stdout] ... [INFO] [stdout] 495 | && container_size <= container_size_upper_bound [INFO] [stdout] 496 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn round_down_to_multiple(Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn round_down_to_multiple(Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn round_up_to_multiple (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn round_up_to_multiple (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | fn ensure_at_least (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn ensure_at_least (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | fn ensure_at_most (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/integer_utils.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | fn ensure_at_most (Self::Item, Self::Item) -> Self::Item; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sbx_block/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | (data_shards as u32 <= index_in_set) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - (data_shards as u32 <= index_in_set) [INFO] [stdout] 209 + data_shards as u32 <= index_in_set [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/log.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | fn deserialize(&mut self, &[u8]) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::repairer::RSRepairStats` [INFO] [stdout] --> src/rs_codec/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::repairer::RSRepairStats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/repair_core.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | / print_if!(verbose => param, reporter => [INFO] [stdout] 211 | | "{}", repair_stats;); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/repair_core.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | / print_if!(verbose => param, reporter => [INFO] [stdout] 330 | | "Replaced invalid metadata block at {} (0x{:X}) with reference block", p, p;); [INFO] [stdout] | |_______________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/check_core.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | / print_if!(verbose => param, reporter => [INFO] [stdout] 208 | | "Block failed check, version : {}, block size : {}, at byte {} (0x{:X})", [INFO] [stdout] 209 | | ver_usize, [INFO] [stdout] 210 | | block_size, [INFO] [stdout] 211 | | block_pos, [INFO] [stdout] 212 | | block_pos;); [INFO] [stdout] | |_____________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/misc_macros.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | $($expr;)*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/check_core.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | print_if!(verbose not_json => param, reporter, json_printer => "";); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbx_block/mod.rs:743:46 [INFO] [stdout] | [INFO] [stdout] 743 | ... pred : Option<&Fn(&Block) -> bool>) [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] 743 | pred : Option<&dyn Fn(&Block) -> bool>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repair_core.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | ... pred : &Fn(&Block) -> bool, [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] 159 | pred : &dyn Fn(&Block) -> bool, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/time_utils.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | match NaiveDateTime::from_timestamp_opt(secs, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e9e3f8b0eac1f676cecf3dbea3e40f9c3c4358d0311080ab385c15ba88d876bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e3f8b0eac1f676cecf3dbea3e40f9c3c4358d0311080ab385c15ba88d876bb", kill_on_drop: false }` [INFO] [stdout] e9e3f8b0eac1f676cecf3dbea3e40f9c3c4358d0311080ab385c15ba88d876bb