[INFO] fetching crate bytekey2 0.4.5...
[INFO] checking bytekey2-0.4.5 against c60b92c03ca8a3b101eb9d57f51e2232690638c7 for pr-164148-crater-rollup
[INFO] extracting crate bytekey2 0.4.5 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bytekey2 0.4.5 on toolchain c60b92c03ca8a3b101eb9d57f51e2232690638c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "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" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "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" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6
[INFO] running `Command { std: "docker" "start" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6", 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" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6", 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" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "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]     Checking ppv-lite86 v0.2.21
[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] error: useless conversion to the same type: `de::Error` bytekey2
[INFO] [stdout]    --> src/de.rs:221:32
[INFO] [stdout]     |
[INFO] [stdout] 221 |             None => return Err(Error::UnexpectedEof.into()),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 221 -             None => return Err(Error::UnexpectedEof.into()),
[INFO] [stdout] 221 +             None => return Err(Error::UnexpectedEof),
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 221 -             None => return Err(Error::UnexpectedEof.into()),
[INFO] [stdout] 221 +             None => return Err(<de::Error as Into<_>>::into(Error::UnexpectedEof)),
[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] error: could not compile `bytekey2` (lib) due to 1 previous error; 28 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6", kill_on_drop: false }`
[INFO] [stdout] 87e01f0f7b896ba14682cdaab5ae26536a45c6ba00f8fbf56c7dacdb2142b4e6
