[INFO] fetching crate jsony 0.1.7... [INFO] checking jsony-0.1.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate jsony 0.1.7 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate jsony 0.1.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsony 0.1.7 [INFO] tweaked toml for crates.io crate jsony 0.1.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsony 0.1.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsony 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsony_macros v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c34ec09909b9052e84f99ef0a4751efedc122b5623c02e63d42fa6ed8ac2065 [INFO] running `Command { std: "docker" "start" "-a" "0c34ec09909b9052e84f99ef0a4751efedc122b5623c02e63d42fa6ed8ac2065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c34ec09909b9052e84f99ef0a4751efedc122b5623c02e63d42fa6ed8ac2065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c34ec09909b9052e84f99ef0a4751efedc122b5623c02e63d42fa6ed8ac2065", kill_on_drop: false }` [INFO] [stdout] 0c34ec09909b9052e84f99ef0a4751efedc122b5623c02e63d42fa6ed8ac2065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42cc261eddd573fe39d502202337bac902cadffe0e9822d5983adaef99798754 [INFO] running `Command { std: "docker" "start" "-a" "42cc261eddd573fe39d502202337bac902cadffe0e9822d5983adaef99798754", kill_on_drop: false }` [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling jsony_macros v0.1.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking jsony v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/binary.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | std::mem::transmute::<$reuse, $src>(<$reuse>::decode_binary(decoder)) [INFO] [stdout] | -----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 387 | / impl_bincode_via_transmute! { [INFO] [stdout] 388 | | f32 as u32, [INFO] [stdout] 389 | | f64 as u64, [INFO] [stdout] 390 | | i8 as u8, [INFO] [stdout] ... | [INFO] [stdout] 394 | | i128 as u128, [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_bincode_via_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `V4` is never constructed [INFO] [stdout] --> tests/attributes.rs:1055:12 [INFO] [stdout] | [INFO] [stdout] 1055 | struct V4(i32); // breaking version change. release [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `V5` is never constructed [INFO] [stdout] --> tests/attributes.rs:1059:12 [INFO] [stdout] | [INFO] [stdout] 1059 | struct V5(i32, #[jsony(version = 5)] bool); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `V6` is never constructed [INFO] [stdout] --> tests/attributes.rs:1063:12 [INFO] [stdout] | [INFO] [stdout] 1063 | struct V6(i32, #[jsony(version = 5)] bool); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "42cc261eddd573fe39d502202337bac902cadffe0e9822d5983adaef99798754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cc261eddd573fe39d502202337bac902cadffe0e9822d5983adaef99798754", kill_on_drop: false }` [INFO] [stdout] 42cc261eddd573fe39d502202337bac902cadffe0e9822d5983adaef99798754