[INFO] fetching crate discovery 0.1.5... [INFO] testing discovery-0.1.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate discovery 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate discovery 0.1.5 [INFO] finished tweaking crates.io crate discovery 0.1.5 [INFO] tweaked toml for crates.io crate discovery 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate discovery 0.1.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate discovery 0.1.5 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded pest_consume v1.1.3 [INFO] [stderr] Downloaded hyper-alpn v0.3.0 [INFO] [stderr] Downloaded pest_consume_macros v1.1.0 [INFO] [stderr] Downloaded rustdns v0.4.0 [INFO] [stderr] Downloaded if-addrs v0.12.0 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee47fb4e3d2f2b38392dbd1dbb137cf901412f777633aa198269c654f05d382b [INFO] running `Command { std: "docker" "start" "-a" "ee47fb4e3d2f2b38392dbd1dbb137cf901412f777633aa198269c654f05d382b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee47fb4e3d2f2b38392dbd1dbb137cf901412f777633aa198269c654f05d382b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee47fb4e3d2f2b38392dbd1dbb137cf901412f777633aa198269c654f05d382b", kill_on_drop: false }` [INFO] [stdout] ee47fb4e3d2f2b38392dbd1dbb137cf901412f777633aa198269c654f05d382b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 938d19f46734e6a50ddd8e8f6eb0268b0342f3c0976f0f4118a76c5525c7db47 [INFO] running `Command { std: "docker" "start" "-a" "938d19f46734e6a50ddd8e8f6eb0268b0342f3c0976f0f4118a76c5525c7db47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling if-addrs v0.12.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling pest_consume v1.1.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-alpn v0.3.0 [INFO] [stderr] Compiling rustdns v0.4.0 [INFO] [stderr] Compiling discovery v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BROADCAST_INTERVAL` and `Node` [INFO] [stdout] --> src/dns.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Node, Nodes, BROADCAST_INTERVAL, DNS_CHECK_INTERVAL}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/dns.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_SILENT_INTERVALS` and `Node` [INFO] [stdout] --> src/vlan.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Node, Nodes, BROADCAST_INTERVAL, MAX_SILENT_INTERVALS}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/vlan.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::{broadcast, oneshot, watch}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/vlan.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/vlan.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dns_service` [INFO] [stdout] --> src/dns.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | dns_service: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dns_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin_tx` [INFO] [stdout] --> src/vlan.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | let (fin_tx, fin_rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fin_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin_rx` [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let (up_rx, fin_rx, shutdown_rx, nodes) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fin_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "938d19f46734e6a50ddd8e8f6eb0268b0342f3c0976f0f4118a76c5525c7db47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938d19f46734e6a50ddd8e8f6eb0268b0342f3c0976f0f4118a76c5525c7db47", kill_on_drop: false }` [INFO] [stdout] 938d19f46734e6a50ddd8e8f6eb0268b0342f3c0976f0f4118a76c5525c7db47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6b924e311711329672fde537c4de847c4beb0cbab176f489d8432d15cc74f7c3 [INFO] running `Command { std: "docker" "start" "-a" "6b924e311711329672fde537c4de847c4beb0cbab176f489d8432d15cc74f7c3", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `BROADCAST_INTERVAL` and `Node` [INFO] [stdout] --> src/dns.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Node, Nodes, BROADCAST_INTERVAL, DNS_CHECK_INTERVAL}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/dns.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling discovery v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MAX_SILENT_INTERVALS` and `Node` [INFO] [stdout] --> src/vlan.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Node, Nodes, BROADCAST_INTERVAL, MAX_SILENT_INTERVALS}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/vlan.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::{broadcast, oneshot, watch}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/vlan.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/vlan.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dns_service` [INFO] [stdout] --> src/dns.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | dns_service: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dns_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin_tx` [INFO] [stdout] --> src/vlan.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | let (fin_tx, fin_rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fin_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BROADCAST_INTERVAL` and `Node` [INFO] [stdout] --> src/dns.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Node, Nodes, BROADCAST_INTERVAL, DNS_CHECK_INTERVAL}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/dns.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/vlan.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::{broadcast, oneshot, watch}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/vlan.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/vlan.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin_rx` [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let (up_rx, fin_rx, shutdown_rx, nodes) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fin_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dns_service` [INFO] [stdout] --> src/dns.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | dns_service: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dns_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin_tx` [INFO] [stdout] --> src/vlan.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | let (fin_tx, fin_rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fin_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let nodes: Nodes = Nodes::new([]); [INFO] [stdout] | ^^^^^^^^^^ -- unexpected argument of type `[_; 0]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 162 - let nodes: Nodes = Nodes::new([]); [INFO] [stdout] 162 + let nodes: Nodes = Nodes::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap()); [INFO] [stdout] | ^^^------------------------------------------ three arguments of type `Option`, `Option`, and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add(&self, ip: Ipv4Addr, tag: Option, seq: Option, is_self: bool) { [INFO] [stdout] | ^^^ ------------------- ---------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 163 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap(), /* Option */, /* Option */, /* bool */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vlan.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | assert!(nodes.test(Ipv4Addr::from_str("127.0.0.1").unwrap())); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Ipv4Addr`, found `Ipv4Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn test(&self, ip: &Ipv4Addr) -> bool { [INFO] [stdout] | ^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 164 | assert!(nodes.test(&Ipv4Addr::from_str("127.0.0.1").unwrap())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vlan.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(!nodes.test(Ipv4Addr::from_str("192.168.0.1").unwrap())); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Ipv4Addr`, found `Ipv4Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn test(&self, ip: &Ipv4Addr) -> bool { [INFO] [stdout] | ^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 165 | assert!(!nodes.test(&Ipv4Addr::from_str("192.168.0.1").unwrap())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | let nodes: Nodes = Nodes::new([]); [INFO] [stdout] | ^^^^^^^^^^ -- unexpected argument of type `[_; 0]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 170 - let nodes: Nodes = Nodes::new([]); [INFO] [stdout] 170 + let nodes: Nodes = Nodes::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap()); [INFO] [stdout] | ^^^------------------------------------------ three arguments of type `Option`, `Option`, and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add(&self, ip: Ipv4Addr, tag: Option, seq: Option, is_self: bool) { [INFO] [stdout] | ^^^ ------------------- ---------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 171 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap(), /* Option */, /* Option */, /* bool */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | nodes.add(Ipv4Addr::from_str("192.168.0.1").unwrap()); [INFO] [stdout] | ^^^-------------------------------------------- three arguments of type `Option`, `Option`, and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add(&self, ip: Ipv4Addr, tag: Option, seq: Option, is_self: bool) { [INFO] [stdout] | ^^^ ------------------- ---------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 172 | nodes.add(Ipv4Addr::from_str("192.168.0.1").unwrap(), /* Option */, /* Option */, /* bool */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let nodes: Nodes = Nodes::new([]); [INFO] [stdout] | ^^^^^^^^^^ -- unexpected argument of type `[_; 0]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 185 - let nodes: Nodes = Nodes::new([]); [INFO] [stdout] 185 + let nodes: Nodes = Nodes::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap()); [INFO] [stdout] | ^^^------------------------------------------ three arguments of type `Option`, `Option`, and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add(&self, ip: Ipv4Addr, tag: Option, seq: Option, is_self: bool) { [INFO] [stdout] | ^^^ ------------------- ---------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 186 | nodes.add(Ipv4Addr::from_str("127.0.0.1").unwrap(), /* Option */, /* Option */, /* bool */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/vlan.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | nodes.add(Ipv4Addr::from_str("192.168.0.1").unwrap()); [INFO] [stdout] | ^^^-------------------------------------------- three arguments of type `Option`, `Option`, and `bool` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add(&self, ip: Ipv4Addr, tag: Option, seq: Option, is_self: bool) { [INFO] [stdout] | ^^^ ------------------- ---------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 187 | nodes.add(Ipv4Addr::from_str("192.168.0.1").unwrap(), /* Option */, /* Option */, /* bool */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/dns.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let domain = String::from("wavey.io"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/dns.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let tags = vec![String::from("uk-lon")]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/dns.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let prefix = String::from("live"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/dns.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let addr: SocketAddr = ([8, 8, 8, 8], 53).into(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery` (lib test) due to 10 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6b924e311711329672fde537c4de847c4beb0cbab176f489d8432d15cc74f7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b924e311711329672fde537c4de847c4beb0cbab176f489d8432d15cc74f7c3", kill_on_drop: false }` [INFO] [stdout] 6b924e311711329672fde537c4de847c4beb0cbab176f489d8432d15cc74f7c3