[INFO] cloning repository https://github.com/pradt2/always-online-stun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pradt2/always-online-stun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpradt2%2Falways-online-stun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpradt2%2Falways-online-stun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3b087a66d2f8bad32a8e3a21e43c40092364dc9 [INFO] testing pradt2/always-online-stun against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpradt2%2Falways-online-stun" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/pradt2/always-online-stun [INFO] finished tweaking git repo https://github.com/pradt2/always-online-stun [INFO] tweaked toml for git repo https://github.com/pradt2/always-online-stun written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pradt2/always-online-stun on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pradt2/always-online-stun 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stun-format v1.0.1 [INFO] [stderr] Downloaded r-ex v1.0.1 [INFO] [stderr] Downloaded stun-bytes v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 102b4a4f91fd0de8215df710e5377e07ea633a3010858c1a7715987ec5ee082e [INFO] running `Command { std: "docker" "start" "-a" "102b4a4f91fd0de8215df710e5377e07ea633a3010858c1a7715987ec5ee082e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "102b4a4f91fd0de8215df710e5377e07ea633a3010858c1a7715987ec5ee082e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102b4a4f91fd0de8215df710e5377e07ea633a3010858c1a7715987ec5ee082e", kill_on_drop: false }` [INFO] [stdout] 102b4a4f91fd0de8215df710e5377e07ea633a3010858c1a7715987ec5ee082e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 312bb141d34695fe1a32d7584e21c09f2bbed5cfc5e8a4fce7cc7a07113fcb2a [INFO] running `Command { std: "docker" "start" "-a" "312bb141d34695fe1a32d7584e21c09f2bbed5cfc5e8a4fce7cc7a07113fcb2a", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling r-ex v1.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling stun-bytes v1.0.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling stun-format v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling always-online-stun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let client = client.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | .for_each(|socket| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TCP` is never constructed [INFO] [stdout] --> src/servers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TransportProtocol { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 7 | UDP, TCP [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportProtocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtt` is never read [INFO] [stdout] --> src/stun.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | HealthyResponse { rtt: Duration, supports_nat_testing: bool }, [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StunSocketResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtt` is never read [INFO] [stdout] --> src/stun.rs:98:72 [INFO] [stdout] | [INFO] [stdout] 98 | InvalidMappingResponse { expected: SocketAddr, actual: SocketAddr, rtt: Duration }, [INFO] [stdout] | ---------------------- field in this variant ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StunSocketResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_socket_addr_udp` is never used [INFO] [stdout] --> src/stun.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | async fn test_socket_addr_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_socket_udp` is never used [INFO] [stdout] --> src/stun.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | async fn test_socket_udp(hostname: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hostname_geoip_info` and `get_ip_geoip_info` are never used [INFO] [stdout] --> src/geoip.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait GeoIpClient { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 14 | async fn get_hostname_geoip_info(&self, hostname: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | async fn get_ip_geoip_info(&self, ip: IpAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpGeolocationIoClient` is never constructed [INFO] [stdout] --> src/geoip.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct IpGeolocationIoClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geoip.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl IpGeolocationIoClient { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 32 | pub(crate) fn new(api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeolocationDbClientResponse` is never constructed [INFO] [stdout] --> src/geoip.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct GeolocationDbClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hostname_geoip_info` is never used [INFO] [stdout] --> src/geoip.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 144 | impl CachedIpGeolocationIpClient { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub(crate) async fn get_hostname_geoip_info(&mut self, hostname: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | test_udp_servers().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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = test_udp_servers().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let resV4 = stun::query_stun_server_udp(&local_socket, SocketAddr::from(ref_socket_addr_v4), deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut resV4 = resV4.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let resV6 = stun::query_stun_server_udp(&local_socket, SocketAddr::from(ref_socket_addr_v6), deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut resV6 = resV6.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let resV4 = stun::query_stun_server_tcp(&mut local_socket, deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut resV4 = resV4.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let resV6 = stun::query_stun_server_tcp(&mut local_socket, deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut resV6 = resV6.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn udp(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn udp(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:93:44 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:157:44 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:165:61 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.90s [INFO] running `Command { std: "docker" "inspect" "312bb141d34695fe1a32d7584e21c09f2bbed5cfc5e8a4fce7cc7a07113fcb2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312bb141d34695fe1a32d7584e21c09f2bbed5cfc5e8a4fce7cc7a07113fcb2a", kill_on_drop: false }` [INFO] [stdout] 312bb141d34695fe1a32d7584e21c09f2bbed5cfc5e8a4fce7cc7a07113fcb2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05256c3f487635e366190fe8a2b6bdbcb80d06fdc6b0a5fa18787383e30ed2f4 [INFO] running `Command { std: "docker" "start" "-a" "05256c3f487635e366190fe8a2b6bdbcb80d06fdc6b0a5fa18787383e30ed2f4", kill_on_drop: false }` [INFO] [stderr] Compiling always-online-stun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] --> examples/stun_client_udp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stun_proto::rfc5389::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun_proto`, use `cargo add stun_proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] --> examples/stun_client_tcp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stun_proto::rfc5389::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun_proto`, use `cargo add stun_proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun_proto` [INFO] [stdout] --> examples/simple_read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stun_proto::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun_proto`, use `cargo add stun_proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `always-online-stun` (example "simple_read") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `always-online-stun` (example "stun_client_tcp") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr` [INFO] [stdout] --> examples/stun_client_tcp.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | SocketAddr::V4(ip, port) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use core::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use stun_format::SocketAddr; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr` [INFO] [stdout] --> examples/stun_client_tcp.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | SocketAddr::V6(ip, port) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use core::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use stun_format::SocketAddr; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Writer` [INFO] [stdout] --> examples/stun_client_tcp.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut writer = Writer::new(&mut buf); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Writer` [INFO] [stdout] | help: a trait with a similar name exists: `Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> examples/stun_client_tcp.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | writer.set_message_type(MessageType::BindingRequest).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> examples/stun_client_tcp.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let reader = Reader::new(&buf[0..bytes_read]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Reader` [INFO] [stdout] | help: a trait with a similar name exists: `Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun_proto` [INFO] [stdout] --> examples/simple_write.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stun_proto::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `stun_proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun_proto`, use `cargo add stun_proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReaderAttribute` [INFO] [stdout] --> examples/stun_client_tcp.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(ReaderAttribute::XorMappedAddress(addr)) => Some(addr.get_address().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ReaderAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReaderAttribute` [INFO] [stdout] --> examples/stun_client_tcp.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(ReaderAttribute::MappedAddress(addr)) => Some(addr.get_address().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ReaderAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> examples/stun_client_tcp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if let MessageType::BindingResponse = reader.get_message_type().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr` [INFO] [stdout] --> examples/stun_client_udp.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | SocketAddr::V4(ip, port) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use core::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use stun_format::SocketAddr; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr` [INFO] [stdout] --> examples/stun_client_udp.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | SocketAddr::V6(ip, port) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use core::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 1 + use stun_format::SocketAddr; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Writer` [INFO] [stdout] --> examples/stun_client_udp.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let mut writer = Writer::new(&mut buf); [INFO] [stdout] | ^^^^^^ use of undeclared type `Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> examples/stun_client_udp.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | writer.set_message_type(MessageType::BindingRequest).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reader` [INFO] [stdout] --> examples/stun_client_udp.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let reader = Reader::new(&buf[0..bytes_read]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReaderAttribute` [INFO] [stdout] --> examples/stun_client_udp.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(ReaderAttribute::XorMappedAddress(addr)) => Some(addr.get_address().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ReaderAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReaderAttribute` [INFO] [stdout] --> examples/stun_client_udp.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(ReaderAttribute::MappedAddress(addr)) => Some(addr.get_address().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ReaderAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> examples/stun_client_udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let MessageType::BindingResponse = reader.get_message_type().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `always-online-stun` (example "stun_client_udp") due to 9 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let client = client.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | .for_each(|socket| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `always-online-stun` (example "simple_write") due to 1 previous error [INFO] [stdout] warning: variant `TCP` is never constructed [INFO] [stdout] --> src/servers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TransportProtocol { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 7 | UDP, TCP [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransportProtocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtt` is never read [INFO] [stdout] --> src/stun.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | HealthyResponse { rtt: Duration, supports_nat_testing: bool }, [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StunSocketResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtt` is never read [INFO] [stdout] --> src/stun.rs:98:72 [INFO] [stdout] | [INFO] [stdout] 98 | InvalidMappingResponse { expected: SocketAddr, actual: SocketAddr, rtt: Duration }, [INFO] [stdout] | ---------------------- field in this variant ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StunSocketResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_socket_addr_udp` is never used [INFO] [stdout] --> src/stun.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | async fn test_socket_addr_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_socket_udp` is never used [INFO] [stdout] --> src/stun.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | async fn test_socket_udp(hostname: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hostname_geoip_info` is never used [INFO] [stdout] --> src/geoip.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait GeoIpClient { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 14 | async fn get_hostname_geoip_info(&self, hostname: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpGeolocationIoClient` is never constructed [INFO] [stdout] --> src/geoip.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct IpGeolocationIoClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/geoip.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl IpGeolocationIoClient { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 32 | pub(crate) fn new(api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeolocationDbClientResponse` is never constructed [INFO] [stdout] --> src/geoip.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct GeolocationDbClientResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hostname_geoip_info` is never used [INFO] [stdout] --> src/geoip.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 144 | impl CachedIpGeolocationIpClient { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub(crate) async fn get_hostname_geoip_info(&mut self, hostname: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | test_udp_servers().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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = test_udp_servers().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let resV4 = stun::query_stun_server_udp(&local_socket, SocketAddr::from(ref_socket_addr_v4), deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut resV4 = resV4.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let resV6 = stun::query_stun_server_udp(&local_socket, SocketAddr::from(ref_socket_addr_v6), deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut resV6 = resV6.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let resV4 = stun::query_stun_server_tcp(&mut local_socket, deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV4` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut resV4 = resV4.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let resV6 = stun::query_stun_server_tcp(&mut local_socket, deadline).await; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resV6` should have a snake case name [INFO] [stdout] --> src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut resV6 = resV6.unwrap().mapped_addr.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `res_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn udp(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn udp(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidHosts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidHosts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:93:44 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV4s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn udp(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn udp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:157:44 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn tcp(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outputs.rs:165:61 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn tcp_with_nat_testing(server_test_results: &Vec) -> ValidIpV6s<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05256c3f487635e366190fe8a2b6bdbcb80d06fdc6b0a5fa18787383e30ed2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05256c3f487635e366190fe8a2b6bdbcb80d06fdc6b0a5fa18787383e30ed2f4", kill_on_drop: false }` [INFO] [stdout] 05256c3f487635e366190fe8a2b6bdbcb80d06fdc6b0a5fa18787383e30ed2f4