[INFO] fetching crate mag3110 0.1.4... [INFO] testing mag3110-0.1.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mag3110 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate mag3110 0.1.4 [INFO] finished tweaking crates.io crate mag3110 0.1.4 [INFO] tweaked toml for crates.io crate mag3110 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mag3110 0.1.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding cast v0.2.7 (available: v0.3.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d565862cf49436c02bf18e9f47dc3fa9bc1e686e4d11fe0169687b90f408b558 [INFO] running `Command { std: "docker" "start" "-a" "d565862cf49436c02bf18e9f47dc3fa9bc1e686e4d11fe0169687b90f408b558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d565862cf49436c02bf18e9f47dc3fa9bc1e686e4d11fe0169687b90f408b558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d565862cf49436c02bf18e9f47dc3fa9bc1e686e4d11fe0169687b90f408b558", kill_on_drop: false }` [INFO] [stdout] d565862cf49436c02bf18e9f47dc3fa9bc1e686e4d11fe0169687b90f408b558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2e39c0b059d07a666cea5e3ac6f883a61549bac2e6ba934cbc03203d3dba2b1 [INFO] running `Command { std: "docker" "start" "-a" "f2e39c0b059d07a666cea5e3ac6f883a61549bac2e6ba934cbc03203d3dba2b1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling mag3110 v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 117 | let mut buffer: [u8; 6] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 129 | let mut buffer: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:142:53 [INFO] [stdout] | [INFO] [stdout] 142 | let mut buffer: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 6]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | let mut buffer: [u8; 6] = unsafe { mem::uninitialized() }; [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] = note: integers must be initialized [INFO] [stdout] = note: `#[deny(invalid_value)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 1]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | let mut buffer: [u8; 1] = unsafe { mem::uninitialized() }; [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] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type `[u8; 1]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 142 | let mut buffer: [u8; 1] = unsafe { mem::uninitialized() }; [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] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mag3110` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f2e39c0b059d07a666cea5e3ac6f883a61549bac2e6ba934cbc03203d3dba2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e39c0b059d07a666cea5e3ac6f883a61549bac2e6ba934cbc03203d3dba2b1", kill_on_drop: false }` [INFO] [stdout] f2e39c0b059d07a666cea5e3ac6f883a61549bac2e6ba934cbc03203d3dba2b1