[INFO] fetching crate rust_ofp 0.2.1... [INFO] building rust_ofp-0.2.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rust_ofp 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rust_ofp 0.2.1 [INFO] finished tweaking crates.io crate rust_ofp 0.2.1 [INFO] tweaked toml for crates.io crate rust_ofp 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_ofp 0.2.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e611ee07531cd58278df3e4a16a9bab06632d2e4bcf297b378e02dffc55888 [INFO] running `Command { std: "docker" "start" "-a" "81e611ee07531cd58278df3e4a16a9bab06632d2e4bcf297b378e02dffc55888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e611ee07531cd58278df3e4a16a9bab06632d2e4bcf297b378e02dffc55888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e611ee07531cd58278df3e4a16a9bab06632d2e4bcf297b378e02dffc55888", kill_on_drop: false }` [INFO] [stdout] 81e611ee07531cd58278df3e4a16a9bab06632d2e4bcf297b378e02dffc55888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311457d0ae6e131225f7a6baa260c5b0924033d0c5229c60d3ae010b18ea71a1 [INFO] running `Command { std: "docker" "start" "-a" "311457d0ae6e131225f7a6baa260c5b0924033d0c5229c60d3ae010b18ea71a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rust_ofp v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle_client_connected(&mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &OfpHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/packet.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | struct OfpMatch(u32, u16, [u8; 6], [u8; 6], u16, u8, u8, u16, u8, u8, u16, u32, u32, u16, u16); [INFO] [stdout] | -------- ^^^ ^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^ ^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | struct OfpActionHeader(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | struct OfpActionOutput(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | struct OfpActionVlanVId(u16, u16); [INFO] [stdout] | ---------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | struct OfpActionVlanPcp(u8, [u8; 3]); [INFO] [stdout] | ---------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | struct OfpActionStripVlan(u32); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:439:24 [INFO] [stdout] | [INFO] [stdout] 439 | struct OfpActionDlAddr([u8; 6], [u8; 6]); [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | struct OfpActionNwAddr(u32); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | struct OfpActionTpPort(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | struct OfpActionNwTos(u8, [u8; 3]); [INFO] [stdout] | -------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | struct OfpActionEnqueue(u16, [u8; 6], u32); [INFO] [stdout] | ---------------- ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, `4`, and `5` are never read [INFO] [stdout] --> src/openflow0x01.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | struct OfpSwitchFeatures(u64, u32, u8, [u8; 3], u32, u32); [INFO] [stdout] | ----------------- ^^^ ^^^ ^^ ^^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | struct OfpFlowMod(u64, u16, u16, u16, u16, u32, u16, u16); [INFO] [stdout] | ---------- ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, and `4` are never read [INFO] [stdout] --> src/openflow0x01.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | struct OfpPacketIn(i32, u16, u16, u8, u8); [INFO] [stdout] | ----------- ^^^ ^^^ ^^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | struct OfpPacketOut(u32, u16, u16); [INFO] [stdout] | ------------ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | struct OfpFlowRemoved(u64, u16, u8, u8, u32, u32, u16, u16, u64, u64); [INFO] [stdout] | -------------- ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | struct OfpPhyPort(u16, [u8; 6], [u8; 16], u32, u32, u32, u32, u32, u32); [INFO] [stdout] | ---------- ^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:1384:20 [INFO] [stdout] | [INFO] [stdout] 1384 | struct OfpErrorMsg(u16, u16); [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | struct TcpNet(u16, u16, u32, u32, u16, u16, u16, u16); [INFO] [stdout] | ------ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | struct IpNet(u8, u8, u16, u16, u16, u8, u8, u16, u32, u32); [INFO] [stdout] | ----- ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | struct ArpNet(u16, u16, u8, u8, u16, [u8; 6], u32, [u8; 6], u32); [INFO] [stdout] | ------ ^^^ ^^^ ^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "311457d0ae6e131225f7a6baa260c5b0924033d0c5229c60d3ae010b18ea71a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311457d0ae6e131225f7a6baa260c5b0924033d0c5229c60d3ae010b18ea71a1", kill_on_drop: false }` [INFO] [stdout] 311457d0ae6e131225f7a6baa260c5b0924033d0c5229c60d3ae010b18ea71a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f14f20898cb23e28098bee8883ae786034cba2405baf41de6989c1c5a917e42 [INFO] running `Command { std: "docker" "start" "-a" "5f14f20898cb23e28098bee8883ae786034cba2405baf41de6989c1c5a917e42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle_client_connected(&mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &OfpHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/packet.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | struct OfpMatch(u32, u16, [u8; 6], [u8; 6], u16, u8, u8, u16, u8, u8, u16, u32, u32, u16, u16); [INFO] [stdout] | -------- ^^^ ^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^ ^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | struct OfpActionHeader(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_ofp v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | struct OfpActionOutput(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | struct OfpActionVlanVId(u16, u16); [INFO] [stdout] | ---------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | struct OfpActionVlanPcp(u8, [u8; 3]); [INFO] [stdout] | ---------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | struct OfpActionStripVlan(u32); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:439:24 [INFO] [stdout] | [INFO] [stdout] 439 | struct OfpActionDlAddr([u8; 6], [u8; 6]); [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | struct OfpActionNwAddr(u32); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | struct OfpActionTpPort(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | struct OfpActionNwTos(u8, [u8; 3]); [INFO] [stdout] | -------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | struct OfpActionEnqueue(u16, [u8; 6], u32); [INFO] [stdout] | ---------------- ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, `4`, and `5` are never read [INFO] [stdout] --> src/openflow0x01.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | struct OfpSwitchFeatures(u64, u32, u8, [u8; 3], u32, u32); [INFO] [stdout] | ----------------- ^^^ ^^^ ^^ ^^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | struct OfpFlowMod(u64, u16, u16, u16, u16, u32, u16, u16); [INFO] [stdout] | ---------- ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, and `4` are never read [INFO] [stdout] --> src/openflow0x01.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | struct OfpPacketIn(i32, u16, u16, u8, u8); [INFO] [stdout] | ----------- ^^^ ^^^ ^^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | struct OfpPacketOut(u32, u16, u16); [INFO] [stdout] | ------------ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | struct OfpFlowRemoved(u64, u16, u8, u8, u32, u32, u16, u16, u64, u64); [INFO] [stdout] | -------------- ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | struct OfpPhyPort(u16, [u8; 6], [u8; 16], u32, u32, u32, u32, u32, u32); [INFO] [stdout] | ---------- ^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:1384:20 [INFO] [stdout] | [INFO] [stdout] 1384 | struct OfpErrorMsg(u16, u16); [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | struct TcpNet(u16, u16, u32, u32, u16, u16, u16, u16); [INFO] [stdout] | ------ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | struct IpNet(u8, u8, u16, u16, u16, u8, u8, u16, u32, u32); [INFO] [stdout] | ----- ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | struct ArpNet(u16, u16, u8, u8, u16, [u8; 6], u32, [u8; 6], u32); [INFO] [stdout] | ------ ^^^ ^^^ ^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Message` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_controller.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle_client_connected(&mut TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &OfpHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ofp_message.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn size_of(&Self) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/openflow0x01.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn marshal(Self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/packet.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | struct OfpMatch(u32, u16, [u8; 6], [u8; 6], u16, u8, u8, u16, u8, u8, u16, u32, u32, u16, u16); [INFO] [stdout] | -------- ^^^ ^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^ ^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | struct OfpActionHeader(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | struct OfpActionOutput(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | struct OfpActionVlanVId(u16, u16); [INFO] [stdout] | ---------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | struct OfpActionVlanPcp(u8, [u8; 3]); [INFO] [stdout] | ---------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | struct OfpActionStripVlan(u32); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:439:24 [INFO] [stdout] | [INFO] [stdout] 439 | struct OfpActionDlAddr([u8; 6], [u8; 6]); [INFO] [stdout] | --------------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openflow0x01.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | struct OfpActionNwAddr(u32); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | struct OfpActionTpPort(u16, u16); [INFO] [stdout] | --------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | struct OfpActionNwTos(u8, [u8; 3]); [INFO] [stdout] | -------------- ^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | struct OfpActionEnqueue(u16, [u8; 6], u32); [INFO] [stdout] | ---------------- ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, `4`, and `5` are never read [INFO] [stdout] --> src/openflow0x01.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | struct OfpSwitchFeatures(u64, u32, u8, [u8; 3], u32, u32); [INFO] [stdout] | ----------------- ^^^ ^^^ ^^ ^^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | struct OfpFlowMod(u64, u16, u16, u16, u16, u32, u16, u16); [INFO] [stdout] | ---------- ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, `3`, and `4` are never read [INFO] [stdout] --> src/openflow0x01.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | struct OfpPacketIn(i32, u16, u16, u8, u8); [INFO] [stdout] | ----------- ^^^ ^^^ ^^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/openflow0x01.rs:991:21 [INFO] [stdout] | [INFO] [stdout] 991 | struct OfpPacketOut(u32, u16, u16); [INFO] [stdout] | ------------ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | struct OfpFlowRemoved(u64, u16, u8, u8, u32, u32, u16, u16, u64, u64); [INFO] [stdout] | -------------- ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/openflow0x01.rs:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | struct OfpPhyPort(u16, [u8; 6], [u8; 16], u32, u32, u32, u32, u32, u32); [INFO] [stdout] | ---------- ^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/openflow0x01.rs:1384:20 [INFO] [stdout] | [INFO] [stdout] 1384 | struct OfpErrorMsg(u16, u16); [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | struct TcpNet(u16, u16, u32, u32, u16, u16, u16, u16); [INFO] [stdout] | ------ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | struct IpNet(u8, u8, u16, u16, u16, u8, u8, u16, u32, u32); [INFO] [stdout] | ----- ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | struct ArpNet(u16, u16, u8, u8, u16, [u8; 6], u32, [u8; 6], u32); [INFO] [stdout] | ------ ^^^ ^^^ ^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "5f14f20898cb23e28098bee8883ae786034cba2405baf41de6989c1c5a917e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f14f20898cb23e28098bee8883ae786034cba2405baf41de6989c1c5a917e42", kill_on_drop: false }` [INFO] [stdout] 5f14f20898cb23e28098bee8883ae786034cba2405baf41de6989c1c5a917e42