[INFO] cloning repository https://github.com/keisukehayano/packet-capture-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keisukehayano/packet-capture-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeisukehayano%2Fpacket-capture-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeisukehayano%2Fpacket-capture-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ced4e57660bf367b3e40e41990efbb5b7cf1b4f4 [INFO] checking keisukehayano/packet-capture-rust against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeisukehayano%2Fpacket-capture-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keisukehayano/packet-capture-rust on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keisukehayano/packet-capture-rust [INFO] finished tweaking git repo https://github.com/keisukehayano/packet-capture-rust [INFO] tweaked toml for git repo https://github.com/keisukehayano/packet-capture-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/keisukehayano/packet-capture-rust 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_macros_support v0.28.0 [INFO] [stderr] Downloaded pnet_macros v0.28.0 [INFO] [stderr] Downloaded pnet_sys v0.28.0 [INFO] [stderr] Downloaded pnet v0.28.0 [INFO] [stderr] Downloaded pnet_base v0.28.0 [INFO] [stderr] Downloaded pnet_transport v0.28.0 [INFO] [stderr] Downloaded pnet_datalink v0.28.0 [INFO] [stderr] Downloaded pnet_packet v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1023ac7b153fd8c89e3258c7ca936832df66fb274b773ba0b6ca7b27790c678 [INFO] running `Command { std: "docker" "start" "-a" "a1023ac7b153fd8c89e3258c7ca936832df66fb274b773ba0b6ca7b27790c678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1023ac7b153fd8c89e3258c7ca936832df66fb274b773ba0b6ca7b27790c678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1023ac7b153fd8c89e3258c7ca936832df66fb274b773ba0b6ca7b27790c678", kill_on_drop: false }` [INFO] [stdout] a1023ac7b153fd8c89e3258c7ca936832df66fb274b773ba0b6ca7b27790c678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb59ffbd07dfe9ad830d33618b2a4538ed1dc0326c00a13013c4702fc0eb4481 [INFO] running `Command { std: "docker" "start" "-a" "eb59ffbd07dfe9ad830d33618b2a4538ed1dc0326c00a13013c4702fc0eb4481", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking pnet_base v0.28.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking pnet_macros_support v0.28.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking pnet_sys v0.28.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking pnet_datalink v0.28.0 [INFO] [stderr] Compiling pnet_macros v0.28.0 [INFO] [stderr] Checking pnet_packet v0.28.0 [INFO] [stderr] Checking pnet_transport v0.28.0 [INFO] [stderr] Checking packet-capture-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | fn tcp_handler(packet: &GettableEndPoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn tcp_handler(packet: &dyn GettableEndPoints) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn udp_handler(packet: &GettableEndPoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn udp_handler(packet: &dyn GettableEndPoints) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &dyn GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &dyn GettableEndPoints, proto: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | fn tcp_handler(packet: &GettableEndPoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn tcp_handler(packet: &dyn GettableEndPoints) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn udp_handler(packet: &GettableEndPoints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn udp_handler(packet: &dyn GettableEndPoints) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &dyn GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &dyn GettableEndPoints, proto: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.71s [INFO] running `Command { std: "docker" "inspect" "eb59ffbd07dfe9ad830d33618b2a4538ed1dc0326c00a13013c4702fc0eb4481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb59ffbd07dfe9ad830d33618b2a4538ed1dc0326c00a13013c4702fc0eb4481", kill_on_drop: false }` [INFO] [stdout] eb59ffbd07dfe9ad830d33618b2a4538ed1dc0326c00a13013c4702fc0eb4481