[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] e397ac4f98bdf32e5fd09da00d63b4f26703b8e8 [INFO] testing pradt2/always-online-stun against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpradt2%2Falways-online-stun" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pradt2/always-online-stun on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4943a0407f1bf5dc1f84a8dc0e2d3b8a96b60f5bc59349a703d443932ed852 [INFO] running `Command { std: "docker" "start" "-a" "7b4943a0407f1bf5dc1f84a8dc0e2d3b8a96b60f5bc59349a703d443932ed852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4943a0407f1bf5dc1f84a8dc0e2d3b8a96b60f5bc59349a703d443932ed852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4943a0407f1bf5dc1f84a8dc0e2d3b8a96b60f5bc59349a703d443932ed852", kill_on_drop: false }` [INFO] [stdout] 7b4943a0407f1bf5dc1f84a8dc0e2d3b8a96b60f5bc59349a703d443932ed852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d8ee239871328004b446f795fd1679d89921f125a8e0bf0212801fc5ad46935 [INFO] running `Command { std: "docker" "start" "-a" "1d8ee239871328004b446f795fd1679d89921f125a8e0bf0212801fc5ad46935", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling r-ex v1.0.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stun-bytes v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling stun-format v1.0.1 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling serde_json v1.0.133 [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 rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [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] [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 46.10s [INFO] running `Command { std: "docker" "inspect" "1d8ee239871328004b446f795fd1679d89921f125a8e0bf0212801fc5ad46935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8ee239871328004b446f795fd1679d89921f125a8e0bf0212801fc5ad46935", kill_on_drop: false }` [INFO] [stdout] 1d8ee239871328004b446f795fd1679d89921f125a8e0bf0212801fc5ad46935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7980cb9008fe8305bdd711f7ed3aa89963bf7bad70e87ec672a7fc4c941f1ed [INFO] running `Command { std: "docker" "start" "-a" "b7980cb9008fe8305bdd711f7ed3aa89963bf7bad70e87ec672a7fc4c941f1ed", kill_on_drop: false }` [INFO] [stderr] Compiling always-online-stun v0.1.0 (/opt/rustwide/workdir) [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] 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] 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] [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[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 `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[E0282]: type annotations needed [INFO] [stdout] --> examples/stun_client_tcp.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | .filter(|opt| opt.is_some()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | .filter(|opt: /* Type */| opt.is_some()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stun_client_tcp.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|opt| opt.unwrap()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | .map(|opt: /* Type */| opt.unwrap()) [INFO] [stdout] | ++++++++++++ [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] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `always-online-stun` (example "stun_client_tcp") due to 11 previous errors [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] [stderr] error: could not compile `always-online-stun` (example "simple_write") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stun_client_udp.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | .filter(|opt| opt.is_some()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | .filter(|opt: /* Type */| opt.is_some()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stun_client_udp.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|opt| opt.unwrap()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | .map(|opt: /* Type */| opt.unwrap()) [INFO] [stdout] | ++++++++++++ [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] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `always-online-stun` (example "stun_client_udp") due to 11 previous errors [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [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] [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" "b7980cb9008fe8305bdd711f7ed3aa89963bf7bad70e87ec672a7fc4c941f1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7980cb9008fe8305bdd711f7ed3aa89963bf7bad70e87ec672a7fc4c941f1ed", kill_on_drop: false }` [INFO] [stdout] b7980cb9008fe8305bdd711f7ed3aa89963bf7bad70e87ec672a7fc4c941f1ed