[INFO] fetching crate webassembly 0.8.2... [INFO] checking webassembly-0.8.2 against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] extracting crate webassembly 0.8.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate webassembly 0.8.2 on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webassembly 0.8.2 [INFO] finished tweaking crates.io crate webassembly 0.8.2 [INFO] tweaked toml for crates.io crate webassembly 0.8.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ad1352036282c8288ae35d7a653e7da77c7587b15e103d7afe4fd8154dba983 [INFO] running `Command { std: "docker" "start" "-a" "9ad1352036282c8288ae35d7a653e7da77c7587b15e103d7afe4fd8154dba983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ad1352036282c8288ae35d7a653e7da77c7587b15e103d7afe4fd8154dba983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad1352036282c8288ae35d7a653e7da77c7587b15e103d7afe4fd8154dba983", kill_on_drop: false }` [INFO] [stdout] 9ad1352036282c8288ae35d7a653e7da77c7587b15e103d7afe4fd8154dba983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8589a93a52174e9627375a81789239ea1f9b83ece9624b82062ba4153ac207c [INFO] running `Command { std: "docker" "start" "-a" "e8589a93a52174e9627375a81789239ea1f9b83ece9624b82062ba4153ac207c", kill_on_drop: false }` [INFO] [stderr] Checking webassembly v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | let raw_bytes: [u8; 8] = unsafe { core::mem::transmute(*self) }; [INFO] [stdout] | --------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | let raw_bytes: [u8; 4] = unsafe { core::mem::transmute(*self) }; [INFO] [stdout] | --------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | let r: f32 = unsafe { core::mem::transmute(raw_bytes) }; [INFO] [stdout] | --------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let r: f64 = unsafe { core::mem::transmute(raw_bytes) }; [INFO] [stdout] | --------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | let raw_bytes: [u8; 8] = unsafe { core::mem::transmute(*self) }; [INFO] [stdout] | --------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | let raw_bytes: [u8; 4] = unsafe { core::mem::transmute(*self) }; [INFO] [stdout] | --------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | let r: f32 = unsafe { core::mem::transmute(raw_bytes) }; [INFO] [stdout] | --------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let r: f64 = unsafe { core::mem::transmute(raw_bytes) }; [INFO] [stdout] | --------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "e8589a93a52174e9627375a81789239ea1f9b83ece9624b82062ba4153ac207c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8589a93a52174e9627375a81789239ea1f9b83ece9624b82062ba4153ac207c", kill_on_drop: false }` [INFO] [stdout] e8589a93a52174e9627375a81789239ea1f9b83ece9624b82062ba4153ac207c