[INFO] fetching crate bytekey2 0.4.5... [INFO] testing bytekey2-0.4.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bytekey2 0.4.5 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bytekey2 0.4.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75f89258f1cfe4f86518eed9b1b65622e270d561f51e404bc58d10aaba436c4a [INFO] running `Command { std: "docker" "start" "-a" "75f89258f1cfe4f86518eed9b1b65622e270d561f51e404bc58d10aaba436c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f89258f1cfe4f86518eed9b1b65622e270d561f51e404bc58d10aaba436c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f89258f1cfe4f86518eed9b1b65622e270d561f51e404bc58d10aaba436c4a", kill_on_drop: false }` [INFO] [stdout] 75f89258f1cfe4f86518eed9b1b65622e270d561f51e404bc58d10aaba436c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8716cab0b617d086ec8e90fdd412a1618091b2f30dbbd63f9f612ab5f9dc3825 [INFO] running `Command { std: "docker" "start" "-a" "8716cab0b617d086ec8e90fdd412a1618091b2f30dbbd63f9f612ab5f9dc3825", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bytekey2 v0.4.5 (/opt/rustwide/workdir) [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( [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 [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( [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 [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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 454 - let val = unsafe { transmute::(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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 466 - let val = unsafe { transmute::(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 4.23s [INFO] running `Command { std: "docker" "inspect" "8716cab0b617d086ec8e90fdd412a1618091b2f30dbbd63f9f612ab5f9dc3825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8716cab0b617d086ec8e90fdd412a1618091b2f30dbbd63f9f612ab5f9dc3825", kill_on_drop: false }` [INFO] [stdout] 8716cab0b617d086ec8e90fdd412a1618091b2f30dbbd63f9f612ab5f9dc3825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 074ecfd044ce4182b0bb7965c34b92edc641efc9426bf5a75e2c7f281ae1133d [INFO] running `Command { std: "docker" "start" "-a" "074ecfd044ce4182b0bb7965c34b92edc641efc9426bf5a75e2c7f281ae1133d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [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( [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 [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( [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 [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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 454 - let val = unsafe { transmute::(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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 466 - let val = unsafe { transmute::(v) }; [INFO] [stdout] 466 + let val = unsafe { f64::to_bits(v).cast_signed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytekey2 v0.4.5 (/opt/rustwide/workdir) [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( [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 [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( [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 [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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 454 - let val = unsafe { transmute::(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::(v) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 466 - let val = unsafe { transmute::(v) }; [INFO] [stdout] 466 + let val = unsafe { f64::to_bits(v).cast_signed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.40s [INFO] running `Command { std: "docker" "inspect" "074ecfd044ce4182b0bb7965c34b92edc641efc9426bf5a75e2c7f281ae1133d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074ecfd044ce4182b0bb7965c34b92edc641efc9426bf5a75e2c7f281ae1133d", kill_on_drop: false }` [INFO] [stdout] 074ecfd044ce4182b0bb7965c34b92edc641efc9426bf5a75e2c7f281ae1133d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ca8f69d6ccca7eff541f799a7eee21ab9f582cd10f066aa8663cb18904bfce3c [INFO] running `Command { std: "docker" "start" "-a" "ca8f69d6ccca7eff541f799a7eee21ab9f582cd10f066aa8663cb18904bfce3c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/de.rs:196:31 [INFO] [stderr] | [INFO] [stderr] 196 | let f: f32 = unsafe { transmute(val ^ t) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 196 - let f: f32 = unsafe { transmute(val ^ t) }; [INFO] [stderr] 196 + let f: f32 = unsafe { f32::from_bits(i32::cast_unsigned(val ^ t)) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/de.rs:206:31 [INFO] [stderr] | [INFO] [stderr] 206 | let f: f64 = unsafe { transmute(val ^ t) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 206 - let f: f64 = unsafe { transmute(val ^ t) }; [INFO] [stderr] 206 + let f: f64 = unsafe { f64::from_bits(i64::cast_unsigned(val ^ t)) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 453 | / fn deserialize_enum( [INFO] [stderr] 454 | | self, [INFO] [stderr] 455 | | _name: &'static str, [INFO] [stderr] 456 | | _fields: &'static [&'static str], [INFO] [stderr] ... | [INFO] [stderr] 459 | | where [INFO] [stderr] 460 | | V: Visitor<'de>, [INFO] [stderr] | |________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stderr] 461 | { [INFO] [stderr] 462 | impl<'de, 'a, R> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stderr] | ^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Deserializer` is not local [INFO] [stderr] | `EnumAccess` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de.rs:480:9 [INFO] [stderr] | [INFO] [stderr] 453 | / fn deserialize_enum( [INFO] [stderr] 454 | | self, [INFO] [stderr] 455 | | _name: &'static str, [INFO] [stderr] 456 | | _fields: &'static [&'static str], [INFO] [stderr] ... | [INFO] [stderr] 459 | | where [INFO] [stderr] 460 | | V: Visitor<'de>, [INFO] [stderr] | |________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stderr] ... [INFO] [stderr] 480 | impl<'de, 'a, R> serde::de::VariantAccess<'de> for &'a mut Deserializer [INFO] [stderr] | ^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^^^^^^^^------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Deserializer` is not local [INFO] [stderr] | `VariantAccess` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/ser.rs:454:28 [INFO] [stderr] | [INFO] [stderr] 454 | let val = unsafe { transmute::(v) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 454 - let val = unsafe { transmute::(v) }; [INFO] [stderr] 454 + let val = unsafe { f32::to_bits(v).cast_signed() }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/ser.rs:466:28 [INFO] [stderr] | [INFO] [stderr] 466 | let val = unsafe { transmute::(v) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 466 - let val = unsafe { transmute::(v) }; [INFO] [stderr] 466 + let val = unsafe { f64::to_bits(v).cast_signed() }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bytekey2` (lib) generated 6 warnings (run `cargo fix --lib -p bytekey2` to apply 4 suggestions) [INFO] [stderr] warning: `bytekey2` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bytekey2-f40b67e4f9348c28) [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] [stderr] Running tests/de.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/de-9550d417f08d8b82) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test test_bool ... ok [INFO] [stdout] test test_f32_2 ... ok [INFO] [stdout] test test_f64_2 ... ok [INFO] [stdout] test test_char ... ok [INFO] [stdout] test test_isize_2 ... ok [INFO] [stdout] test test_i8 ... ok [INFO] [stdout] test test_f64 ... ok [INFO] [stdout] test test_i16 ... ok [INFO] [stdout] test test_i64 ... ok [INFO] [stdout] test test_i32 ... ok [INFO] [stdout] test test_isize ... ok [INFO] [stdout] test test_f32 ... ok [INFO] [stdout] test test_u16 ... ok [INFO] [stdout] test test_enum ... ok [INFO] [stdout] test test_u8 ... ok [INFO] [stdout] test test_string ... ok [INFO] [stdout] test test_u64 ... ok [INFO] [stdout] test test_u32 ... ok [INFO] [stdout] test test_usize_2 ... ok [INFO] [stdout] test test_struct ... ok [INFO] [stdout] test test_option ... ok [INFO] [stdout] test test_usize ... ok [INFO] [stdout] test test_tuples ... ok [INFO] [stdout] test test_vec ... ok [INFO] [stderr] Running tests/ser.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ser-bbe32cdff76978a6) [INFO] [stdout] test test_array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test_f32_special_values ... ok [INFO] [stdout] test test_bool ... ok [INFO] [stdout] test test_isize_as_i64 ... ok [INFO] [stdout] test test_f64_special_values ... ok [INFO] [stdout] test test_usize_as_u64 ... ok [INFO] [stdout] test test_u8 ... ok [INFO] [stdout] test test_i8 ... ok [INFO] [stdout] test test_u32 ... ok [INFO] [stdout] test test_f32 ... ok [INFO] [stdout] test test_u64 ... ok [INFO] [stdout] test test_i16 ... ok [INFO] [stdout] test test_usize ... ok [INFO] [stdout] test test_isize ... ok [INFO] [stdout] test test_enum ... ok [INFO] [stdout] test test_i64 ... ok [INFO] [stdout] test test_u16 ... ok [INFO] [stdout] test test_i32 ... ok [INFO] [stdout] test test_f64 ... ok [INFO] [stdout] test test_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca8f69d6ccca7eff541f799a7eee21ab9f582cd10f066aa8663cb18904bfce3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca8f69d6ccca7eff541f799a7eee21ab9f582cd10f066aa8663cb18904bfce3c", kill_on_drop: false }` [INFO] [stdout] ca8f69d6ccca7eff541f799a7eee21ab9f582cd10f066aa8663cb18904bfce3c