[INFO] fetching crate core-serde-json 0.1.0... [INFO] checking core-serde-json-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate core-serde-json 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate core-serde-json 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate core-serde-json 0.1.0 [INFO] finished tweaking crates.io crate core-serde-json 0.1.0 [INFO] tweaked toml for crates.io crate core-serde-json 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding as-slice v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.13.3 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hash32 v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding heapless v0.5.6 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c311e9c6e03a5bf84f469e5e2b923bb038c2107befda9cbcff2fa4e0c66c31ee [INFO] running `Command { std: "docker" "start" "-a" "c311e9c6e03a5bf84f469e5e2b923bb038c2107befda9cbcff2fa4e0c66c31ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c311e9c6e03a5bf84f469e5e2b923bb038c2107befda9cbcff2fa4e0c66c31ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c311e9c6e03a5bf84f469e5e2b923bb038c2107befda9cbcff2fa4e0c66c31ee", kill_on_drop: false }` [INFO] [stdout] c311e9c6e03a5bf84f469e5e2b923bb038c2107befda9cbcff2fa4e0c66c31ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d750a839f826376cbfcc21a5311e7ae8cccebf791d841a98e34524368f3d53a4 [INFO] running `Command { std: "docker" "start" "-a" "d750a839f826376cbfcc21a5311e7ae8cccebf791d841a98e34524368f3d53a4", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking core-serde-json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/de/mod.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a> Deserializer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 83 | fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/de/mod.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a> Deserializer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 83 | fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 152 | serialize_signed!(self, 4, v, i8, u8) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[deny(invalid_value)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 6]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 157 | serialize_signed!(self, 6, v, i16, u16) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 11]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 162 | serialize_signed!(self, 11, v, i32, u32) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 167 | serialize_signed!(self, 20, v, i64, u64) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 172 | serialize_unsigned!(self, 3, v) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 5]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 177 | serialize_unsigned!(self, 5, v) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 182 | serialize_unsigned!(self, 10, v) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 187 | serialize_unsigned!(self, 20, v) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-serde-json` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 152 | serialize_signed!(self, 4, v, i8, u8) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[deny(invalid_value)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 6]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 157 | serialize_signed!(self, 6, v, i16, u16) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 11]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 162 | serialize_signed!(self, 11, v, i32, u32) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 167 | serialize_signed!(self, 20, v, i64, u64) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 172 | serialize_unsigned!(self, 3, v) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 5]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 177 | serialize_unsigned!(self, 5, v) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 182 | serialize_unsigned!(self, 10, v) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/ser/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let mut buf: [u8; $N] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 187 | serialize_unsigned!(self, 20, v) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this error originates in the macro `serialize_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-serde-json` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "d750a839f826376cbfcc21a5311e7ae8cccebf791d841a98e34524368f3d53a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d750a839f826376cbfcc21a5311e7ae8cccebf791d841a98e34524368f3d53a4", kill_on_drop: false }` [INFO] [stdout] d750a839f826376cbfcc21a5311e7ae8cccebf791d841a98e34524368f3d53a4