[INFO] fetching crate core-serde-json 0.1.0... [INFO] checking core-serde-json-0.1.0 against try#1463461488056994d1b84e8b752e7c11c7fae7aa for pr-154205 [INFO] extracting crate core-serde-json 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate core-serde-json 0.1.0 on toolchain 1463461488056994d1b84e8b752e7c11c7fae7aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding heapless v0.5.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d5e4ab2d6ee49e70effee900a4193deac54d9fe89bfbac7f20df42c819bef4c [INFO] running `Command { std: "docker" "start" "-a" "2d5e4ab2d6ee49e70effee900a4193deac54d9fe89bfbac7f20df42c819bef4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d5e4ab2d6ee49e70effee900a4193deac54d9fe89bfbac7f20df42c819bef4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5e4ab2d6ee49e70effee900a4193deac54d9fe89bfbac7f20df42c819bef4c", kill_on_drop: false }` [INFO] [stdout] 2d5e4ab2d6ee49e70effee900a4193deac54d9fe89bfbac7f20df42c819bef4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5104ab944ed1e52fc729d6d5e19bafaaa4c605124c1ee70dedab9711780f8b6c [INFO] running `Command { std: "docker" "start" "-a" "5104ab944ed1e52fc729d6d5e19bafaaa4c605124c1ee70dedab9711780f8b6c", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [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] [stderr] [FMTARGS] {"crate":"core_serde_json","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"core_serde_json","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stdout] error: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/de/mod.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 - fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] 83 + fn new(slice: &'a [u8]) -> Deserializer<'a> { [INFO] [stdout] | [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] [stderr] error: could not compile `core-serde-json` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [FMTARGS] {"crate":"core_serde_json","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"core_serde_json","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stdout] error: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/de/mod.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 - fn new(slice: &'a [u8]) -> Deserializer<'_> { [INFO] [stdout] 83 + fn new(slice: &'a [u8]) -> Deserializer<'a> { [INFO] [stdout] | [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] [stderr] error: could not compile `core-serde-json` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5104ab944ed1e52fc729d6d5e19bafaaa4c605124c1ee70dedab9711780f8b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5104ab944ed1e52fc729d6d5e19bafaaa4c605124c1ee70dedab9711780f8b6c", kill_on_drop: false }` [INFO] [stdout] 5104ab944ed1e52fc729d6d5e19bafaaa4c605124c1ee70dedab9711780f8b6c