[INFO] fetching crate std-traits 0.4.0... [INFO] testing std-traits-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate std-traits 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate std-traits 0.4.0 [INFO] finished tweaking crates.io crate std-traits 0.4.0 [INFO] tweaked toml for crates.io crate std-traits 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate std-traits 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate std-traits 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39b45fa2f4eb535e8fc40b81aeafda09a5194b49fe9159b1fecca86b2c5f4ebc [INFO] running `Command { std: "docker" "start" "-a" "39b45fa2f4eb535e8fc40b81aeafda09a5194b49fe9159b1fecca86b2c5f4ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39b45fa2f4eb535e8fc40b81aeafda09a5194b49fe9159b1fecca86b2c5f4ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b45fa2f4eb535e8fc40b81aeafda09a5194b49fe9159b1fecca86b2c5f4ebc", kill_on_drop: false }` [INFO] [stdout] 39b45fa2f4eb535e8fc40b81aeafda09a5194b49fe9159b1fecca86b2c5f4ebc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11c18d51a3b9c003eceeffddec903efd9a50816433dd0eb6cc5bc25877bd72b0 [INFO] running `Command { std: "docker" "start" "-a" "11c18d51a3b9c003eceeffddec903efd9a50816433dd0eb6cc5bc25877bd72b0", kill_on_drop: false }` [INFO] [stderr] Compiling std-traits v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 142 | / impl_number_like!(bool, [INFO] [stdout] 143 | | underlying: u8, [INFO] [stdout] 144 | | min: false, [INFO] [stdout] 145 | | max: true, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 152 | / impl_number_like!(char, [INFO] [stdout] 153 | | underlying: u32, [INFO] [stdout] 154 | | min: '\0', [INFO] [stdout] 155 | | max: '\u{10ffff}', [INFO] [stdout] 156 | | try_from_underlying: |v| char::try_from(v).ok() [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "11c18d51a3b9c003eceeffddec903efd9a50816433dd0eb6cc5bc25877bd72b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c18d51a3b9c003eceeffddec903efd9a50816433dd0eb6cc5bc25877bd72b0", kill_on_drop: false }` [INFO] [stdout] 11c18d51a3b9c003eceeffddec903efd9a50816433dd0eb6cc5bc25877bd72b0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439113875e73acbd566a2e95da1422c852abf59a906898665053e1c559aa3313 [INFO] running `Command { std: "docker" "start" "-a" "439113875e73acbd566a2e95da1422c852abf59a906898665053e1c559aa3313", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 142 | / impl_number_like!(bool, [INFO] [stdout] 143 | | underlying: u8, [INFO] [stdout] 144 | | min: false, [INFO] [stdout] 145 | | max: true, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 152 | / impl_number_like!(char, [INFO] [stdout] 153 | | underlying: u32, [INFO] [stdout] 154 | | min: '\0', [INFO] [stdout] 155 | | max: '\u{10ffff}', [INFO] [stdout] 156 | | try_from_underlying: |v| char::try_from(v).ok() [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling std-traits v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 142 | / impl_number_like!(bool, [INFO] [stdout] 143 | | underlying: u8, [INFO] [stdout] 144 | | min: false, [INFO] [stdout] 145 | | max: true, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | transmute::(self) [INFO] [stdout] | -----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 152 | / impl_number_like!(char, [INFO] [stdout] 153 | | underlying: u32, [INFO] [stdout] 154 | | min: '\0', [INFO] [stdout] 155 | | max: '\u{10ffff}', [INFO] [stdout] 156 | | try_from_underlying: |v| char::try_from(v).ok() [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1464 | impl_unsigned!(u8, i8); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1465 | impl_unsigned!(u16, i16); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1466 | impl_unsigned!(u32, i32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1467 | impl_unsigned!(u64, i64); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1468 | impl_unsigned!(u128, i128); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1088:26 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { transmute::(self) } [INFO] [stdout] | -------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 1469 | impl_unsigned!(usize, isize); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1623 | impl_signed!(i8, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1624 | impl_signed!(i16, u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1625 | impl_signed!(i32, u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1626 | impl_signed!(i64, u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1627 | impl_signed!(i128, u128); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | transmute::(self) [INFO] [stdout] | ----------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { transmute::(bytes) } [INFO] [stdout] | ----------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | unsafe { transmute::(self) } [INFO] [stdout] | ---------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] ... [INFO] [stdout] 1628 | impl_signed!(isize, usize); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "439113875e73acbd566a2e95da1422c852abf59a906898665053e1c559aa3313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439113875e73acbd566a2e95da1422c852abf59a906898665053e1c559aa3313", kill_on_drop: false }` [INFO] [stdout] 439113875e73acbd566a2e95da1422c852abf59a906898665053e1c559aa3313 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 481fad33f7898ef7fd8fa462d5137fabe32ad8472987702b5aa4eb90e48b1dbf [INFO] running `Command { std: "docker" "start" "-a" "481fad33f7898ef7fd8fa462d5137fabe32ad8472987702b5aa4eb90e48b1dbf", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | transmute::(self) [INFO] [stderr] | -----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from` [INFO] [stderr] ... [INFO] [stderr] 142 | / impl_number_like!(bool, [INFO] [stderr] 143 | | underlying: u8, [INFO] [stderr] 144 | | min: false, [INFO] [stderr] 145 | | max: true, [INFO] [stderr] ... | [INFO] [stderr] 151 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | transmute::(self) [INFO] [stderr] | -----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from` [INFO] [stderr] ... [INFO] [stderr] 152 | / impl_number_like!(char, [INFO] [stderr] 153 | | underlying: u32, [INFO] [stderr] 154 | | min: '\0', [INFO] [stderr] 155 | | max: '\u{10ffff}', [INFO] [stderr] 156 | | try_from_underlying: |v| char::try_from(v).ok() [INFO] [stderr] 157 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 785 | impl_float!(f32, u32, 1e-45); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 786 | impl_float!(f64, u64, 5e-324); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1464 | impl_unsigned!(u8, i8); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1464 | impl_unsigned!(u8, i8); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1464 | impl_unsigned!(u8, i8); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1465 | impl_unsigned!(u16, i16); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1465 | impl_unsigned!(u16, i16); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1465 | impl_unsigned!(u16, i16); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1466 | impl_unsigned!(u32, i32); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1466 | impl_unsigned!(u32, i32); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1466 | impl_unsigned!(u32, i32); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1467 | impl_unsigned!(u64, i64); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1467 | impl_unsigned!(u64, i64); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1467 | impl_unsigned!(u64, i64); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1468 | impl_unsigned!(u128, i128); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1468 | impl_unsigned!(u128, i128); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1468 | impl_unsigned!(u128, i128); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1469 | impl_unsigned!(usize, isize); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1469 | impl_unsigned!(usize, isize); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1088:26 [INFO] [stderr] | [INFO] [stderr] 1088 | unsafe { transmute::(self) } [INFO] [stderr] | -------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 1469 | impl_unsigned!(usize, isize); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1623 | impl_signed!(i8, u8); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1623 | impl_signed!(i8, u8); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1623 | impl_signed!(i8, u8); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1624 | impl_signed!(i16, u16); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1624 | impl_signed!(i16, u16); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1624 | impl_signed!(i16, u16); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1625 | impl_signed!(i32, u32); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1625 | impl_signed!(i32, u32); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1625 | impl_signed!(i32, u32); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1626 | impl_signed!(i64, u64); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1626 | impl_signed!(i64, u64); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1626 | impl_signed!(i64, u64); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1627 | impl_signed!(i128, u128); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1627 | impl_signed!(i128, u128); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1627 | impl_signed!(i128, u128); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | transmute::(self) [INFO] [stderr] | ----------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1628 | impl_signed!(isize, usize); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number_like` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | unsafe { transmute::(bytes) } [INFO] [stderr] | ----------------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 1628 | impl_signed!(isize, usize); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_number` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/num.rs:1083:26 [INFO] [stderr] | [INFO] [stderr] 1083 | unsafe { transmute::(self) } [INFO] [stderr] | ---------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::cast_unsigned` [INFO] [stderr] ... [INFO] [stderr] 1628 | impl_signed!(isize, usize); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_integer` which comes from the expansion of the macro `impl_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `std-traits` (lib) generated 42 warnings (run `cargo fix --lib -p std-traits` to apply 42 suggestions) [INFO] [stderr] warning: `std-traits` (lib test) generated 42 warnings (42 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/std_traits-959c970f54f78e70) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test array::test::test_index ... ok [INFO] [stdout] test fun::test::test_call_0_args ... ok [INFO] [stdout] test array::test::test_to_vec ... ok [INFO] [stdout] test num::test::test_abs ... ok [INFO] [stdout] test num::test::test_euclid_core ... ok [INFO] [stdout] test num::test::test_euclid_std ... ok [INFO] [stdout] test num::test::test_float_floor ... ok [INFO] [stdout] test num::test::test_signum ... ok [INFO] [stdout] test num::test::test_subnormal_consts ... ok [INFO] [stdout] test fun::test::test_call_2_args ... ok [INFO] [stdout] test tuple::test::test_from_array_1 ... ok [INFO] [stdout] test tuple::test::test_from_array_12 ... ok [INFO] [stdout] test tuple::test::test_from_array_0 ... ok [INFO] [stdout] test tuple::test::test_from_array_2 ... ok [INFO] [stdout] test tuple::test::test_from_array_3 ... ok [INFO] [stdout] test tuple::test::test_into_array_change_type_0_elements ... ok [INFO] [stdout] test fun::test::test_call_3_args ... ok [INFO] [stdout] test fun::test::test_call_1_arg ... ok [INFO] [stderr] Doc-tests std_traits [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "481fad33f7898ef7fd8fa462d5137fabe32ad8472987702b5aa4eb90e48b1dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481fad33f7898ef7fd8fa462d5137fabe32ad8472987702b5aa4eb90e48b1dbf", kill_on_drop: false }` [INFO] [stdout] 481fad33f7898ef7fd8fa462d5137fabe32ad8472987702b5aa4eb90e48b1dbf