[INFO] cloning repository https://github.com/agracey/kube_mdns
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agracey/kube_mdns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagracey%2Fkube_mdns", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagracey%2Fkube_mdns'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ddcfea8a95da8fea7b190100352abe7a0385338
[INFO] testing agracey/kube_mdns against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagracey%2Fkube_mdns" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/agracey/kube_mdns on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/agracey/kube_mdns
[INFO] finished tweaking git repo https://github.com/agracey/kube_mdns
[INFO] tweaked toml for git repo https://github.com/agracey/kube_mdns written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/agracey/kube_mdns already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e59056aa69dbe11aee39a16e7d7a06c8f53a954bb0d3cdf7cec295465abb7ea
[INFO] running `Command { std: "docker" "start" "-a" "0e59056aa69dbe11aee39a16e7d7a06c8f53a954bb0d3cdf7cec295465abb7ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e59056aa69dbe11aee39a16e7d7a06c8f53a954bb0d3cdf7cec295465abb7ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e59056aa69dbe11aee39a16e7d7a06c8f53a954bb0d3cdf7cec295465abb7ea", kill_on_drop: false }`
[INFO] [stdout] 0e59056aa69dbe11aee39a16e7d7a06c8f53a954bb0d3cdf7cec295465abb7ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee586c93c0609eb6130cd2602bef2046890937ca374a364c268840be985c20f7
[INFO] running `Command { std: "docker" "start" "-a" "ee586c93c0609eb6130cd2602bef2046890937ca374a364c268840be985c20f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling k8s-openapi v0.13.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling anyhow v1.0.45
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling tokio v1.13.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling openssl-sys v0.9.70
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling if-addrs v0.6.6
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling ordered-float v2.8.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling darling_core v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling tokio-macros v1.5.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.13.0
[INFO] [stderr]    Compiling futures-executor v0.3.17
[INFO] [stderr]    Compiling futures v0.3.17
[INFO] [stderr]    Compiling pin-project v0.4.28
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling pin-project v1.0.8
[INFO] [stderr]    Compiling simple-dns v0.2.1
[INFO] [stderr]    Compiling snafu v0.6.10
[INFO] [stderr]    Compiling tower-http v0.1.1
[INFO] [stderr]    Compiling simple-mdns v0.2.2
[INFO] [stderr]    Compiling darling v0.13.0
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-io-timeout v1.1.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tower v0.4.10
[INFO] [stderr]    Compiling hyper v0.14.14
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_yaml v0.8.21
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling libmdns v0.6.2
[INFO] [stderr]    Compiling treediff v3.0.2
[INFO] [stderr]    Compiling jsonpath_lib v0.3.0
[INFO] [stderr]    Compiling kube-derive v0.63.2
[INFO] [stderr]    Compiling json-patch v0.2.6
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling kube-core v0.63.2
[INFO] [stderr]    Compiling kube-client v0.63.2
[INFO] [stderr]    Compiling kube-runtime v0.63.2
[INFO] [stderr]    Compiling kube v0.63.2
[INFO] [stderr]    Compiling kube-mdns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `utils::try_flatten_applied`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     runtime::{utils::try_flatten_applied, watcher},
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Metadata`
[INFO] [stdout]   --> src/main.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | use k8s_openapi::{Metadata, api::networking::v1::Ingress};
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/main.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn setup_mdns(hostname: String, ip:IpAddr) {
[INFO] [stdout]    |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/main.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn on_delete (ingress: Ingress, ip: IpAddr, reg: &mut ServiceRegistry) {
[INFO] [stdout]    |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reg`
[INFO] [stdout]   --> src/main.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn on_delete (ingress: Ingress, ip: IpAddr, reg: &mut ServiceRegistry) {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_reg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                         let mut sd = reg.discovery_for(key);
[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] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/main.rs:36:36
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let key = &hostname.clone();
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stdout] 37 |
[INFO] [stdout] 38 |                         let mut sd = reg.discovery_for(key);
[INFO] [stdout]    |                                      ---------------------- argument requires that borrow lasts for `'static`
[INFO] [stdout] 39 |                         sd.add_ip_address(ip);
[INFO] [stdout] 40 |                     }
[INFO] [stdout]    |                     - temporary value is freed at the end of this statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in a `&` reference as mutable
[INFO] [stdout]   --> src/main.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         &mut ret
[INFO] [stdout]    |         ^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0596, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kube-mdns` due to 3 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ee586c93c0609eb6130cd2602bef2046890937ca374a364c268840be985c20f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee586c93c0609eb6130cd2602bef2046890937ca374a364c268840be985c20f7", kill_on_drop: false }`
[INFO] [stdout] ee586c93c0609eb6130cd2602bef2046890937ca374a364c268840be985c20f7
