[INFO] fetching crate bytekey2 0.4.5...
[INFO] checking bytekey2-0.4.5 against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] extracting crate bytekey2 0.4.5 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate bytekey2 0.4.5
[INFO] finished tweaking crates.io crate bytekey2 0.4.5
[INFO] tweaked toml for crates.io crate bytekey2 0.4.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bytekey2 0.4.5 on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 20 packages to highest compatible versions
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bytekey2` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29
[INFO] running `Command { std: "docker" "start" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bytekey2` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]     Checking bytekey2 v0.4.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i8::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |         visitor.visit_i8(i ^ i8::MIN)
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i16::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |         visitor.visit_i16(i ^ i16::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:147:36
[INFO] [stdout]     |
[INFO] [stdout] 147 |         visitor.visit_i32(i ^ i32::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:155:36
[INFO] [stdout]     |
[INFO] [stdout] 155 |         visitor.visit_i64(i ^ i64::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let t = ((val ^ i32::MIN) >> 31) | i32::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:195:49
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let t = ((val ^ i32::MIN) >> 31) | i32::MIN;
[INFO] [stdout]     |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:205:30
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let t = ((val ^ i64::MIN) >> 63) | i64::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:205:49
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let t = ((val ^ i64::MIN) >> 63) | i64::MIN;
[INFO] [stdout]     |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i8::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:409:38
[INFO] [stdout]     |
[INFO] [stdout] 409 |         self.writer.write_i8(v ^ i8::MIN)?;
[INFO] [stdout]     |                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i16::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:414:46
[INFO] [stdout]     |
[INFO] [stdout] 414 |         self.writer.write_i16::<BE>(v ^ i16::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:419:46
[INFO] [stdout]     |
[INFO] [stdout] 419 |         self.writer.write_i32::<BE>(v ^ i32::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:424:46
[INFO] [stdout]     |
[INFO] [stdout] 424 |         self.writer.write_i64::<BE>(v ^ i64::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:455:36
[INFO] [stdout]     |
[INFO] [stdout] 455 |         let t = (val >> 31) | i32::MIN;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:467:36
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let t = (val >> 63) | i64::MIN;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/de.rs:196:31
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let f: f32 = unsafe { transmute(val ^ t) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 196 -         let f: f32 = unsafe { transmute(val ^ t) };
[INFO] [stdout] 196 +         let f: f32 = unsafe { f32::from_bits(i32::cast_unsigned(val ^ t)) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/de.rs:206:31
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let f: f64 = unsafe { transmute(val ^ t) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 206 -         let f: f64 = unsafe { transmute(val ^ t) };
[INFO] [stdout] 206 +         let f: f64 = unsafe { f64::from_bits(i64::cast_unsigned(val ^ t)) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/de.rs:462:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | /     fn deserialize_enum<V>(
[INFO] [stdout] 454 | |         self,
[INFO] [stdout] 455 | |         _name: &'static str,
[INFO] [stdout] 456 | |         _fields: &'static [&'static str],
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |     where
[INFO] [stdout] 460 | |         V: Visitor<'de>,
[INFO] [stdout]     | |________________________- move the `impl` block outside of this method `deserialize_enum`
[INFO] [stdout] 461 |       {
[INFO] [stdout] 462 |           impl<'de, 'a, R> serde::de::EnumAccess<'de> for &'a mut Deserializer<R>
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^
[INFO] [stdout]     |                            |                                      |
[INFO] [stdout]     |                            |                                      `Deserializer` is not local
[INFO] [stdout]     |                            `EnumAccess` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/de.rs:480:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | /     fn deserialize_enum<V>(
[INFO] [stdout] 454 | |         self,
[INFO] [stdout] 455 | |         _name: &'static str,
[INFO] [stdout] 456 | |         _fields: &'static [&'static str],
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |     where
[INFO] [stdout] 460 | |         V: Visitor<'de>,
[INFO] [stdout]     | |________________________- move the `impl` block outside of this method `deserialize_enum`
[INFO] [stdout] ...
[INFO] [stdout] 480 |           impl<'de, 'a, R> serde::de::VariantAccess<'de> for &'a mut Deserializer<R>
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^^^^^^^^------------^^^
[INFO] [stdout]     |                            |                                         |
[INFO] [stdout]     |                            |                                         `Deserializer` is not local
[INFO] [stdout]     |                            `VariantAccess` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/ser.rs:454:28
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let val = unsafe { transmute::<f32, i32>(v) };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 454 -         let val = unsafe { transmute::<f32, i32>(v) };
[INFO] [stdout] 454 +         let val = unsafe { f32::to_bits(v).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/ser.rs:466:28
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let val = unsafe { transmute::<f64, i64>(v) };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 466 -         let val = unsafe { transmute::<f64, i64>(v) };
[INFO] [stdout] 466 +         let val = unsafe { f64::to_bits(v).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.8
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::isize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                                    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/ser.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |         serialize(&usize::MAX).unwrap(),
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:213:25
[INFO] [stdout]     |
[INFO] [stdout] 213 |         serialize(&u64::MAX).unwrap()
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:215:31
[INFO] [stdout]     |
[INFO] [stdout] 215 |     assert!(serialize(&usize::MIN).unwrap() < serialize(&usize::MAX).unwrap());
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:215:65
[INFO] [stdout]     |
[INFO] [stdout] 215 |     assert!(serialize(&usize::MIN).unwrap() < serialize(&usize::MAX).unwrap());
[INFO] [stdout]     |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:221:27
[INFO] [stdout]     |
[INFO] [stdout] 221 |         serialize(&isize::MAX).unwrap(),
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:222:25
[INFO] [stdout]     |
[INFO] [stdout] 222 |         serialize(&i64::MAX).unwrap()
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::isize::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:224:31
[INFO] [stdout]     |
[INFO] [stdout] 224 |     assert!(serialize(&isize::MIN).unwrap() < serialize(&isize::MAX).unwrap());
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/ser.rs:224:65
[INFO] [stdout]     |
[INFO] [stdout] 224 |     assert!(serialize(&isize::MIN).unwrap() < serialize(&isize::MAX).unwrap());
[INFO] [stdout]     |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::MAX`: replaced by the `MAX` associated constant on `f32`
[INFO] [stdout]    --> tests/ser.rs:229:29
[INFO] [stdout]     |
[INFO] [stdout] 229 |     assert!(serialize(&f32::MAX).unwrap() < serialize(&f32::NAN).unwrap());
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::NAN`: replaced by the `NAN` associated constant on `f32`
[INFO] [stdout]    --> tests/ser.rs:229:61
[INFO] [stdout]     |
[INFO] [stdout] 229 |     assert!(serialize(&f32::MAX).unwrap() < serialize(&f32::NAN).unwrap());
[INFO] [stdout]     |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> tests/ser.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 239 |     assert!(serialize(&f64::MAX).unwrap() < serialize(&f64::NAN).unwrap());
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> tests/ser.rs:239:61
[INFO] [stdout]     |
[INFO] [stdout] 239 |     assert!(serialize(&f64::MAX).unwrap() < serialize(&f64::NAN).unwrap());
[INFO] [stdout]     |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/de.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{i16, i32, i64, i8};
[INFO] [stdout]   |                          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i8::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |         visitor.visit_i8(i ^ i8::MIN)
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i16::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |         visitor.visit_i16(i ^ i16::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:147:36
[INFO] [stdout]     |
[INFO] [stdout] 147 |         visitor.visit_i32(i ^ i32::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:155:36
[INFO] [stdout]     |
[INFO] [stdout] 155 |         visitor.visit_i64(i ^ i64::MIN)
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let t = ((val ^ i32::MIN) >> 31) | i32::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:195:49
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let t = ((val ^ i32::MIN) >> 31) | i32::MIN;
[INFO] [stdout]     |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:205:30
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let t = ((val ^ i64::MIN) >> 63) | i64::MIN;
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/de.rs:205:49
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let t = ((val ^ i64::MIN) >> 63) | i64::MIN;
[INFO] [stdout]     |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/ser.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{self, i16, i32, i64, i8};
[INFO] [stdout]   |                                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i8::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:409:38
[INFO] [stdout]     |
[INFO] [stdout] 409 |         self.writer.write_i8(v ^ i8::MIN)?;
[INFO] [stdout]     |                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i16::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:414:46
[INFO] [stdout]     |
[INFO] [stdout] 414 |         self.writer.write_i16::<BE>(v ^ i16::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:419:46
[INFO] [stdout]     |
[INFO] [stdout] 419 |         self.writer.write_i32::<BE>(v ^ i32::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:424:46
[INFO] [stdout]     |
[INFO] [stdout] 424 |         self.writer.write_i64::<BE>(v ^ i64::MIN)?;
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:455:36
[INFO] [stdout]     |
[INFO] [stdout] 455 |         let t = (val >> 31) | i32::MIN;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:467:36
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let t = (val >> 63) | i64::MIN;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::isize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                                    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> tests/de.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{f32, f64, i16, i64, i8, isize, u16, u64, u8, usize};
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/de.rs:234:16
[INFO] [stdout]     |
[INFO] [stdout] 234 |         usize::MAX,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::isize::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> tests/de.rs:279:16
[INFO] [stdout]     |
[INFO] [stdout] 279 |         isize::MIN,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/de.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 |         isize::MAX,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f32`
[INFO] [stdout]    --> tests/de.rs:290:14
[INFO] [stdout]     |
[INFO] [stdout] 290 |         f32::NEG_INFINITY,
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::MIN`: replaced by the `MIN` associated constant on `f32`
[INFO] [stdout]    --> tests/de.rs:291:14
[INFO] [stdout]     |
[INFO] [stdout] 291 |         f32::MIN,
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::MIN_POSITIVE`: replaced by the `MIN_POSITIVE` associated constant on `f32`
[INFO] [stdout]    --> tests/de.rs:294:14
[INFO] [stdout]     |
[INFO] [stdout] 294 |         f32::MIN_POSITIVE,
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::MAX`: replaced by the `MAX` associated constant on `f32`
[INFO] [stdout]    --> tests/de.rs:295:14
[INFO] [stdout]     |
[INFO] [stdout] 295 |         f32::MAX,
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32`
[INFO] [stdout]    --> tests/de.rs:296:14
[INFO] [stdout]     |
[INFO] [stdout] 296 |         f32::INFINITY,
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> tests/de.rs:306:14
[INFO] [stdout]     |
[INFO] [stdout] 306 |         f64::NEG_INFINITY,
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MIN`: replaced by the `MIN` associated constant on `f64`
[INFO] [stdout]    --> tests/de.rs:307:14
[INFO] [stdout]     |
[INFO] [stdout] 307 |         f64::MIN,
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MIN_POSITIVE`: replaced by the `MIN_POSITIVE` associated constant on `f64`
[INFO] [stdout]    --> tests/de.rs:310:14
[INFO] [stdout]     |
[INFO] [stdout] 310 |         f64::MIN_POSITIVE,
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> tests/de.rs:311:14
[INFO] [stdout]     |
[INFO] [stdout] 311 |         f64::MAX,
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> tests/de.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |         f64::INFINITY,
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/de.rs:196:31
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let f: f32 = unsafe { transmute(val ^ t) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 196 -         let f: f32 = unsafe { transmute(val ^ t) };
[INFO] [stdout] 196 +         let f: f32 = unsafe { f32::from_bits(i32::cast_unsigned(val ^ t)) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/de.rs:206:31
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let f: f64 = unsafe { transmute(val ^ t) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 206 -         let f: f64 = unsafe { transmute(val ^ t) };
[INFO] [stdout] 206 +         let f: f64 = unsafe { f64::from_bits(i64::cast_unsigned(val ^ t)) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/de.rs:462:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | /     fn deserialize_enum<V>(
[INFO] [stdout] 454 | |         self,
[INFO] [stdout] 455 | |         _name: &'static str,
[INFO] [stdout] 456 | |         _fields: &'static [&'static str],
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |     where
[INFO] [stdout] 460 | |         V: Visitor<'de>,
[INFO] [stdout]     | |________________________- move the `impl` block outside of this method `deserialize_enum`
[INFO] [stdout] 461 |       {
[INFO] [stdout] 462 |           impl<'de, 'a, R> serde::de::EnumAccess<'de> for &'a mut Deserializer<R>
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^
[INFO] [stdout]     |                            |                                      |
[INFO] [stdout]     |                            |                                      `Deserializer` is not local
[INFO] [stdout]     |                            `EnumAccess` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/de.rs:480:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | /     fn deserialize_enum<V>(
[INFO] [stdout] 454 | |         self,
[INFO] [stdout] 455 | |         _name: &'static str,
[INFO] [stdout] 456 | |         _fields: &'static [&'static str],
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |     where
[INFO] [stdout] 460 | |         V: Visitor<'de>,
[INFO] [stdout]     | |________________________- move the `impl` block outside of this method `deserialize_enum`
[INFO] [stdout] ...
[INFO] [stdout] 480 |           impl<'de, 'a, R> serde::de::VariantAccess<'de> for &'a mut Deserializer<R>
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^^^^^^^^------------^^^
[INFO] [stdout]     |                            |                                         |
[INFO] [stdout]     |                            |                                         `Deserializer` is not local
[INFO] [stdout]     |                            `VariantAccess` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/ser.rs:454:28
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let val = unsafe { transmute::<f32, i32>(v) };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 454 -         let val = unsafe { transmute::<f32, i32>(v) };
[INFO] [stdout] 454 +         let val = unsafe { f32::to_bits(v).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/ser.rs:466:28
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let val = unsafe { transmute::<f64, i64>(v) };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 466 -         let val = unsafe { transmute::<f64, i64>(v) };
[INFO] [stdout] 466 +         let val = unsafe { f64::to_bits(v).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s
[INFO] running `Command { std: "docker" "inspect" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29", kill_on_drop: false }`
[INFO] [stdout] 1caa82e8cea13816a16784917d0431a6b02185f172bda2541a2fddf6acd10d29
