[INFO] cloning repository https://github.com/edwardzcn-decade/rolldhcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edwardzcn-decade/rolldhcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardzcn-decade%2Frolldhcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardzcn-decade%2Frolldhcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50bda95c4d4ef391b89449c2df9357fc5667d257
[INFO] checking edwardzcn-decade/rolldhcp against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardzcn-decade%2Frolldhcp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/edwardzcn-decade/rolldhcp
[INFO] finished tweaking git repo https://github.com/edwardzcn-decade/rolldhcp
[INFO] tweaked toml for git repo https://github.com/edwardzcn-decade/rolldhcp written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/edwardzcn-decade/rolldhcp on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/edwardzcn-decade/rolldhcp 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking edwardzcn-decade/rolldhcp against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardzcn-decade%2Frolldhcp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/edwardzcn-decade/rolldhcp
[INFO] finished tweaking git repo https://github.com/edwardzcn-decade/rolldhcp
[INFO] tweaked toml for git repo https://github.com/edwardzcn-decade/rolldhcp written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/edwardzcn-decade/rolldhcp on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/edwardzcn-decade/rolldhcp 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9813d9740ccbd717239c5d2e97de40e52dcb66f7e3d227a04e920eb0046bbb21
[INFO] running `Command { std: "docker" "start" "-a" "9813d9740ccbd717239c5d2e97de40e52dcb66f7e3d227a04e920eb0046bbb21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9813d9740ccbd717239c5d2e97de40e52dcb66f7e3d227a04e920eb0046bbb21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9813d9740ccbd717239c5d2e97de40e52dcb66f7e3d227a04e920eb0046bbb21", kill_on_drop: false }`
[INFO] [stdout] 9813d9740ccbd717239c5d2e97de40e52dcb66f7e3d227a04e920eb0046bbb21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76ff514f2b3ed81967c10ce1071e3d9bdc9586b8e7373eee24fb99c1cddad2af
[INFO] running `Command { std: "docker" "start" "-a" "76ff514f2b3ed81967c10ce1071e3d9bdc9586b8e7373eee24fb99c1cddad2af", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr]     Checking rolldhcp v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BOOTREQUEST` and `LeaseError`
[INFO] [stdout]  --> src/dhcp/server.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::dhcp::{DhcpLease, LeaseError,DhcpMessageTypeCode, DhcpOption, BOOTREPLY, BOOTREQUEST};
[INFO] [stdout]   |                              ^^^^^^^^^^                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/dhcp/server.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Result`
[INFO] [stdout]  --> src/dhcp/server.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::Cell, fmt::Result, io::Error};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[cfg(debug_print)]
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]    --> src/dhcp/server.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |         #[cfg(debug_print)]
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 89 |             #[cfg(debug_print)]
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:94:19
[INFO] [stdout]    |
[INFO] [stdout] 94 |             #[cfg(debug_print)]
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv4Addr`
[INFO] [stdout]  --> src/dhcp/stucture.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::Ipv4Addr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv6Addr`
[INFO] [stdout]  --> src/dhcp/stucture.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::net::Ipv6Addr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOTREQUEST` and `LeaseError`
[INFO] [stdout]  --> src/dhcp/server.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::dhcp::{DhcpLease, LeaseError,DhcpMessageTypeCode, DhcpOption, BOOTREPLY, BOOTREQUEST};
[INFO] [stdout]   |                              ^^^^^^^^^^                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/dhcp/server.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Result`
[INFO] [stdout]  --> src/dhcp/server.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::Cell, fmt::Result, io::Error};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[cfg(debug_print)]
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]    --> src/dhcp/server.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |         #[cfg(debug_print)]
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 89 |             #[cfg(debug_print)]
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_print`
[INFO] [stdout]   --> src/dhcp/server.rs:94:19
[INFO] [stdout]    |
[INFO] [stdout] 94 |             #[cfg(debug_print)]
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_print)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_print)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv4Addr`
[INFO] [stdout]  --> src/dhcp/stucture.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::Ipv4Addr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv6Addr`
[INFO] [stdout]  --> src/dhcp/stucture.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::net::Ipv6Addr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/dhcp/packet.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let ciaddr = todo!();
[INFO] [stdout]     |                      ------- any code following this expression is unreachable
[INFO] [stdout] 148 |         let yiaddr = todo!();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dhcp/server.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |       fn get_available_ip(&self) -> &IpAddr {
[INFO] [stdout]    |                                     ------- expected `&IpAddr` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 67 | /         for _ in 0..self.lease_num {
[INFO] [stdout] 68 | |             
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^ expected `&IpAddr`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]    |
[INFO] [stdout] 69 ~         }
[INFO] [stdout] 70 +         /* `&IpAddr` value */
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/dhcp/packet.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let ciaddr = todo!();
[INFO] [stdout]     |                      ------- any code following this expression is unreachable
[INFO] [stdout] 148 |         let yiaddr = todo!();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/dhcp/packet.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let op = Self::decode_with_offset::<u8>(input, 0, 1).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `htype`
[INFO] [stdout]    --> src/dhcp/packet.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let htype = Self::decode_with_offset::<u8>(input, 1, 1).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_htype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hlen`
[INFO] [stdout]    --> src/dhcp/packet.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let hlen = Self::decode_with_offset::<u8>(input, 2, 1).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hlen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hops`
[INFO] [stdout]    --> src/dhcp/packet.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let hops = Self::decode_with_offset::<u8>(input, 3, 1).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hops`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xid`
[INFO] [stdout]    --> src/dhcp/packet.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let xid = Self::decode_with_offset::<u32>(input, 4, 4).unwrap();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_xid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secs`
[INFO] [stdout]    --> src/dhcp/packet.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let secs = Self::decode_with_offset::<u16>(input, 8, 2).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/dhcp/packet.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let flags = Self::decode_with_offset::<u16>(input, 10, 2).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciaddr`
[INFO] [stdout]    --> src/dhcp/packet.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let ciaddr = todo!();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/dhcp/packet.rs:229:26
[INFO] [stdout]     |
[INFO] [stdout] 229 |     pub fn encode(&self, buf: &mut [u8; 2048]) -> &[u8] {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/dhcp/packet.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |     fn from(bytes: &[u8]) -> Packet {
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mac`
[INFO] [stdout]    --> src/dhcp/packet.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |     fn from(mac: [u8; 2048]) -> Packet {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_mac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ipv6`
[INFO] [stdout]    --> src/dhcp/server.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |             IpAddr::V6(ipv6) => None,
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let pre_packet: Packet = Packet::new(
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:125:35
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn handle_dhcp_request(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:128:35
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn handle_dhcp_decline(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:131:35
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn handle_dhcp_release(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn handle_request(&mut self, in_packet: &Packet) {
[INFO] [stdout]     |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dhcp/server.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let mut send_packet = &prepare_packet;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offer_ip`
[INFO] [stdout]    --> src/dhcp/server.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         offer_ip: IpAddr,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offer_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optins_vec`
[INFO] [stdout]    --> src/dhcp/server.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         optins_vec: Vec<DhcpOption>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optins_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg_type`
[INFO] [stdout]    --> src/dhcp/server.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |         msg_type: DhcpMessageTypeCode,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rolldhcp` (lib test) due to 1 previous error; 31 warnings emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dhcp/server.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |       fn get_available_ip(&self) -> &IpAddr {
[INFO] [stdout]    |                                     ------- expected `&IpAddr` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 67 | /         for _ in 0..self.lease_num {
[INFO] [stdout] 68 | |             
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^ expected `&IpAddr`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]    |
[INFO] [stdout] 69 ~         }
[INFO] [stdout] 70 +         /* `&IpAddr` value */
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/dhcp/packet.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let op = Self::decode_with_offset::<u8>(input, 0, 1).unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `htype`
[INFO] [stdout]    --> src/dhcp/packet.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let htype = Self::decode_with_offset::<u8>(input, 1, 1).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_htype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hlen`
[INFO] [stdout]    --> src/dhcp/packet.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let hlen = Self::decode_with_offset::<u8>(input, 2, 1).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hlen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hops`
[INFO] [stdout]    --> src/dhcp/packet.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let hops = Self::decode_with_offset::<u8>(input, 3, 1).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hops`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xid`
[INFO] [stdout]    --> src/dhcp/packet.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let xid = Self::decode_with_offset::<u32>(input, 4, 4).unwrap();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_xid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secs`
[INFO] [stdout]    --> src/dhcp/packet.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let secs = Self::decode_with_offset::<u16>(input, 8, 2).unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_secs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/dhcp/packet.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let flags = Self::decode_with_offset::<u16>(input, 10, 2).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciaddr`
[INFO] [stdout]    --> src/dhcp/packet.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let ciaddr = todo!();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/dhcp/packet.rs:229:26
[INFO] [stdout]     |
[INFO] [stdout] 229 |     pub fn encode(&self, buf: &mut [u8; 2048]) -> &[u8] {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/dhcp/packet.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |     fn from(bytes: &[u8]) -> Packet {
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mac`
[INFO] [stdout]    --> src/dhcp/packet.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |     fn from(mac: [u8; 2048]) -> Packet {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_mac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ipv6`
[INFO] [stdout]    --> src/dhcp/server.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |             IpAddr::V6(ipv6) => None,
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let pre_packet: Packet = Packet::new(
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:125:35
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn handle_dhcp_request(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:128:35
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn handle_dhcp_decline(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:131:35
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn handle_dhcp_release(&self, in_packet: &Packet) {
[INFO] [stdout]     |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_packet`
[INFO] [stdout]    --> src/dhcp/server.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn handle_request(&mut self, in_packet: &Packet) {
[INFO] [stdout]     |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dhcp/server.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let mut send_packet = &prepare_packet;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offer_ip`
[INFO] [stdout]    --> src/dhcp/server.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         offer_ip: IpAddr,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offer_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optins_vec`
[INFO] [stdout]    --> src/dhcp/server.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         optins_vec: Vec<DhcpOption>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optins_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg_type`
[INFO] [stdout]    --> src/dhcp/server.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |         msg_type: DhcpMessageTypeCode,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rolldhcp` (lib) due to 1 previous error; 31 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "76ff514f2b3ed81967c10ce1071e3d9bdc9586b8e7373eee24fb99c1cddad2af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76ff514f2b3ed81967c10ce1071e3d9bdc9586b8e7373eee24fb99c1cddad2af", kill_on_drop: false }`
[INFO] [stdout] 76ff514f2b3ed81967c10ce1071e3d9bdc9586b8e7373eee24fb99c1cddad2af
