[INFO] cloning repository https://github.com/hokuron/ping-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hokuron/ping-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhokuron%2Fping-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhokuron%2Fping-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f5a6b409b1dfe61bc891668da91db6ac7d583d4 [INFO] testing hokuron/ping-rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhokuron%2Fping-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hokuron/ping-rs [INFO] finished tweaking git repo https://github.com/hokuron/ping-rs [INFO] tweaked toml for git repo https://github.com/hokuron/ping-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hokuron/ping-rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hokuron/ping-rs 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3af9273f2be817c782aabe312494092d715961ad285002c1313dcfb399c9db3 [INFO] running `Command { std: "docker" "start" "-a" "f3af9273f2be817c782aabe312494092d715961ad285002c1313dcfb399c9db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3af9273f2be817c782aabe312494092d715961ad285002c1313dcfb399c9db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3af9273f2be817c782aabe312494092d715961ad285002c1313dcfb399c9db3", kill_on_drop: false }` [INFO] [stdout] f3af9273f2be817c782aabe312494092d715961ad285002c1313dcfb399c9db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 944eb392c42ae795b6bab1008cf841eeb43eb7983fc9072dc43a2b208ba58263 [INFO] running `Command { std: "docker" "start" "-a" "944eb392c42ae795b6bab1008cf841eeb43eb7983fc9072dc43a2b208ba58263", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pnet_base v0.28.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pnet_macros_support v0.28.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling pnet_sys v0.28.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling pnet_datalink v0.28.0 [INFO] [stderr] Compiling pnet_macros v0.28.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling pnet_packet v0.28.0 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling pnet_transport v0.28.0 [INFO] [stderr] Compiling ping-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Channel::Ethernet`, `NetworkInterface`, and `self` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use pnet::datalink::{self, Channel::Ethernet, NetworkInterface}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IcmpPacket` [INFO] [stdout] --> src/main.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | icmp::{echo_reply, echo_request, IcmpPacket, IcmpTypes}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv6` [INFO] [stdout] --> src/main.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use pnet::transport::TransportProtocol::{Ipv4, Ipv6}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | None => return process::exit(-100), [INFO] [stdout] | ^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut resolver = Resolver::new(ResolverConfig::default(), ResolverOpts::default()).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut response = resolver.lookup_ip(name).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcTns4jg/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtrust_dns_resolver-1126df9bcfc2e312.rlib,libresolv_conf-75bb1a856da507b0.rlib,libhostname-26b9fa27645600a7.rlib,libmatch_cfg-cc93d201727836b1.rlib,libquick_error-022321fe562bcedb.rlib,libparking_lot-26215b7046d0a93d.rlib,libparking_lot_core-43cf56fa8eab23f5.rlib,liblock_api-8a3a9ae637979500.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-7deb58ca3148c0e0.rlib,liblru_cache-b5e1da77be4ca6e0.rlib,liblinked_hash_map-606dc3728cba933f.rlib,libtrust_dns_proto-8197143f7e3ca883.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,libfutures_channel-5113d4090d80d86b.rlib,librand-8588068e37a2fccf.rlib,librand_chacha-3cdf3ef01bf41939.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-3d0dd3d0d7ddac47.rlib,libgetrandom-82b84ae4c8963e46.rlib,libfutures_io-ba08a45cf70b7d1f.rlib,libdata_encoding-6b05fec8e503a958.rlib,liburl-6a0408d6e128ebef.rlib,libform_urlencoded-08b32e4d9c417640.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libipnet-de7db76026111e4e.rlib,libidna-2dcd488e211a4fc5.rlib,libunicode_normalization-4c2b7b0325bb03da.rlib,libunicode_bidi-235f8eddebd79523.rlib,libmatches-210e485a89affeee.rlib,libtinyvec-f245651c7e9f5ae5.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libthiserror-cb970a63f9724e0c.rlib,libtokio-5ecb274089e4d341.rlib,libnum_cpus-f1d906aa22327aa6.rlib,libmio-9eaaeaeb8a945a6f.rlib,libfutures_util-01bfe89432202d2a.rlib,libslab-520ed64810a79da5.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libfutures_task-d04be23f7dec3190.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-25b5133751614cb8.rlib,liblog-2fa663e3959e676f.rlib,libcfg_if-66d55f6b302e88c8.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libpnet-6a7c6667e7362c56.rlib,libpnet_transport-20627187d6b27693.rlib,libpnet_packet-6afab807b7331f93.rlib,libpnet_macros_support-17f957cedf1828f2.rlib,libpnet_datalink-891593ab38c5953a.rlib,libpnet_sys-a325e99dfbe39ab6.rlib,liblibc-baca3cf34c72141d.rlib,libpnet_base-9a2741d2aa381631.rlib,libipnetwork-12bed99e8f3c96ac.rlib,libserde-2c15afe036253a32.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcTns4jg/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ping_rs-8846e2c617f53b91" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-82b84ae4c8963e46.rlib(getrandom-82b84ae4c8963e46.getrandom.9e7802c25682ae80-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h5ab5bfdd5ab3c092E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ping-rs` (bin "ping-rs") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "944eb392c42ae795b6bab1008cf841eeb43eb7983fc9072dc43a2b208ba58263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944eb392c42ae795b6bab1008cf841eeb43eb7983fc9072dc43a2b208ba58263", kill_on_drop: false }` [INFO] [stdout] 944eb392c42ae795b6bab1008cf841eeb43eb7983fc9072dc43a2b208ba58263