[INFO] cloning repository https://github.com/Akmot9/the_wire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akmot9/the_wire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkmot9%2Fthe_wire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkmot9%2Fthe_wire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1557a1949b5405e7b544aff3c6350a7689ee4bb [INFO] checking Akmot9/the_wire/d1557a1949b5405e7b544aff3c6350a7689ee4bb against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkmot9%2Fthe_wire" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Akmot9/the_wire 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 git repo https://github.com/Akmot9/the_wire [INFO] finished tweaking git repo https://github.com/Akmot9/the_wire [INFO] tweaked toml for git repo https://github.com/Akmot9/the_wire written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Akmot9/the_wire 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 32a15314f4a041ee77add8d21c9544f0e42b8f7f97e4f157d79f56d6e25b5a6e [INFO] running `Command { std: "docker" "start" "-a" "32a15314f4a041ee77add8d21c9544f0e42b8f7f97e4f157d79f56d6e25b5a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a15314f4a041ee77add8d21c9544f0e42b8f7f97e4f157d79f56d6e25b5a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a15314f4a041ee77add8d21c9544f0e42b8f7f97e4f157d79f56d6e25b5a6e", kill_on_drop: false }` [INFO] [stdout] 32a15314f4a041ee77add8d21c9544f0e42b8f7f97e4f157d79f56d6e25b5a6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7eba11ab9b258b2a57bf04489724bb4abd23d2e539700d1e3b1e74f7986b03c0 [INFO] running `Command { std: "docker" "start" "-a" "7eba11ab9b258b2a57bf04489724bb4abd23d2e539700d1e3b1e74f7986b03c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pnet_sys v0.35.0 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking simple-dns v0.7.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling tls-parser v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling nom-derive-impl v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking nom-derive v0.10.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking pnet_base v0.35.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking pnet_macros_support v0.35.0 [INFO] [stderr] Checking pnet_datalink v0.35.0 [INFO] [stderr] Checking pnet_packet v0.35.0 [INFO] [stderr] Checking pnet_transport v0.35.0 [INFO] [stderr] Checking sniffer_parser v0.1.0 (/opt/rustwide/workdir/sniffer_parser) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> sniffer_parser/src/serializable_packet/application.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::modbus::{self, ModbusPacket}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_ip` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | source_ip: IpAddr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_port` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | source_port: u16, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_ip` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dest_ip: IpAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_port` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dest_port: u16, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let transaction_id = u16::from_be_bytes(payload[0..2].try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol_id` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let protocol_id = u16::from_be_bytes(payload[2..4].try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> sniffer_parser/src/application/modbus.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let length = u16::from_be_bytes(payload[4..6].try_into().unwrap()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sniffer_parser/src/application/http.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | TransferEncodingMalformed(String), [INFO] [stdout] | ------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HttpParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | TransferEncodingMalformed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> sniffer_parser/src/application/http.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | DecodingPayloadFailed(String, String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HttpParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | DecodingPayloadFailed(String, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> sniffer_parser/src/application/http.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | UnknownDecodingAlgorithm(String, String), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HttpParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | UnknownDecodingAlgorithm(String, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking packet_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.92s [INFO] running `Command { std: "docker" "inspect" "7eba11ab9b258b2a57bf04489724bb4abd23d2e539700d1e3b1e74f7986b03c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eba11ab9b258b2a57bf04489724bb4abd23d2e539700d1e3b1e74f7986b03c0", kill_on_drop: false }` [INFO] [stdout] 7eba11ab9b258b2a57bf04489724bb4abd23d2e539700d1e3b1e74f7986b03c0