[INFO] cloning repository https://github.com/koivunej/readpcap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koivunej/readpcap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoivunej%2Freadpcap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoivunej%2Freadpcap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aafc6d9e031a62cbf7ee9ef297d655e65c1d6e74 [INFO] checking koivunej/readpcap against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoivunej%2Freadpcap" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koivunej/readpcap on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koivunej/readpcap [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/koivunej/readpcap [INFO] tweaked toml for git repo https://github.com/koivunej/readpcap written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/koivunej/readpcap 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/koivunej/eventstore-tcp.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/koivunej/tokio-proto.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-into-owned v0.1.0 [INFO] [stderr] Downloaded uuid v0.2.3 [INFO] [stderr] Downloaded bytes v0.4.3 [INFO] [stderr] Downloaded quick-protobuf v0.5.0 [INFO] [stderr] Downloaded tokio-io v0.1.1 [INFO] [stderr] Downloaded gcc v0.3.49 [INFO] [stderr] Downloaded futures v0.1.13 [INFO] [stderr] Downloaded tokio-core v0.1.7 [INFO] [stderr] Downloaded mio v0.6.8 [INFO] [stderr] Downloaded backtrace-sys v0.1.11 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cc49833f66940b26c0dda2beb1ea193bd56311ad38511858f2a736cd9234119 [INFO] running `Command { std: "docker" "start" "-a" "8cc49833f66940b26c0dda2beb1ea193bd56311ad38511858f2a736cd9234119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cc49833f66940b26c0dda2beb1ea193bd56311ad38511858f2a736cd9234119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc49833f66940b26c0dda2beb1ea193bd56311ad38511858f2a736cd9234119", kill_on_drop: false }` [INFO] [stdout] 8cc49833f66940b26c0dda2beb1ea193bd56311ad38511858f2a736cd9234119 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b26c342a5a0c1bab1ba55a4ab0401019c76ea5291c64281743c106581348355a [INFO] running `Command { std: "docker" "start" "-a" "b26c342a5a0c1bab1ba55a4ab0401019c76ea5291c64281743c106581348355a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Compiling gcc v0.3.49 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Checking mio v0.6.8 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.7 [INFO] [stderr] Checking readpcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] 293 + self.format_ascii(fmt, count - group_len * groups_per_line, count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:322:36 [INFO] [stdout] | [INFO] [stdout] 322 | self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] 322 + self.format_ascii(fmt, count - (count % bytes_per_line), count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive-into-owned v0.1.0 [INFO] [stderr] Compiling derive_more v0.6.2 [INFO] [stdout] warning: fields `major` and `minor` are never read [INFO] [stdout] --> src/pcap.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | major: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | minor: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `local_offset_seconds`, `sigfigs`, and `snaplen` are never read [INFO] [stdout] --> src/pcap.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct GlobalHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | local_offset_seconds: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | sigfigs: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | snaplen: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/tcp/connection.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SynAck(u32, u32, u32, u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are 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] 42 | SynAck(u32, (), u32, u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp/connection.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed(u32, u32), [INFO] [stdout] | ------------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hexdump` is never constructed [INFO] [stdout] --> src/tcp/connection.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct Hexdump<'x> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_ascii` is never used [INFO] [stdout] --> src/tcp/connection.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'x> Hexdump<'x> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 244 | fn format_ascii(&self, fmt: &mut fmt::Formatter, start: usize, end: usize) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-proto v0.1.1 (https://github.com/koivunej/tokio-proto.git?branch=generic-requestid#15312a57) [INFO] [stderr] Checking backtrace v0.3.2 [INFO] [stderr] Checking error-chain v0.8.1 [INFO] [stderr] Checking quick-protobuf v0.5.0 [INFO] [stderr] Checking eventstore-tcp v0.2.0 (https://github.com/koivunej/eventstore-tcp.git#447d86b9) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] 293 + self.format_ascii(fmt, count - group_len * groups_per_line, count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:322:36 [INFO] [stdout] | [INFO] [stdout] 322 | self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] 322 + self.format_ascii(fmt, count - (count % bytes_per_line), count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/read-eventstore_tcp-pcap.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut connection = if connections.contains_key(&key.wrapped()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `major` and `minor` are never read [INFO] [stdout] --> src/pcap.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | major: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | minor: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `local_offset_seconds`, `sigfigs`, and `snaplen` are never read [INFO] [stdout] --> src/pcap.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct GlobalHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | local_offset_seconds: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | sigfigs: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | snaplen: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/tcp/connection.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SynAck(u32, u32, u32, u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are 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] 42 | SynAck(u32, (), u32, u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp/connection.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed(u32, u32), [INFO] [stdout] | ------------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hexdump` is never constructed [INFO] [stdout] --> src/tcp/connection.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct Hexdump<'x> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_ascii` is never used [INFO] [stdout] --> src/tcp/connection.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'x> Hexdump<'x> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 244 | fn format_ascii(&self, fmt: &mut fmt::Formatter, start: usize, end: usize) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [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" "b26c342a5a0c1bab1ba55a4ab0401019c76ea5291c64281743c106581348355a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26c342a5a0c1bab1ba55a4ab0401019c76ea5291c64281743c106581348355a", kill_on_drop: false }` [INFO] [stdout] b26c342a5a0c1bab1ba55a4ab0401019c76ea5291c64281743c106581348355a [INFO] checking koivunej/readpcap against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoivunej%2Freadpcap" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koivunej/readpcap on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koivunej/readpcap [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/koivunej/readpcap [INFO] tweaked toml for git repo https://github.com/koivunej/readpcap written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/koivunej/readpcap 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fefd28f5f9ce371ccbe31959124fb8ea04cf9885e0fd3584522ce50a520c2da0 [INFO] running `Command { std: "docker" "start" "-a" "fefd28f5f9ce371ccbe31959124fb8ea04cf9885e0fd3584522ce50a520c2da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fefd28f5f9ce371ccbe31959124fb8ea04cf9885e0fd3584522ce50a520c2da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefd28f5f9ce371ccbe31959124fb8ea04cf9885e0fd3584522ce50a520c2da0", kill_on_drop: false }` [INFO] [stdout] fefd28f5f9ce371ccbe31959124fb8ea04cf9885e0fd3584522ce50a520c2da0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4914e587b1fa5d860f47b2a106372fe1c3be9f9d3469b0d9af4b39865701d22 [INFO] running `Command { std: "docker" "start" "-a" "d4914e587b1fa5d860f47b2a106372fe1c3be9f9d3469b0d9af4b39865701d22", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Compiling gcc v0.3.49 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Checking mio v0.6.8 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.7 [INFO] [stderr] Checking readpcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stdout] 293 + self.format_ascii(fmt, count - group_len * groups_per_line, count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/tcp/connection.rs:322:36 [INFO] [stdout] | [INFO] [stdout] 322 | self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stdout] 322 + self.format_ascii(fmt, count - (count % bytes_per_line), count)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `major` and `minor` are never read [INFO] [stdout] --> src/pcap.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | major: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | minor: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `local_offset_seconds`, `sigfigs`, and `snaplen` are never read [INFO] [stdout] --> src/pcap.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct GlobalHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | local_offset_seconds: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | sigfigs: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | snaplen: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/tcp/connection.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SynAck(u32, u32, u32, u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are 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] 42 | SynAck(u32, (), u32, u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp/connection.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed(u32, u32), [INFO] [stdout] | ------------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 44 | ClientClosed((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hexdump` is never constructed [INFO] [stdout] --> src/tcp/connection.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | struct Hexdump<'x> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_ascii` is never used [INFO] [stdout] --> src/tcp/connection.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'x> Hexdump<'x> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 244 | fn format_ascii(&self, fmt: &mut fmt::Formatter, start: usize, end: usize) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/connection.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 157 | fn new(connection: Connection, client_decoder: D, server_decoder: D) -> Self { [INFO] [stdout] | ----------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | client_side: ConnectionData::new(Direction::ClientServer, client_decoder), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/connection.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 157 | fn new(connection: Connection, client_decoder: D, server_decoder: D) -> Self { [INFO] [stdout] | ----------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | server_side: ConnectionData::new(Direction::ServerClient, server_decoder), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/connection.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 207 | fn new(direction: Direction, decoder: D) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | buffer: BytesMut::with_capacity(65536), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `readpcap` (lib) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d4914e587b1fa5d860f47b2a106372fe1c3be9f9d3469b0d9af4b39865701d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4914e587b1fa5d860f47b2a106372fe1c3be9f9d3469b0d9af4b39865701d22", kill_on_drop: false }` [INFO] [stdout] d4914e587b1fa5d860f47b2a106372fe1c3be9f9d3469b0d9af4b39865701d22