[INFO] fetching crate bv 0.11.1... [INFO] testing bv-0.11.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate bv 0.11.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate bv 0.11.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bv 0.11.1 [INFO] finished tweaking crates.io crate bv 0.11.1 [INFO] tweaked toml for crates.io crate bv 0.11.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] edddd19c29b5249212452ccee9defe00543a5c64f49093713ec04dfdfb8a5a0f [INFO] running `Command { std: "docker" "start" "-a" "edddd19c29b5249212452ccee9defe00543a5c64f49093713ec04dfdfb8a5a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edddd19c29b5249212452ccee9defe00543a5c64f49093713ec04dfdfb8a5a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edddd19c29b5249212452ccee9defe00543a5c64f49093713ec04dfdfb8a5a0f", kill_on_drop: false }` [INFO] [stdout] edddd19c29b5249212452ccee9defe00543a5c64f49093713ec04dfdfb8a5a0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c4252c0a772f53fa669dcc54e48c9a679bdcb19dbf9b5d4f54eacb9c936e73 [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" "92c4252c0a772f53fa669dcc54e48c9a679bdcb19dbf9b5d4f54eacb9c936e73", kill_on_drop: false }` [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/slice.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | (start + len - real_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/traits/bits.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / format!("Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | | position, self.block_len())); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 | "Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | position, self.block_len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 146 | | impl['a, T: Bits] BitSliceable for &'a BitNot; [INFO] [stdout] 147 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 270 | | impl['a, T: Bits, U: Bits, [INFO] [stdout] 271 | | F: Fn(T::Block, T::Block) -> T::Block] [INFO] [stdout] 272 | | BitSliceable for &'a BitZip; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_fill.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 75 | | impl[Block: BlockType] BitSliceable for BitFill; [INFO] [stdout] 76 | | impl['a, Block: BlockType] BitSliceable for &'a BitFill; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_concat.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 74 | | impl[T: Bits, U: Bits] BitSliceable for BitConcat; [INFO] [stdout] 75 | | impl['a, T: Bits, U: Bits] BitSliceable for &'a BitConcat; [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "92c4252c0a772f53fa669dcc54e48c9a679bdcb19dbf9b5d4f54eacb9c936e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c4252c0a772f53fa669dcc54e48c9a679bdcb19dbf9b5d4f54eacb9c936e73", kill_on_drop: false }` [INFO] [stdout] 92c4252c0a772f53fa669dcc54e48c9a679bdcb19dbf9b5d4f54eacb9c936e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ca72ffc739ad8f241f351891ddbeda72e257d6cbf6d09db24c55ca043a2a46 [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" "e7ca72ffc739ad8f241f351891ddbeda72e257d6cbf6d09db24c55ca043a2a46", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/slice.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | (start + len - real_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/traits/bits.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / format!("Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | | position, self.block_len())); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 | "Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | position, self.block_len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 146 | | impl['a, T: Bits] BitSliceable for &'a BitNot; [INFO] [stdout] 147 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 270 | | impl['a, T: Bits, U: Bits, [INFO] [stdout] 271 | | F: Fn(T::Block, T::Block) -> T::Block] [INFO] [stdout] 272 | | BitSliceable for &'a BitZip; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_fill.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 75 | | impl[Block: BlockType] BitSliceable for BitFill; [INFO] [stdout] 76 | | impl['a, Block: BlockType] BitSliceable for &'a BitFill; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_concat.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 74 | | impl[T: Bits, U: Bits] BitSliceable for BitConcat; [INFO] [stdout] 75 | | impl['a, T: Bits, U: Bits] BitSliceable for &'a BitConcat; [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling bv v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/slice.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | (start + len - real_start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/traits/bits.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / format!("Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | | position, self.block_len())); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 | "Bits::get_block: out of bounds ({}/{})", [INFO] [stdout] 63 | position, self.block_len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 146 | | impl['a, T: Bits] BitSliceable for &'a BitNot; [INFO] [stdout] 147 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/logic.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/logic.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 270 | | impl['a, T: Bits, U: Bits, [INFO] [stdout] 271 | | F: Fn(T::Block, T::Block) -> T::Block] [INFO] [stdout] 272 | | BitSliceable for &'a BitZip; [INFO] [stdout] 273 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_fill.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 75 | | impl[Block: BlockType] BitSliceable for BitFill; [INFO] [stdout] 76 | | impl['a, Block: BlockType] BitSliceable for &'a BitFill; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/adapter/bit_concat.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl_bit_sliceable_adapter! { [INFO] [stdout] 74 | | impl[T: Bits, U: Bits] BitSliceable for BitConcat; [INFO] [stdout] 75 | | impl['a, T: Bits, U: Bits] BitSliceable for &'a BitConcat; [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.99s [INFO] running `Command { std: "docker" "inspect" "e7ca72ffc739ad8f241f351891ddbeda72e257d6cbf6d09db24c55ca043a2a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ca72ffc739ad8f241f351891ddbeda72e257d6cbf6d09db24c55ca043a2a46", kill_on_drop: false }` [INFO] [stdout] e7ca72ffc739ad8f241f351891ddbeda72e257d6cbf6d09db24c55ca043a2a46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 292c36268c01dee49652af77aedac1831b938d8cfbc8590e40f30a1618827a6e [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" "292c36268c01dee49652af77aedac1831b938d8cfbc8590e40f30a1618827a6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/slice.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | (start + len - real_start) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/traits/bits.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | / format!("Bits::get_block: out of bounds ({}/{})", [INFO] [stderr] 63 | | position, self.block_len())); [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 62 | "Bits::get_block: out of bounds ({}/{})", [INFO] [stderr] 63 | position, self.block_len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:145:1 [INFO] [stderr] | [INFO] [stderr] 145 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 146 | | impl['a, T: Bits] BitSliceable for &'a BitNot; [INFO] [stderr] 147 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:222:1 [INFO] [stderr] | [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:223:1 [INFO] [stderr] | [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:269:1 [INFO] [stderr] | [INFO] [stderr] 269 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 270 | | impl['a, T: Bits, U: Bits, [INFO] [stderr] 271 | | F: Fn(T::Block, T::Block) -> T::Block] [INFO] [stderr] 272 | | BitSliceable for &'a BitZip; [INFO] [stderr] 273 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/bit_fill.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 75 | | impl[Block: BlockType] BitSliceable for BitFill; [INFO] [stderr] 76 | | impl['a, Block: BlockType] BitSliceable for &'a BitFill; [INFO] [stderr] 77 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/bit_concat.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 74 | | impl[T: Bits, U: Bits] BitSliceable for BitConcat; [INFO] [stderr] 75 | | impl['a, T: Bits, U: Bits] BitSliceable for &'a BitConcat; [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/slice.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | (start + len - real_start) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/traits/bits.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | / format!("Bits::get_block: out of bounds ({}/{})", [INFO] [stderr] 63 | | position, self.block_len())); [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 62 | "Bits::get_block: out of bounds ({}/{})", [INFO] [stderr] 63 | position, self.block_len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:145:1 [INFO] [stderr] | [INFO] [stderr] 145 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 146 | | impl['a, T: Bits] BitSliceable for &'a BitNot; [INFO] [stderr] 147 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | impl_bits_bin_op!(BitAnd as & &&); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:222:1 [INFO] [stderr] | [INFO] [stderr] 222 | impl_bits_bin_op!(BitOr as | ||); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | format!("{}::get_bit: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 172 | "{}::get_bit: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/logic.rs:178:26 [INFO] [stderr] | [INFO] [stderr] 178 | format!("{}::get_block: out of bounds", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bits_bin_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 178 | "{}::get_block: out of bounds", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:223:1 [INFO] [stderr] | [INFO] [stderr] 223 | impl_bits_bin_op!(BitXor as ^ ^); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/logic.rs:269:1 [INFO] [stderr] | [INFO] [stderr] 269 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 270 | | impl['a, T: Bits, U: Bits, [INFO] [stderr] 271 | | F: Fn(T::Block, T::Block) -> T::Block] [INFO] [stderr] 272 | | BitSliceable for &'a BitZip; [INFO] [stderr] 273 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/bit_fill.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 75 | | impl[Block: BlockType] BitSliceable for BitFill; [INFO] [stderr] 76 | | impl['a, Block: BlockType] BitSliceable for &'a BitFill; [INFO] [stderr] 77 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/adapter/bit_slice_adapter.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | ... format!("{}::slice: bad range", stringify!($target)) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/adapter/bit_concat.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / impl_bit_sliceable_adapter! { [INFO] [stderr] 74 | | impl[T: Bits, U: Bits] BitSliceable for BitConcat; [INFO] [stderr] 75 | | impl['a, T: Bits, U: Bits] BitSliceable for &'a BitConcat; [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `impl_bit_sliceable_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 | "{}::slice: bad range", stringify!($target) ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bv-a07b26c76fca4eb7) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test adapter::test::and_with_different_offset ... ok [INFO] [stdout] test adapter::test::and_with_same_offset ... ok [INFO] [stdout] test adapter::test::pad ... ok [INFO] [stdout] test adapter::test::simple_not ... ok [INFO] [stdout] test adapter::test::slice_adapter ... ok [INFO] [stdout] test adapter::test::simple_and ... ok [INFO] [stdout] test bit_vec::test::as_mut_slice ... ok [INFO] [stdout] test bit_vec::test::bit_slicing ... ok [INFO] [stdout] test bit_vec::test::disequality ... ok [INFO] [stdout] test bit_vec::test::from_bits ... ok [INFO] [stdout] test bit_vec::test::from_bits_slice ... ok [INFO] [stdout] test bit_vec::test::into_boxed_slice ... ok [INFO] [stdout] test bit_vec::test::pop ... ok [INFO] [stdout] test bit_vec::test::push_bit_and_pop_bit ... ok [INFO] [stdout] test bit_vec::test::resize ... ok [INFO] [stdout] test bit_vec::test::mixed_equality ... ok [INFO] [stdout] test bit_vec::test::set_bits_one_block_fastpath ... ok [INFO] [stdout] test bit_vec::test::shrink_to_fit ... ok [INFO] [stdout] test bit_vec::test::truncate ... ok [INFO] [stdout] test iter::test::different_lengths ... ok [INFO] [stdout] test iter::test::empty ... ok [INFO] [stdout] test macros::bit_vec_macro_allows_trailing_comma ... ok [INFO] [stdout] test iter::test::same ... ok [INFO] [stdout] test prims::test::bit_len ... ok [INFO] [stdout] test bit_vec::test::clear_and_is_empty ... ok [INFO] [stdout] test prims::test::block_len ... ok [INFO] [stdout] test prims::test::get_bit ... ok [INFO] [stdout] test slice::test::range_to_inclusive ... ok [INFO] [stdout] test prims::test::prop_get_block_u8 ... ok [INFO] [stdout] test prims::test::u128_feature ... ok [INFO] [stdout] test prims::test::set_bit ... ok [INFO] [stdout] test slice::test::bit_slice_from_slice ... ok [INFO] [stdout] test slice::test::bit_slice_index ... ok [INFO] [stdout] test slice::test::bit_slice_update_across_blocks ... ok [INFO] [stdout] test slice::test::debug_for_bit_slice ... ok [INFO] [stdout] test prims::test::get_bits ... ok [INFO] [stdout] test prims::test::prop_get_block_u32 ... ok [INFO] [stdout] test adapter::test::slice_adapter_mutation ... ok [INFO] [stdout] test adapter::test::append ... ok [INFO] [stdout] test bit_vec::test::set_through_slice ... ok [INFO] [stdout] test adapter::test::mixed_equality ... ok [INFO] [stdout] test macros::type_1_hygiene ... ok [INFO] [stdout] test iter::test::different ... ok [INFO] [stdout] test storage::test::get_bits ... ok [INFO] [stdout] test storage::test::with_bits ... ok [INFO] [stdout] test storage::test::ceil_lg ... ok [INFO] [stdout] test storage::test::floor_lg ... ok [INFO] [stdout] test storage::test::lg_nbits ... ok [INFO] [stdout] test storage::test::nbits ... ok [INFO] [stdout] test storage::test::nth_mask ... ok [INFO] [stdout] test storage::test::with_bit ... ok [INFO] [stdout] test storage::test::prop_mul_nbits ... ok [INFO] [stdout] test storage::test::block_bits ... ok [INFO] [stdout] test storage::test::low_mask ... ok [INFO] [stdout] test storage::test::get_bit ... ok [INFO] [stdout] test traits::test::bogus_get_bits_vec_bool_works_okay ... ok [INFO] [stdout] test storage::test::prop_ceil_div_nbits1 ... ok [INFO] [stdout] test storage::test::prop_mod_nbits ... ok [INFO] [stdout] test storage::test::prop_ceil_div_nbits2 ... ok [INFO] [stdout] test storage::test::prop_div_nbits ... ok [INFO] [stdout] test traits::test::set_block_slice ... ok [INFO] [stdout] test traits::test::set_block ... ok [INFO] [stdout] test traits::bits_mut_ext::test::bit_and_assign ... ok [INFO] [stdout] test traits::test::vec_u8_is_bit_vec ... ok [INFO] [stdout] test traits::test::bit_slicing ... ok [INFO] [stdout] test traits::test::vec_u8_is_bit_vec_mut ... ok [INFO] [stdout] test traits::bits_mut_ext::test::bit_xor_assign_slice ... ok [INFO] [stdout] test traits::test::get_block_oob ... ok [INFO] [stdout] test traits::test::bogus_get_bits_vec_bool_oob ... ok [INFO] [stdout] test traits::bits_mut_ext::test::bit_and_assign_bad_sizes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/random_adapter.rs (/opt/rustwide/target/debug/deps/random_adapter-58b4f14c84f0503c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test prop_usize ... ok [INFO] [stdout] test prop_u64 ... ok [INFO] [stdout] test prop_u32 ... ok [INFO] [stdout] test prop_u16 ... ok [INFO] [stdout] test prop_u8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests bv [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/slice.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | (chunk1 | (chunk2 << shift2)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/adapter/bit_slice_adapter.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | (start + len - real_start) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec (line 32) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::clear (line 618) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::block_reserve (line 317) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::new (line 94) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::block_reserve_exact (line 356) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::into_boxed_slice (line 402) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::capacity (line 253) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::block_len (line 235) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::new_fill (line 148) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::block_capacity (line 272) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::as_mut_slice (line 511) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::pop (line 592) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::len (line 214) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::as_slice (line 486) ... ok [INFO] [stdout] test src/adapter/bool_adapter.rs - adapter::bool_adapter::BoolAdapter::new (line 38) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::is_empty (line 636) ... ok [INFO] [stdout] test src/lib.rs - (line 83) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::push (line 560) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::shrink_to_fit (line 375) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::with_block_capacity (line 131) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::with_capacity (line 117) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::resize (line 445) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::reserve_exact (line 337) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::reserve (line 295) ... ok [INFO] [stdout] test src/slice.rs - slice::BitSlice::from_slice (line 209) ... ok [INFO] [stdout] test src/slice.rs - slice::BitSlice::is_empty (line 268) ... ok [INFO] [stdout] test src/bit_vec/mod.rs - bit_vec::BitVec::truncate (line 423) ... ok [INFO] [stdout] test src/slice.rs - slice::BitSlice (line 157) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/macros.rs - bit_vec (line 13) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/slice.rs - slice::BitSlice::len (line 251) ... ok [INFO] [stdout] test src/slice.rs - slice::BitSliceMut (line 180) ... ok [INFO] [stdout] test src/traits/bit_sliceable.rs - traits::bit_sliceable::BitSliceable::bit_slice (line 20) ... ok [INFO] [stdout] test src/traits/bits_ext.rs - traits::bits_ext::BitsExt (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "292c36268c01dee49652af77aedac1831b938d8cfbc8590e40f30a1618827a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "292c36268c01dee49652af77aedac1831b938d8cfbc8590e40f30a1618827a6e", kill_on_drop: false }` [INFO] [stdout] 292c36268c01dee49652af77aedac1831b938d8cfbc8590e40f30a1618827a6e