[INFO] fetching crate rust_ofp 0.2.1... [INFO] testing rust_ofp-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rust_ofp 0.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_ofp 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 458d44b50eec25b64f688a0444ad12fbbc47f1b9adc9452f7dde067c8c0b1932 [INFO] running `Command { std: "docker" "start" "-a" "458d44b50eec25b64f688a0444ad12fbbc47f1b9adc9452f7dde067c8c0b1932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "458d44b50eec25b64f688a0444ad12fbbc47f1b9adc9452f7dde067c8c0b1932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458d44b50eec25b64f688a0444ad12fbbc47f1b9adc9452f7dde067c8c0b1932", kill_on_drop: false }` [INFO] [stdout] 458d44b50eec25b64f688a0444ad12fbbc47f1b9adc9452f7dde067c8c0b1932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b380a71408be053d415d15a878b6db3c10194992d082d5dd3c90ed2dc4eeac [INFO] running `Command { std: "docker" "start" "-a" "95b380a71408be053d415d15a878b6db3c10194992d082d5dd3c90ed2dc4eeac", 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.00s [INFO] running `Command { std: "docker" "inspect" "95b380a71408be053d415d15a878b6db3c10194992d082d5dd3c90ed2dc4eeac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b380a71408be053d415d15a878b6db3c10194992d082d5dd3c90ed2dc4eeac", kill_on_drop: false }` [INFO] [stdout] 95b380a71408be053d415d15a878b6db3c10194992d082d5dd3c90ed2dc4eeac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f24f5c050aaf06d97a6ad2375189a1e6bba5c8cd2dca016e144a40cb0c4f1ef [INFO] running `Command { std: "docker" "start" "-a" "2f24f5c050aaf06d97a6ad2375189a1e6bba5c8cd2dca016e144a40cb0c4f1ef", 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] [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] [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: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.33s [INFO] running `Command { std: "docker" "inspect" "2f24f5c050aaf06d97a6ad2375189a1e6bba5c8cd2dca016e144a40cb0c4f1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f24f5c050aaf06d97a6ad2375189a1e6bba5c8cd2dca016e144a40cb0c4f1ef", kill_on_drop: false }` [INFO] [stdout] 2f24f5c050aaf06d97a6ad2375189a1e6bba5c8cd2dca016e144a40cb0c4f1ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 786ae8ee45b076025ad074321b170b8eeec601377f6c9509d865745876d3de90 [INFO] running `Command { std: "docker" "start" "-a" "786ae8ee45b076025ad074321b170b8eeec601377f6c9509d865745876d3de90", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_controller.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_controller.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_controller.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | fn send_message(u32, Self::Message, &mut TcpStream); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_controller.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | fn handle_client_connected(&mut TcpStream); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TcpStream` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | fn size_of(&Self) -> usize; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | fn header_of(u32, &Self) -> OfpHeader; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | fn marshal(u32, Self) -> Vec; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &OfpHeader` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ofp_message.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | fn parse(&OfpHeader, &[u8]) -> (u32, Self); [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/openflow0x01.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 40 | fn size_of(&Self) -> usize; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/openflow0x01.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | fn marshal(Self, &mut Vec); [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/openflow0x01.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | fn marshal(Self, &mut Vec); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/packet.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/openflow0x01.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | struct OfpMatch(u32, u16, [u8; 6], [u8; 6], u16, u8, u8, u16, u8, u8, u16, u32, u32, u16, u16); [INFO] [stderr] | -------- ^^^ ^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^ ^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:428:24 [INFO] [stderr] | [INFO] [stderr] 428 | struct OfpActionHeader(u16, u16); [INFO] [stderr] | --------------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:431:24 [INFO] [stderr] | [INFO] [stderr] 431 | struct OfpActionOutput(u16, u16); [INFO] [stderr] | --------------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:433:25 [INFO] [stderr] | [INFO] [stderr] 433 | struct OfpActionVlanVId(u16, u16); [INFO] [stderr] | ---------------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:435:25 [INFO] [stderr] | [INFO] [stderr] 435 | struct OfpActionVlanPcp(u8, [u8; 3]); [INFO] [stderr] | ---------------- ^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/openflow0x01.rs:437:27 [INFO] [stderr] | [INFO] [stderr] 437 | struct OfpActionStripVlan(u32); [INFO] [stderr] | ------------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:439:24 [INFO] [stderr] | [INFO] [stderr] 439 | struct OfpActionDlAddr([u8; 6], [u8; 6]); [INFO] [stderr] | --------------- ^^^^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/openflow0x01.rs:441:24 [INFO] [stderr] | [INFO] [stderr] 441 | struct OfpActionNwAddr(u32); [INFO] [stderr] | --------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:443:24 [INFO] [stderr] | [INFO] [stderr] 443 | struct OfpActionTpPort(u16, u16); [INFO] [stderr] | --------------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:445:23 [INFO] [stderr] | [INFO] [stderr] 445 | struct OfpActionNwTos(u8, [u8; 3]); [INFO] [stderr] | -------------- ^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/openflow0x01.rs:447:25 [INFO] [stderr] | [INFO] [stderr] 447 | struct OfpActionEnqueue(u16, [u8; 6], u32); [INFO] [stderr] | ---------------- ^^^ ^^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, `2`, `3`, `4`, and `5` are never read [INFO] [stderr] --> src/openflow0x01.rs:720:26 [INFO] [stderr] | [INFO] [stderr] 720 | struct OfpSwitchFeatures(u64, u32, u8, [u8; 3], u32, u32); [INFO] [stderr] | ----------------- ^^^ ^^^ ^^ ^^^^^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/openflow0x01.rs:813:19 [INFO] [stderr] | [INFO] [stderr] 813 | struct OfpFlowMod(u64, u16, u16, u16, u16, u32, u16, u16); [INFO] [stderr] | ---------- ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, `2`, `3`, and `4` are never read [INFO] [stderr] --> src/openflow0x01.rs:940:20 [INFO] [stderr] | [INFO] [stderr] 940 | struct OfpPacketIn(i32, u16, u16, u8, u8); [INFO] [stderr] | ----------- ^^^ ^^^ ^^^ ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/openflow0x01.rs:991:21 [INFO] [stderr] | [INFO] [stderr] 991 | struct OfpPacketOut(u32, u16, u16); [INFO] [stderr] | ------------ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/openflow0x01.rs:1067:23 [INFO] [stderr] | [INFO] [stderr] 1067 | struct OfpFlowRemoved(u64, u16, u8, u8, u32, u32, u16, u16, u64, u64); [INFO] [stderr] | -------------- ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/openflow0x01.rs:1192:19 [INFO] [stderr] | [INFO] [stderr] 1192 | struct OfpPhyPort(u16, [u8; 6], [u8; 16], u32, u32, u32, u32, u32, u32); [INFO] [stderr] | ---------- ^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/openflow0x01.rs:1384:20 [INFO] [stderr] | [INFO] [stderr] 1384 | struct OfpErrorMsg(u16, u16); [INFO] [stderr] | ----------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/packet.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | struct TcpNet(u16, u16, u32, u32, u16, u16, u16, u16); [INFO] [stderr] | ------ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/packet.rs:223:14 [INFO] [stderr] | [INFO] [stderr] 223 | struct IpNet(u8, u8, u16, u16, u16, u8, u8, u16, u32, u32); [INFO] [stderr] | ----- ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/packet.rs:298:15 [INFO] [stderr] | [INFO] [stderr] 298 | struct ArpNet(u16, u16, u8, u8, u16, [u8; 6], u32, [u8; 6], u32); [INFO] [stderr] | ------ ^^^ ^^^ ^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: `rust_ofp` (lib) generated 36 warnings (run `cargo fix --lib -p rust_ofp` to apply 14 suggestions) [INFO] [stderr] warning: `rust_ofp` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_ofp-69873fc931c2f015) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_ofp_controller-a95dc88716db88ee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_ofp [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/packet.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "786ae8ee45b076025ad074321b170b8eeec601377f6c9509d865745876d3de90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786ae8ee45b076025ad074321b170b8eeec601377f6c9509d865745876d3de90", kill_on_drop: false }` [INFO] [stdout] 786ae8ee45b076025ad074321b170b8eeec601377f6c9509d865745876d3de90