[INFO] fetching crate aoaddons 0.2.0... [INFO] checking aoaddons-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate aoaddons 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate aoaddons 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aoaddons 0.2.0 [INFO] finished tweaking crates.io crate aoaddons 0.2.0 [INFO] tweaked toml for crates.io crate aoaddons 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate aoaddons 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c291e49c8b21161160a2d3b2b71f7ce70b833cb79406a5d4c835e73e61f925 [INFO] running `Command { std: "docker" "start" "-a" "a7c291e49c8b21161160a2d3b2b71f7ce70b833cb79406a5d4c835e73e61f925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c291e49c8b21161160a2d3b2b71f7ce70b833cb79406a5d4c835e73e61f925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c291e49c8b21161160a2d3b2b71f7ce70b833cb79406a5d4c835e73e61f925", kill_on_drop: false }` [INFO] [stdout] a7c291e49c8b21161160a2d3b2b71f7ce70b833cb79406a5d4c835e73e61f925 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c75a709fe48066c5d15d5a736badd880e50037a1a4de2815ba1bfdc2ca52fbb1 [INFO] running `Command { std: "docker" "start" "-a" "c75a709fe48066c5d15d5a736badd880e50037a1a4de2815ba1bfdc2ca52fbb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking pnet_base v0.28.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pnet_macros_support v0.28.0 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Compiling curl v0.4.35 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking fake_clock v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking pnet_sys v0.28.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking timer v0.1.6 [INFO] [stderr] Checking simplelog v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pnet_macros v0.28.0 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Checking pnet_packet v0.28.0 [INFO] [stderr] Checking pnet_transport v0.28.0 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking pnet_datalink v0.28.0 [INFO] [stderr] Compiling aoaddons v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(PartialEq, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ParamType` [INFO] [stdout] 10 | enum ParamType [INFO] [stdout] | --------- `ParamType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Param` [INFO] [stdout] 48 | struct Param [INFO] [stdout] | ----- `Param` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Message` [INFO] [stdout] 57 | struct Message [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> build.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Messages` [INFO] [stdout] 65 | struct Messages [INFO] [stdout] | -------- `Messages` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 182 | let game_message = simulate_new_player!(1, "TestCharacter", NewCharacter); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 193 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 204 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 207 | let game_message = simulate_new_player!(2, "TestCharacter2", NewCharacter); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 249 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | let game_message = simulate_new_player!(2, "TestCharacter", NewCharacter); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 275 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 294 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/game/world.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 330 | let game_message = simulate_new_player!(1, "TestCharacter", Join); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `simulate_new_player` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_name`, `source_address`, `destination_address`, and `length` are never read [INFO] [stdout] --> src/packet_sniffer/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UdpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | pub interface_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub source_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub source_port: u16, [INFO] [stdout] 25 | pub destination_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub destination_port: u16, [INFO] [stdout] 27 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpPacket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `crc_enabled`, `timestamp`, and `challenge` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PhotonHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | pub peer_id: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub crc_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub command_count: u8, [INFO] [stdout] 30 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub challenge: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhotonHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel_id`, `flags`, `reserved_byte`, and `reliable_sequence_number` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ReliableCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 41 | pub channel_id: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub reserved_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub msg_len: u32, [INFO] [stdout] 45 | pub reliable_sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReliableCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unknown` is never read [INFO] [stdout] --> src/photon_decode/layout.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct UnreliableCommand { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 54 | pub reliable_command: ReliableCommand, [INFO] [stdout] 55 | pub unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fragment_number`, `total_length`, and `operation_length` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ReliableFragment { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub fragment_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub total_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | pub operation_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReliableFragment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_name`, `source_address`, `destination_address`, and `length` are never read [INFO] [stdout] --> src/packet_sniffer/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UdpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | pub interface_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub source_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub source_port: u16, [INFO] [stdout] 25 | pub destination_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub destination_port: u16, [INFO] [stdout] 27 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpPacket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `crc_enabled`, `timestamp`, and `challenge` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PhotonHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | pub peer_id: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub crc_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub command_count: u8, [INFO] [stdout] 30 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub challenge: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhotonHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel_id`, `flags`, `reserved_byte`, and `reliable_sequence_number` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ReliableCommand { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 41 | pub channel_id: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub reserved_byte: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub msg_len: u32, [INFO] [stdout] 45 | pub reliable_sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReliableCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unknown` is never read [INFO] [stdout] --> src/photon_decode/layout.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct UnreliableCommand { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 54 | pub reliable_command: ReliableCommand, [INFO] [stdout] 55 | pub unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fragment_number`, `total_length`, and `operation_length` are never read [INFO] [stdout] --> src/photon_decode/layout.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ReliableFragment { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub fragment_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub total_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | pub operation_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReliableFragment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aoaddons v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c75a709fe48066c5d15d5a736badd880e50037a1a4de2815ba1bfdc2ca52fbb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c75a709fe48066c5d15d5a736badd880e50037a1a4de2815ba1bfdc2ca52fbb1", kill_on_drop: false }` [INFO] [stdout] c75a709fe48066c5d15d5a736badd880e50037a1a4de2815ba1bfdc2ca52fbb1