[INFO] cloning repository https://github.com/the10thWiz/autoconfnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the10thWiz/autoconfnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fautoconfnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fautoconfnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 701a41118467d46602e31895bf1ce8eeaed8c685 [INFO] checking the10thWiz/autoconfnet against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fautoconfnet" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/the10thWiz/autoconfnet [INFO] finished tweaking git repo https://github.com/the10thWiz/autoconfnet [INFO] tweaked toml for git repo https://github.com/the10thWiz/autoconfnet written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/the10thWiz/autoconfnet on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/the10thWiz/autoconfnet 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d54882ddfc5f4b620b2a10ec2da2b1c9905ce1a6f47394c00fb899a7e884c4b [INFO] running `Command { std: "docker" "start" "-a" "4d54882ddfc5f4b620b2a10ec2da2b1c9905ce1a6f47394c00fb899a7e884c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d54882ddfc5f4b620b2a10ec2da2b1c9905ce1a6f47394c00fb899a7e884c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d54882ddfc5f4b620b2a10ec2da2b1c9905ce1a6f47394c00fb899a7e884c4b", kill_on_drop: false }` [INFO] [stdout] 4d54882ddfc5f4b620b2a10ec2da2b1c9905ce1a6f47394c00fb899a7e884c4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0b938aaae286b5b60eea0395e1b50730699aff66a7a9b5c1041fcab463ed49b [INFO] running `Command { std: "docker" "start" "-a" "f0b938aaae286b5b60eea0395e1b50730699aff66a7a9b5c1041fcab463ed49b", kill_on_drop: false }` [INFO] [stderr] Checking autonetconf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/switch.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | fn gen_config(config: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Config` is never used [INFO] [stdout] --> src/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split` is never used [INFO] [stdout] --> src/interface.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn split(s: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SubnetAddr` and `Broadcast` are never constructed [INFO] [stdout] --> src/ip.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum IPType { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | SubnetAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Public, [INFO] [stdout] 10 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IPClass` is never used [INFO] [stdout] --> src/ip.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum IPClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IPError` is never used [INFO] [stdout] --> src/ip.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IPError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ip.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait IP: fmt::Display + Copy + Eq { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 29 | fn next(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | fn first(&self) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | fn last(&self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | fn ip_type(&self) -> IPType; [INFO] [stdout] 33 | fn network(&self) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | fn subnet_mask(&self) -> Self; [INFO] [stdout] 35 | fn subnet_addr(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | fn subnet_net(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | fn subnet_net_num(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn broadcast(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn class(&self) -> IPClass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | fn is_valid(&self) -> Result<(), IPError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | fn num_hosts(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build_net` is never used [INFO] [stdout] --> src/ip.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl IPv4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn build_net(network: Self, num_net: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to_minicom` is never used [INFO] [stdout] --> src/output.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WriteProc { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn write_to_clip(self); [INFO] [stdout] 6 | fn write_to_minicom(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_list`, `add_list_count`, and `set_list_item` are never used [INFO] [stdout] --> src/parse.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Conf { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_list(mut self, key: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn add_list_count(mut self, key: impl Into, num: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_list_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_config` is never used [INFO] [stdout] --> src/switch.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn gen_config(config: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/switch.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | fn gen_config(config: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Config` is never used [INFO] [stdout] --> src/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split` is never used [INFO] [stdout] --> src/interface.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn split(s: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SubnetAddr` and `Broadcast` are never constructed [INFO] [stdout] --> src/ip.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum IPType { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | SubnetAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Public, [INFO] [stdout] 10 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IPClass` is never used [INFO] [stdout] --> src/ip.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum IPClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IPError` is never used [INFO] [stdout] --> src/ip.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum IPError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ip.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait IP: fmt::Display + Copy + Eq { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 29 | fn next(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | fn first(&self) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | fn last(&self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | fn ip_type(&self) -> IPType; [INFO] [stdout] 33 | fn network(&self) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | fn subnet_mask(&self) -> Self; [INFO] [stdout] 35 | fn subnet_addr(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | fn subnet_net(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | fn subnet_net_num(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn broadcast(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn class(&self) -> IPClass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | fn is_valid(&self) -> Result<(), IPError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | fn num_hosts(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build_net` is never used [INFO] [stdout] --> src/ip.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl IPv4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn build_net(network: Self, num_net: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to_minicom` is never used [INFO] [stdout] --> src/output.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait WriteProc { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 5 | fn write_to_clip(self); [INFO] [stdout] 6 | fn write_to_minicom(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_list`, `add_list_count`, and `set_list_item` are never used [INFO] [stdout] --> src/parse.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Conf { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_list(mut self, key: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn add_list_count(mut self, key: impl Into, num: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_list_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_config` is never used [INFO] [stdout] --> src/switch.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn gen_config(config: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "f0b938aaae286b5b60eea0395e1b50730699aff66a7a9b5c1041fcab463ed49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b938aaae286b5b60eea0395e1b50730699aff66a7a9b5c1041fcab463ed49b", kill_on_drop: false }` [INFO] [stdout] f0b938aaae286b5b60eea0395e1b50730699aff66a7a9b5c1041fcab463ed49b