[INFO] cloning repository https://github.com/rinsuki/wgsocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rinsuki/wgsocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki%2Fwgsocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki%2Fwgsocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a765afff10746dea88311c8e539bc778b0c5bad1 [INFO] testing rinsuki/wgsocks 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%2Frinsuki%2Fwgsocks" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rinsuki/wgsocks [INFO] finished tweaking git repo https://github.com/rinsuki/wgsocks [INFO] tweaked toml for git repo https://github.com/rinsuki/wgsocks written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rinsuki/wgsocks 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/rinsuki/wgsocks 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8046462c5ad9c0768d8624ddc5a5bc93535b200ffdeec0e509289fa0086d4b3e [INFO] running `Command { std: "docker" "start" "-a" "8046462c5ad9c0768d8624ddc5a5bc93535b200ffdeec0e509289fa0086d4b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8046462c5ad9c0768d8624ddc5a5bc93535b200ffdeec0e509289fa0086d4b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8046462c5ad9c0768d8624ddc5a5bc93535b200ffdeec0e509289fa0086d4b3e", kill_on_drop: false }` [INFO] [stdout] 8046462c5ad9c0768d8624ddc5a5bc93535b200ffdeec0e509289fa0086d4b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 703a841e216448c99c851e18a517815a820a2f46c36f8d0ab6219bea0c079b82 [INFO] running `Command { std: "docker" "start" "-a" "703a841e216448c99c851e18a517815a820a2f46c36f8d0ab6219bea0c079b82", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling ip_network v0.4.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ip_network_table v0.2.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling managed v0.8.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling smoltcp v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling blake2 v0.10.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chacha20 v0.9.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling x25519-dalek v2.0.0-pre.1 [INFO] [stderr] Compiling boringtun v0.5.2 [INFO] [stderr] Compiling wgsocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashSet`, `Read`, `Shutdown`, `SocketAddr`, and `Write` [INFO] [stdout] --> src/main.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | ...:{HashMap, HashSet}, sync::{Arc, Mutex, atomic::AtomicBool}, time::Duration, io::{Write, Read}, net::{Shutdown, SocketAddr}}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `TcpStream` [INFO] [stdout] --> src/socks.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::{TcpStream, ToSocketAddrs}, sync::{Arc, Mutex, atomic::AtomicBool}, io::{Read, Write}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/socks.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socks.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | ... Ok(mut addrs) => (move || { [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: unused import: `Read` [INFO] [stdout] --> src/socks.rs:1:89 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::{TcpStream, ToSocketAddrs}, sync::{Arc, Mutex, atomic::AtomicBool}, io::{Read, Write}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/socks.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::{TcpStream, ToSocketAddrs}, sync::{Arc, Mutex, atomic::AtomicBool}, io::{Read, Write}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/wg_device/mod.rs:115:71 [INFO] [stdout] | [INFO] [stdout] 115 | boringtun::noise::TunnResult::WriteToTunnelV4(data, _from_addr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | port_queue.0.send(port).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = port_queue.0.send(port).await; [INFO] [stdout] | +++++++ [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/rustc6LRLMb/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsignal_hook-531ee75dbb936f85.rlib,libsignal_hook_registry-59db90e55b695c90.rlib,libserde_json-fd983b1199e4cfdf.rlib,libryu-d13899e55c17b23e.rlib,libitoa-10e0d0f6ad8ac545.rlib,libsmoltcp-11783d1fbf9ae4bd.rlib,libmanaged-66e87a9590beff29.rlib,libtokio-6e6c40957c5bc5df.rlib,libnum_cpus-b070604951bd6eda.rlib,libsocket2-c275f73127003e69.rlib,libmemchr-d88797af6a5880b4.rlib,libbytes-2fec685abb1946c8.rlib,libmio-ff7c3d369654c87c.rlib,liblog-fc4b0167ad2190de.rlib,librand-66e9e765787f4545.rlib,librand_chacha-fde31e6b3572a8ad.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,libserde-ce5688c816a6f061.rlib,libboringtun-26d73f9e47d58205.rlib,libbase64-1447dfff012d42f8.rlib,libhmac-048c8a334657cb12.rlib,libx25519_dalek-e81691dfcdfb5591.rlib,libcurve25519_dalek-55e7c90f14cc5a64.rlib,librand_core-5985c29aedc1f069.rlib,libgetrandom-899137ffbac6be73.rlib,libdigest-4d424d7163596601.rlib,libbyteorder-53ef132cb4cc667c.rlib,libtracing-a48cf4067da682a9.rlib,libpin_project_lite-d27858faef1bbdcd.rlib,libtracing_core-c601b4b9672bf906.rlib,libring-0867add29b011cf5.rlib,libspin-727e07ee1a68c4a1.rlib,libuntrusted-ac99e7922c585a09.rlib,libonce_cell-8a5c5f1c32966472.rlib,libchacha20poly1305-e93d0578e9f4879c.rlib,libchacha20-5c163daf54a9a56f.rlib,libpoly1305-7c80aa085b8d2881.rlib,libopaque_debug-bfd86111b0908dde.rlib,libcpufeatures-20ef72a8651822b9.rlib,libuniversal_hash-f8d26db2e9426406.rlib,libcipher-44fed485688e383f.rlib,libzeroize-a4d9f9489e688c84.rlib,libinout-6134dfdcd60bb773.rlib,libblake2-51893a040b185397.rlib,libdigest-e5f6202da0c22b16.rlib,libsubtle-ee8dd8b554477dbb.rlib,libblock_buffer-3b2cfadb1d678b7e.rlib,libaead-af5207e576db1c01.rlib,libcrypto_common-9627f5fe1fb19cbb.rlib,libgeneric_array-94ff2b8f5e54f4b4.rlib,libtypenum-dfaa696d06b304f0.rlib,librand_core-7303ab388d11b14f.rlib,libgetrandom-6ca834a15da3eab0.rlib,libparking_lot-759095a824e642ce.rlib,libparking_lot_core-defe783f028cd27e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-cccb44d9dce4cf27.rlib,liblock_api-b0aaef6bf175c0ff.rlib,libscopeguard-73056285f12cb829.rlib,liblibc-070928d9dbeff53c.rlib,libhex-a52fd19e29921b8e.rlib,libip_network_table-951233bbf485fe99.rlib,libip_network_table_deps_treebitmap-951a7831198aedf6.rlib,libip_network-d688c37dd3cc6b4b.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/rustc6LRLMb/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/ring-4295f429dbe2c648/out" "-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/wgsocks-337a821aacf59fd3" "-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-6ca834a15da3eab0.rlib(getrandom-6ca834a15da3eab0.getrandom.d1ed9da4f55312c6-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.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h1858733cbf128e6fE+0xbc): 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 `wgsocks` (bin "wgsocks") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "703a841e216448c99c851e18a517815a820a2f46c36f8d0ab6219bea0c079b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703a841e216448c99c851e18a517815a820a2f46c36f8d0ab6219bea0c079b82", kill_on_drop: false }` [INFO] [stdout] 703a841e216448c99c851e18a517815a820a2f46c36f8d0ab6219bea0c079b82