[INFO] cloning repository https://github.com/spwilson2/rust-elfcopy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spwilson2/rust-elfcopy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Frust-elfcopy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Frust-elfcopy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 63b0e77f5f793736b656142e016acb4f751c2916
[INFO] checking spwilson2/rust-elfcopy/63b0e77f5f793736b656142e016acb4f751c2916 against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspwilson2%2Frust-elfcopy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spwilson2/rust-elfcopy
[INFO] finished tweaking git repo https://github.com/spwilson2/rust-elfcopy
[INFO] tweaked toml for git repo https://github.com/spwilson2/rust-elfcopy written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spwilson2/rust-elfcopy on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spwilson2/rust-elfcopy 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" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-elfcopy` (manifest) generated 1 warning
[INFO] [stderr]     Updating git repository `https://github.com/danburkert/memmap-rs`
[INFO] [stderr]     Updating git repository `https://github.com/spwilson2/rust-elf32`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs2 v0.2.5
[INFO] [stderr]   Downloaded libc v0.2.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54
[INFO] running `Command { std: "docker" "start" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-elfcopy` (manifest) generated 1 warning
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking libc v0.2.14
[INFO] [stderr]     Checking rust-elf32 v0.1.0 (https://github.com/spwilson2/rust-elf32#b62e3fb2)
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking memmap v0.4.0 (https://github.com/danburkert/memmap-rs#17bed520)
[INFO] [stderr]     Checking rust-elfcopy v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/main.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let magic_be: [u8;4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 81 -         let magic_be: [u8;4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout] 81 +         let magic_be: [u8;4] = u32::to_ne_bytes(MAGIC_COPIED.to_le());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/main.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let magic: [u8; 4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 186 -         let magic: [u8; 4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout] 186 +         let magic: [u8; 4] = u32::to_ne_bytes(MAGIC_COPIED.to_le());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/main.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let magic_be: [u8;4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 81 -         let magic_be: [u8;4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout] 81 +         let magic_be: [u8;4] = u32::to_ne_bytes(MAGIC_COPIED.to_le());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/main.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let magic: [u8; 4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 186 -         let magic: [u8; 4] = mem::transmute(MAGIC_COPIED.to_le());
[INFO] [stdout] 186 +         let magic: [u8; 4] = u32::to_ne_bytes(MAGIC_COPIED.to_le());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s
[INFO] running `Command { std: "docker" "inspect" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54", kill_on_drop: false }`
[INFO] [stdout] e87ee1f39e26e706cf2d033df5fddca11d3c412fbdebb49800e921044ffa1d54
