[INFO] fetching crate bswap 1.0.0... [INFO] checking bswap-1.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bswap 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bswap 1.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bswap 1.0.0 [INFO] finished tweaking crates.io crate bswap 1.0.0 [INFO] tweaked toml for crates.io crate bswap 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af684b664513653397dfed2c461a2a5d81385c84c9f79d8f69e46dfa16f7b94a [INFO] running `Command { std: "docker" "start" "-a" "af684b664513653397dfed2c461a2a5d81385c84c9f79d8f69e46dfa16f7b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af684b664513653397dfed2c461a2a5d81385c84c9f79d8f69e46dfa16f7b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af684b664513653397dfed2c461a2a5d81385c84c9f79d8f69e46dfa16f7b94a", kill_on_drop: false }` [INFO] [stdout] af684b664513653397dfed2c461a2a5d81385c84c9f79d8f69e46dfa16f7b94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f8db7fe4c537f850a7187e7a77f8944b133291be148e5080162d40831a0ff8f [INFO] running `Command { std: "docker" "start" "-a" "6f8db7fe4c537f850a7187e7a77f8944b133291be148e5080162d40831a0ff8f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bswap v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | pub mod beu16 { mod_std_impls!(be, u16, 2, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub mod beu32 { mod_std_impls!(be, u32, 4, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 646 | pub mod beu64 { mod_std_impls!(be, u64, 8, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | pub mod leu16 { mod_std_impls!(le, u16, 2, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | pub mod leu32 { mod_std_impls!(le, u32, 4, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub mod leu64 { mod_std_impls!(le, u64, 8, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test::Bencher; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `tests::test::test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bytes` in `slice` [INFO] [stdout] --> src/tests.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | ::std::slice::bytes::copy_memory(&mut dst, src); [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bytes` in `slice` [INFO] [stdout] --> src/tests.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | ::std::slice::bytes::copy_memory(&mut dst, src); [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bytes` in `slice` [INFO] [stdout] --> src/tests.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | ::std::slice::bytes::copy_memory(&mut dst, src); [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u16` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u16` [INFO] [stdout] ... [INFO] [stdout] 303 | qc_byte_order!(prop_u16, u16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u16` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u16` [INFO] [stdout] ... [INFO] [stdout] 303 | qc_byte_order!(prop_u16, u16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u16` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u16` [INFO] [stdout] ... [INFO] [stdout] 303 | qc_byte_order!(prop_u16, u16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u16` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u16` [INFO] [stdout] ... [INFO] [stdout] 303 | qc_byte_order!(prop_u16, u16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i16` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i16` [INFO] [stdout] ... [INFO] [stdout] 304 | qc_byte_order!(prop_i16, i16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i16` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i16` [INFO] [stdout] ... [INFO] [stdout] 304 | qc_byte_order!(prop_i16, i16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i16` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i16` [INFO] [stdout] ... [INFO] [stdout] 304 | qc_byte_order!(prop_i16, i16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i16` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i16` [INFO] [stdout] ... [INFO] [stdout] 304 | qc_byte_order!(prop_i16, i16, u16, beu16, leu16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u32` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u32` [INFO] [stdout] ... [INFO] [stdout] 305 | qc_byte_order!(prop_u32, u32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u32` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u32` [INFO] [stdout] ... [INFO] [stdout] 305 | qc_byte_order!(prop_u32, u32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u32` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u32` [INFO] [stdout] ... [INFO] [stdout] 305 | qc_byte_order!(prop_u32, u32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u32` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u32` [INFO] [stdout] ... [INFO] [stdout] 305 | qc_byte_order!(prop_u32, u32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i32` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i32` [INFO] [stdout] ... [INFO] [stdout] 306 | qc_byte_order!(prop_i32, i32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i32` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i32` [INFO] [stdout] ... [INFO] [stdout] 306 | qc_byte_order!(prop_i32, i32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i32` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i32` [INFO] [stdout] ... [INFO] [stdout] 306 | qc_byte_order!(prop_i32, i32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i32` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i32` [INFO] [stdout] ... [INFO] [stdout] 306 | qc_byte_order!(prop_i32, i32, u32, beu32, leu32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u64` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u64` [INFO] [stdout] ... [INFO] [stdout] 307 | qc_byte_order!(prop_u64, u64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u64` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u64` [INFO] [stdout] ... [INFO] [stdout] 307 | qc_byte_order!(prop_u64, u64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u64` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::u64` [INFO] [stdout] ... [INFO] [stdout] 307 | qc_byte_order!(prop_u64, u64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::u64` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::u64` [INFO] [stdout] ... [INFO] [stdout] 307 | qc_byte_order!(prop_u64, u64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i64` [INFO] [stdout] --> src/tests.rs:282:81 [INFO] [stdout] | [INFO] [stdout] 282 | super::super::$bemod::encode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i64` [INFO] [stdout] ... [INFO] [stdout] 308 | qc_byte_order!(prop_i64, i64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i64` [INFO] [stdout] --> src/tests.rs:283:86 [INFO] [stdout] | [INFO] [stdout] 283 | n == super::super::$bemod::decode(&mut buf[(8 - (::std::$ty_int::BYTES as usize))..]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i64` [INFO] [stdout] ... [INFO] [stdout] 308 | qc_byte_order!(prop_i64, i64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i64` [INFO] [stdout] --> src/tests.rs:293:79 [INFO] [stdout] | [INFO] [stdout] 293 | super::super::$lemod::encode(&mut buf[..((::std::$ty_int::BYTES as usize))], n as $ty_uint); [INFO] [stdout] | ^^^^^ not found in `std::i64` [INFO] [stdout] ... [INFO] [stdout] 308 | qc_byte_order!(prop_i64, i64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BYTES` in module `std::i64` [INFO] [stdout] --> src/tests.rs:294:84 [INFO] [stdout] | [INFO] [stdout] 294 | n == super::super::$lemod::decode(&mut buf[..((::std::$ty_int::BYTES as usize))]) as $ty_int [INFO] [stdout] | ^^^^^ not found in `std::i64` [INFO] [stdout] ... [INFO] [stdout] 308 | qc_byte_order!(prop_i64, i64, u64, beu64, leu64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these constants: [INFO] [stdout] u16::BYTES [INFO] [stdout] u24::BYTES [INFO] [stdout] u32::BYTES [INFO] [stdout] u40::BYTES [INFO] [stdout] u48::BYTES [INFO] [stdout] u56::BYTES [INFO] [stdout] u64::BYTES [INFO] [stdout] u8::BYTES [INFO] [stdout] = note: this error originates in the macro `qc_byte_order` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/tests.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/tests.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/tests.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/tests.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | pub mod beu16 { mod_std_impls!(be, u16, 2, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub mod beu32 { mod_std_impls!(be, u32, 4, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 646 | pub mod beu64 { mod_std_impls!(be, u64, 8, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | pub mod leu16 { mod_std_impls!(le, u16, 2, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | pub mod leu32 { mod_std_impls!(le, u32, 4, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:596:40 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub mod leu64 { mod_std_impls!(le, u64, 8, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 634 | pub mod beu16 { mod_std_impls!(be, u16, 2, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 638 | pub mod beu32 { mod_std_impls!(be, u32, 4, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 646 | pub mod beu64 { mod_std_impls!(be, u64, 8, from_be, to_be, "big", "little"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 648 | pub mod leu16 { mod_std_impls!(le, u16, 2, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 652 | pub mod leu32 { mod_std_impls!(le, u32, 4, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | let mut tmp: $T = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 660 | pub mod leu64 { mod_std_impls!(le, u64, 8, from_le, to_le, "little", "big"); } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `mod_std_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bswap` (lib test) due to 37 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f8db7fe4c537f850a7187e7a77f8944b133291be148e5080162d40831a0ff8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8db7fe4c537f850a7187e7a77f8944b133291be148e5080162d40831a0ff8f", kill_on_drop: false }` [INFO] [stdout] 6f8db7fe4c537f850a7187e7a77f8944b133291be148e5080162d40831a0ff8f