[INFO] cloning repository https://github.com/the10thWiz/autoConf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the10thWiz/autoConf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FautoConf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FautoConf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7d3e07c003351399b22f98eaf7004af6436ab1a [INFO] checking the10thWiz/autoConf against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FautoConf" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/autoConf on toolchain 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/the10thWiz/autoConf [INFO] finished tweaking git repo https://github.com/the10thWiz/autoConf [INFO] tweaked toml for git repo https://github.com/the10thWiz/autoConf written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/the10thWiz/autoConf 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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking the10thWiz/autoConf against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FautoConf" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/autoConf on toolchain 13cae6066db2d5e6c9bb508caceec8d34ca49980 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/the10thWiz/autoConf [INFO] finished tweaking git repo https://github.com/the10thWiz/autoConf [INFO] tweaked toml for git repo https://github.com/the10thWiz/autoConf written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/the10thWiz/autoConf 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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdb49008498e4ba85ccbf921aef8f6d7b0427b5ddfb24ed7d2ac871d8f08f771 [INFO] running `Command { std: "docker" "start" "-a" "bdb49008498e4ba85ccbf921aef8f6d7b0427b5ddfb24ed7d2ac871d8f08f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb49008498e4ba85ccbf921aef8f6d7b0427b5ddfb24ed7d2ac871d8f08f771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb49008498e4ba85ccbf921aef8f6d7b0427b5ddfb24ed7d2ac871d8f08f771", kill_on_drop: false }` [INFO] [stdout] bdb49008498e4ba85ccbf921aef8f6d7b0427b5ddfb24ed7d2ac871d8f08f771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdcc99d3fabcf7605f8116b8b0513e05db070afb22083d12aa6231b9a2ac14a7 [INFO] running `Command { std: "docker" "start" "-a" "bdcc99d3fabcf7605f8116b8b0513e05db070afb22083d12aa6231b9a2ac14a7", kill_on_drop: false }` [INFO] [stderr] Checking autonetconf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ip::IP` [INFO] [stdout] --> src/switch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ip::IP; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/switch.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | channel_protocol: (ChannelProtocol), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - channel_protocol: (ChannelProtocol), [INFO] [stdout] 155 + channel_protocol: ChannelProtocol, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ip::IP` [INFO] [stdout] --> src/switch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ip::IP; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/switch.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | channel_protocol: (ChannelProtocol), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - channel_protocol: (ChannelProtocol), [INFO] [stdout] 155 + channel_protocol: ChannelProtocol, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ip.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait IP: fmt::Display + Copy + Eq { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 25 | fn next(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn ip_type(&self) -> IPType; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | fn network(&self) -> Self; [INFO] [stdout] 30 | fn subnet_mask(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | fn subnet_addr(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | fn subnet_net(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | fn subnet_net_num(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn broadcast(&self) -> Self; [INFO] [stdout] 35 | fn class(&self) -> IPClass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | fn is_valid(&self) -> Result<(), IPError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | fn num_hosts(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_string` is never used [INFO] [stdout] --> src/config.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Config { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 4 | fn make_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timestamps`, `Encryption`, and `DHCP` are never constructed [INFO] [stdout] --> src/switch.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Service { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Timestamps(bool, TimestampType),// (no)? service timestamps [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | Encryption(bool),// (no)? service password-encryption [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | DHCP(bool),// (no)? service dhcp [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug` and `Log` are never constructed [INFO] [stdout] --> src/switch.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum TimestampType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Debug,// debug datetime msec [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Log,// log datetime msec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mode`, `Portfast`, and `Vlan` are never constructed [INFO] [stdout] --> src/switch.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | enum SpanningTree { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 52 | Mode(SpanningTreeMode), [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Portfast, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | Vlan(VlanRange), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pvst` and `RapidPvst` are never constructed [INFO] [stdout] --> src/switch.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum SpanningTreeMode { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 57 | Pvst, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | RapidPvst, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ethernet`, `FastEthernet`, `GigabitEthernet`, `PortChannel`, `Vlan`, and `None` are never constructed [INFO] [stdout] --> src/switch.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum InterfaceType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 83 | Ethernet(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | FastEthernet(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | GigabitEthernet(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | PortChannel(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | Vlan(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/switch.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl InterfaceType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 91 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Lacp` and `Pagp` are never constructed [INFO] [stdout] --> src/switch.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | enum ChannelProtocol { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 129 | Lacp, [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | Pagp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Limit` and `Trust` are never constructed [INFO] [stdout] --> src/switch.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum DHCPSnoop { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 133 | Limit(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | Trust, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cos` and `Trust` are never constructed [INFO] [stdout] --> src/switch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | enum MLSAction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 137 | Cos(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | Trust, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S10`, `S100`, and `Auto` are never constructed [INFO] [stdout] --> src/switch.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | enum Speed { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 144 | S10, [INFO] [stdout] | ^^^ [INFO] [stdout] 145 | S100, [INFO] [stdout] | ^^^^ [INFO] [stdout] 146 | Auto, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ip.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait IP: fmt::Display + Copy + Eq { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 25 | fn next(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn ip_type(&self) -> IPType; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | fn network(&self) -> Self; [INFO] [stdout] 30 | fn subnet_mask(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | fn subnet_addr(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | fn subnet_net(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | fn subnet_net_num(&self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn broadcast(&self) -> Self; [INFO] [stdout] 35 | fn class(&self) -> IPClass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | fn is_valid(&self) -> Result<(), IPError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | fn num_hosts(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/switch.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 152 | name: (InterfaceType, InterfaceType, bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | cpd: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | channel_group: (usize, GroupAction), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 155 | channel_protocol: (ChannelProtocol), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 157 | duplex: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 158 | ip: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 159 | lldp: (bool, bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 160 | mdix: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | mls: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 162 | shutdown: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | spanning_tree: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 164 | speed: Speed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | storm_control: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 166 | switchport: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 167 | tx_ring_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_string` is never used [INFO] [stdout] --> src/config.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Config { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 4 | fn make_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/switch.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 170 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timestamps`, `Encryption`, and `DHCP` are never constructed [INFO] [stdout] --> src/switch.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Service { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Timestamps(bool, TimestampType),// (no)? service timestamps [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | Encryption(bool),// (no)? service password-encryption [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | DHCP(bool),// (no)? service dhcp [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug` and `Log` are never constructed [INFO] [stdout] --> src/switch.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum TimestampType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Debug,// debug datetime msec [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Log,// log datetime msec [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/switch.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 227 | struct SwitchConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 232 | clock: Timezone,// clock timezone [INFO] [stdout] | ^^^^^ [INFO] [stdout] 233 | spanning_tree: Vec,// spanning-tree [INFO] [stdout] 234 | access_list: Vec,// access-list [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 235 | crypto: Vec,// crypto key [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | cdp: bool,// (no)? cdp run [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | lldp: bool,// (no)? lldp run [INFO] [stdout] | ^^^^ [INFO] [stdout] 238 | mls: bool,// (no)? mls qos [INFO] [stdout] | ^^^ [INFO] [stdout] 239 | interface: Vec,// interface [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 240 | vlan: Vec,// vlan [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | logging: Vec,// logging [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 242 | mac_table: Vec,// mac-address-table static [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 243 | monitor: Vec,// monitor session [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 244 | ntp: Vec,// ntp [INFO] [stdout] | ^^^ [INFO] [stdout] 245 | ip: Vec,// ip [INFO] [stdout] | ^^ [INFO] [stdout] 246 | line: Vec,// line [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | vtp: Vec,// vtp [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mode`, `Portfast`, and `Vlan` are never constructed [INFO] [stdout] --> src/switch.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | enum SpanningTree { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 52 | Mode(SpanningTreeMode), [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Portfast, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | Vlan(VlanRange), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pvst` and `RapidPvst` are never constructed [INFO] [stdout] --> src/switch.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum SpanningTreeMode { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 57 | Pvst, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | RapidPvst, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ethernet`, `FastEthernet`, `GigabitEthernet`, `PortChannel`, `Vlan`, and `None` are never constructed [INFO] [stdout] --> src/switch.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum InterfaceType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 83 | Ethernet(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | FastEthernet(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | GigabitEthernet(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | PortChannel(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | Vlan(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/switch.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl InterfaceType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 91 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Lacp` and `Pagp` are never constructed [INFO] [stdout] --> src/switch.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | enum ChannelProtocol { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 129 | Lacp, [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | Pagp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Limit` and `Trust` are never constructed [INFO] [stdout] --> src/switch.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum DHCPSnoop { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 133 | Limit(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | Trust, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cos` and `Trust` are never constructed [INFO] [stdout] --> src/switch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | enum MLSAction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 137 | Cos(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | Trust, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S10`, `S100`, and `Auto` are never constructed [INFO] [stdout] --> src/switch.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | enum Speed { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 144 | S10, [INFO] [stdout] | ^^^ [INFO] [stdout] 145 | S100, [INFO] [stdout] | ^^^^ [INFO] [stdout] 146 | Auto, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/switch.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 152 | name: (InterfaceType, InterfaceType, bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | cpd: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | channel_group: (usize, GroupAction), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 155 | channel_protocol: (ChannelProtocol), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 157 | duplex: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 158 | ip: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 159 | lldp: (bool, bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 160 | mdix: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | mls: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 162 | shutdown: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | spanning_tree: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 164 | speed: Speed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | storm_control: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 166 | switchport: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 167 | tx_ring_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/switch.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 170 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/switch.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 227 | struct SwitchConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 232 | clock: Timezone,// clock timezone [INFO] [stdout] | ^^^^^ [INFO] [stdout] 233 | spanning_tree: Vec,// spanning-tree [INFO] [stdout] 234 | access_list: Vec,// access-list [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 235 | crypto: Vec,// crypto key [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | cdp: bool,// (no)? cdp run [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | lldp: bool,// (no)? lldp run [INFO] [stdout] | ^^^^ [INFO] [stdout] 238 | mls: bool,// (no)? mls qos [INFO] [stdout] | ^^^ [INFO] [stdout] 239 | interface: Vec,// interface [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 240 | vlan: Vec,// vlan [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | logging: Vec,// logging [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 242 | mac_table: Vec,// mac-address-table static [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 243 | monitor: Vec,// monitor session [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 244 | ntp: Vec,// ntp [INFO] [stdout] | ^^^ [INFO] [stdout] 245 | ip: Vec,// ip [INFO] [stdout] | ^^ [INFO] [stdout] 246 | line: Vec,// line [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | vtp: Vec,// vtp [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "bdcc99d3fabcf7605f8116b8b0513e05db070afb22083d12aa6231b9a2ac14a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdcc99d3fabcf7605f8116b8b0513e05db070afb22083d12aa6231b9a2ac14a7", kill_on_drop: false }` [INFO] [stdout] bdcc99d3fabcf7605f8116b8b0513e05db070afb22083d12aa6231b9a2ac14a7