[INFO] fetching crate getaddrs 0.1.0... [INFO] checking getaddrs-0.1.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate getaddrs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate getaddrs 0.1.0 [INFO] finished tweaking crates.io crate getaddrs 0.1.0 [INFO] tweaked toml for crates.io crate getaddrs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate getaddrs 0.1.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.9.1 (available: v2.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10aa59876be2f0ab4050ab610e619de70024fc7a5f66b2745f904839d1e9d6f9 [INFO] running `Command { std: "docker" "start" "-a" "10aa59876be2f0ab4050ab610e619de70024fc7a5f66b2745f904839d1e9d6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10aa59876be2f0ab4050ab610e619de70024fc7a5f66b2745f904839d1e9d6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aa59876be2f0ab4050ab610e619de70024fc7a5f66b2745f904839d1e9d6f9", kill_on_drop: false }` [INFO] [stdout] 10aa59876be2f0ab4050ab610e619de70024fc7a5f66b2745f904839d1e9d6f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a96fb2dcb117b1815a4841f5e54b3153f535d738cf7b96eaaadee7600dc51ee [INFO] running `Command { std: "docker" "start" "-a" "7a96fb2dcb117b1815a4841f5e54b3153f535d738cf7b96eaaadee7600dc51ee", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking getaddrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/if_flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct InterfaceFlags: c_uint { [INFO] [stdout] 6 | | /// Interface is running. [INFO] [stdout] 7 | | const IFF_UP = libc::IFF_UP as c_uint; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/sockaddr.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { s_addr_v4 = transmute(data_v4.sin_addr.s_addr); } [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] 28 - unsafe { s_addr_v4 = transmute(data_v4.sin_addr.s_addr); } [INFO] [stdout] 28 + unsafe { s_addr_v4 = u32::to_ne_bytes(data_v4.sin_addr.s_addr); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/sockaddr.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { s_addr_v4 = transmute(data_v4.sin_addr.s_addr); } [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] 28 - unsafe { s_addr_v4 = transmute(data_v4.sin_addr.s_addr); } [INFO] [stdout] 28 + unsafe { s_addr_v4 = u32::to_ne_bytes(data_v4.sin_addr.s_addr); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "7a96fb2dcb117b1815a4841f5e54b3153f535d738cf7b96eaaadee7600dc51ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a96fb2dcb117b1815a4841f5e54b3153f535d738cf7b96eaaadee7600dc51ee", kill_on_drop: false }` [INFO] [stdout] 7a96fb2dcb117b1815a4841f5e54b3153f535d738cf7b96eaaadee7600dc51ee