[INFO] cloning repository https://github.com/wangmarkqi/udp_hole_punching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangmarkqi/udp_hole_punching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangmarkqi%2Fudp_hole_punching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangmarkqi%2Fudp_hole_punching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc4dc9effc68425b71747abb0f6aa96044d66834 [INFO] building wangmarkqi/udp_hole_punching against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangmarkqi%2Fudp_hole_punching" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangmarkqi/udp_hole_punching on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangmarkqi/udp_hole_punching [INFO] finished tweaking git repo https://github.com/wangmarkqi/udp_hole_punching [INFO] tweaked toml for git repo https://github.com/wangmarkqi/udp_hole_punching written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/wangmarkqi/udp_hole_punching already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cde22a76584c6236906dcb7d65f9b96777ba9364bc3e63a95059dcaa9d4bf9f0 [INFO] running `Command { std: "docker" "start" "-a" "cde22a76584c6236906dcb7d65f9b96777ba9364bc3e63a95059dcaa9d4bf9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde22a76584c6236906dcb7d65f9b96777ba9364bc3e63a95059dcaa9d4bf9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde22a76584c6236906dcb7d65f9b96777ba9364bc3e63a95059dcaa9d4bf9f0", kill_on_drop: false }` [INFO] [stdout] cde22a76584c6236906dcb7d65f9b96777ba9364bc3e63a95059dcaa9d4bf9f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f96966de9aa81e2aa41999bb71f7251a0a865c557e49fa75c68311c8eeb7cf0 [INFO] running `Command { std: "docker" "start" "-a" "3f96966de9aa81e2aa41999bb71f7251a0a865c557e49fa75c68311c8eeb7cf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling event-listener v2.2.0 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling async-channel v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-lite v0.1.8 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling sled v0.34.6 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling udp_hole_punching v2.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower` [INFO] [stdout] --> src/client/cache_send.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let lower = conf.min_retry_len ; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/client/packet.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let remainder = task_total_len % real_capacity_len; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> src/client/packet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let times = task_total_len / real_capacity_len; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/listen.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `PeerAddress` should have an upper case name [INFO] [stdout] --> src/client/peer_address.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static PeerAddress: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PEER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower` [INFO] [stdout] --> src/client/cache_send.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let lower = conf.min_retry_len ; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/client/packet.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let remainder = task_total_len % real_capacity_len; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> src/client/packet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let times = task_total_len / real_capacity_len; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/listen.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `PeerAddress` should have an upper case name [INFO] [stdout] --> src/client/peer_address.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static PeerAddress: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PEER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "3f96966de9aa81e2aa41999bb71f7251a0a865c557e49fa75c68311c8eeb7cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f96966de9aa81e2aa41999bb71f7251a0a865c557e49fa75c68311c8eeb7cf0", kill_on_drop: false }` [INFO] [stdout] 3f96966de9aa81e2aa41999bb71f7251a0a865c557e49fa75c68311c8eeb7cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc7f591cf61ae6e7830209da826bb413b768c8ace7dd77b1284d321d52838204 [INFO] running `Command { std: "docker" "start" "-a" "bc7f591cf61ae6e7830209da826bb413b768c8ace7dd77b1284d321d52838204", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower` [INFO] [stdout] --> src/client/cache_send.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let lower = conf.min_retry_len ; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/client/packet.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let remainder = task_total_len % real_capacity_len; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> src/client/packet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let times = task_total_len / real_capacity_len; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/listen.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `PeerAddress` should have an upper case name [INFO] [stdout] --> src/client/peer_address.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static PeerAddress: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PEER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling udp_hole_punching v2.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower` [INFO] [stdout] --> src/client/cache_send.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let lower = conf.min_retry_len ; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/client/packet.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let remainder = task_total_len % real_capacity_len; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> src/client/packet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let times = task_total_len / real_capacity_len; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client/packets.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..2000{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/client/packets.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | let (u,mut pacs) = Packet::new_pacs_from_send_bytes(&v); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/listen.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/packets.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | let (u,mut pacs) = Packet::new_pacs_from_send_bytes(&v); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/cache_task.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | dbg!(c); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `PeerAddress` should have an upper case name [INFO] [stdout] --> src/client/peer_address.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static PeerAddress: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PEER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower` [INFO] [stdout] --> src/client/cache_send.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let lower = conf.min_retry_len ; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/client/packet.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let remainder = task_total_len % real_capacity_len; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `times` [INFO] [stdout] --> src/client/packet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let times = task_total_len / real_capacity_len; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client/packets.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..2000{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/client/packets.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | let (u,mut pacs) = Packet::new_pacs_from_send_bytes(&v); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/listen.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/packets.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | let (u,mut pacs) = Packet::new_pacs_from_send_bytes(&v); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/cache_task.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | dbg!(c); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `PeerAddress` should have an upper case name [INFO] [stdout] --> src/client/peer_address.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static PeerAddress: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PEER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.92s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/udp_hole_punching-9c4f30d717a45555) [INFO] [stderr] Executable unittests src/bin.rs (/opt/rustwide/target/debug/deps/udp_hole_punching-c76ee1d3486e6a7d) [INFO] running `Command { std: "docker" "inspect" "bc7f591cf61ae6e7830209da826bb413b768c8ace7dd77b1284d321d52838204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7f591cf61ae6e7830209da826bb413b768c8ace7dd77b1284d321d52838204", kill_on_drop: false }` [INFO] [stdout] bc7f591cf61ae6e7830209da826bb413b768c8ace7dd77b1284d321d52838204