[INFO] cloning repository https://github.com/iamwwc/ooproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamwwc/ooproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwwc%2Fooproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwwc%2Fooproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 690e12c26f6e347d617fde87c805250bd388f709 [INFO] testing iamwwc/ooproxy 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%2Fiamwwc%2Fooproxy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iamwwc/ooproxy [INFO] finished tweaking git repo https://github.com/iamwwc/ooproxy [INFO] tweaked toml for git repo https://github.com/iamwwc/ooproxy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamwwc/ooproxy 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/iamwwc/ooproxy 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5def6b46ab269d5bab7fc60cf966be88cd5674a70b58a9e12a5c75c71bd2a407 [INFO] running `Command { std: "docker" "start" "-a" "5def6b46ab269d5bab7fc60cf966be88cd5674a70b58a9e12a5c75c71bd2a407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5def6b46ab269d5bab7fc60cf966be88cd5674a70b58a9e12a5c75c71bd2a407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5def6b46ab269d5bab7fc60cf966be88cd5674a70b58a9e12a5c75c71bd2a407", kill_on_drop: false }` [INFO] [stdout] 5def6b46ab269d5bab7fc60cf966be88cd5674a70b58a9e12a5c75c71bd2a407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f936c8507988089c6436bb665636b65d3331514ac1f3d19e50f449b1d1f63b6d [INFO] running `Command { std: "docker" "start" "-a" "f936c8507988089c6436bb665636b65d3331514ac1f3d19e50f449b1d1f63b6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.10 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling backtrace v0.3.57 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling trust-dns-rustls v0.20.3 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling ooproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SocketAddrV4` and `SocketAddrV6` [INFO] [stdout] --> src/client.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/client.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/protocols/socks5.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | return Err(io::Error::new(ErrorKind::Other, $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 50 | _ => err!(""), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_ipv4` [INFO] [stdout] --> src/client.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let raw_ipv4 = peer_left.read_exact(&mut buf).await?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_ipv4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_data` [INFO] [stdout] --> src/client.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | pending_data, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `pending_data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_port` [INFO] [stdout] --> src/client.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | ref from_port, [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/client.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ref left, [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/protocols/socks5.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | let Destination { ref host, ref port } = dest; [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `host: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/protocols/socks5.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | let Destination { ref host, ref port } = dest; [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `port: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/stream.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let n = try_poll!(reader.poll_read_to_buffer(ctx)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minor_version` [INFO] [stdout] --> src/tls/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | minor_version, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `minor_version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | fn normalize_socket_addr(socket: &SocketAddr) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn normalize_socket_addr(socket: &SocketAddr) -> Cow<'_, SocketAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/bin/to_owned.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/to_owned.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let a = &x.to_owned(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{load_yaml, App, AppSettings}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BiPipe` and `StreamWithBuffer` [INFO] [stdout] --> src/main.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use ooproxy::{client::Client, config::Config, stream::{BiPipe, StreamWithBuffer}}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use log::{error, info, warn, LevelFilter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/cell.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | fn take(s: &String){} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/cell.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | fn hello(s: &str) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/cell.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut s = String::from(""); [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: fields `name`, `location`, `age`, and `a` are never read [INFO] [stdout] --> src/bin/cell.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Myself<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | location: RefCell, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | age: Cell, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | a: &'a mut u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Myself` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bin/cell.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn print(s: &mut String){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take` is never used [INFO] [stdout] --> src/bin/cell.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn take(s: &String){} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bin/cell.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | &mut *s; [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 13 | let _ = &mut *s; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | while let Ok((socks, addr)) = listener.accept().await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [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/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut addr = SocketAddr::new(host, port as u16); [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 variable: `e` [INFO] [stdout] --> src/bin/dns.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => return None, [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] 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/rustcZKj0eB/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtrust_dns_resolver-2fd40fda498ff4b7.rlib,libwebpki_roots-fa53a5d870638fcb.rlib,libtrust_dns_rustls-7a5491104ec40d98.rlib,libresolv_conf-112d4063da616a02.rlib,libhostname-28509eecb43baec3.rlib,libmatch_cfg-cc93d201727836b1.rlib,libquick_error-022321fe562bcedb.rlib,libtokio_rustls-2d7b38366c6e3db4.rlib,liblru_cache-b5e1da77be4ca6e0.rlib,liblinked_hash_map-606dc3728cba933f.rlib,librustls-7eb6c9ba5757a542.rlib,libbase64-1447dfff012d42f8.rlib,libsct-370e69f4414a8f67.rlib,libwebpki-b28a9690340a160e.rlib,libring-91e8a2b55618e02f.rlib,libspin-727e07ee1a68c4a1.rlib,libuntrusted-ac99e7922c585a09.rlib,libtrust_dns_proto-8ffd58df42455e42.rlib,libfutures_channel-34406bd67a5be1e4.rlib,librand-e24c29112502eb89.rlib,librand_chacha-085c7025962039c2.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-49f05601336081e8.rlib,libgetrandom-282b98d2dd7d6a57.rlib,libfutures_io-d2e168d7a38f858c.rlib,libdata_encoding-6b05fec8e503a958.rlib,liburl-a5975271e1524844.rlib,libform_urlencoded-c7ca260acdafb077.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libipnet-58d2603d2d613f5c.rlib,libidna-fce459f67eeff1f0.rlib,libunicode_normalization-89abb5f78ae625ee.rlib,libunicode_bidi-fba63ab404db077b.rlib,libmatches-d7125afe50072f5c.rlib,libtinyvec-f85e4e0caa5b9d82.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libthiserror-03633f8f81140eac.rlib,libfutures_util-7648e34aebea2004.rlib,libslab-77a18d92df1fb8de.rlib,libfutures_task-745d6cc0eb00d6e5.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-744750e6cc1a7d7c.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libtokio-22a258bb8fb75a5b.rlib,libsignal_hook_registry-81601494ae483ee1.rlib,libnum_cpus-1822ffd355c3abd1.rlib,libmemchr-73e1d28ab8a2c4a0.rlib,libonce_cell-a3308e77ab1abc42.rlib,libbytes-f5f6908afbf67346.rlib,libmio-e2a4080b541bf5b1.rlib,liblog-ac2d7cc7e3389574.rlib,libpin_project_lite-4390088538166d84.rlib,libparking_lot-4255a4b893f74fbd.rlib,libparking_lot_core-6dfc175420d9384f.rlib,liblibc-299d96699b4a0ce2.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-96b38419b92836ef.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-96e83b871cb6a3bd.rlib,libcfg_if-66d55f6b302e88c8.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/rustcZKj0eB/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/ring-6a3f48397fccfb06/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/dns-578c4e6df2e7762b" "-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-282b98d2dd7d6a57.rlib(getrandom-282b98d2dd7d6a57.getrandom.4ec5a517a8392b13-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_readonly17ha0fbbb33257e2286E+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 `ooproxy` (bin "dns") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f936c8507988089c6436bb665636b65d3331514ac1f3d19e50f449b1d1f63b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f936c8507988089c6436bb665636b65d3331514ac1f3d19e50f449b1d1f63b6d", kill_on_drop: false }` [INFO] [stdout] f936c8507988089c6436bb665636b65d3331514ac1f3d19e50f449b1d1f63b6d