[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#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeisukehayano%2Fpacket-capture-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/keisukehayano/packet-capture-rust on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet v0.28.0 [INFO] [stderr] Downloaded pnet_packet v0.28.0 [INFO] [stderr] Downloaded pnet_transport v0.28.0 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded pnet_base v0.28.0 [INFO] [stderr] Downloaded pnet_datalink v0.28.0 [INFO] [stderr] Downloaded pnet_macros v0.28.0 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded pnet_macros_support v0.28.0 [INFO] [stderr] Downloaded pnet_sys v0.28.0 [INFO] [stderr] Downloaded libc v0.2.101 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d94f60cb340db265efa8d37f476cb69e65ec162414f3a55f7f0ecaa581cceb90 [INFO] running `Command { std: "docker" "start" "-a" "d94f60cb340db265efa8d37f476cb69e65ec162414f3a55f7f0ecaa581cceb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d94f60cb340db265efa8d37f476cb69e65ec162414f3a55f7f0ecaa581cceb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94f60cb340db265efa8d37f476cb69e65ec162414f3a55f7f0ecaa581cceb90", kill_on_drop: false }` [INFO] [stdout] d94f60cb340db265efa8d37f476cb69e65ec162414f3a55f7f0ecaa581cceb90 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3b5f35bca1c8a3ade1ce7d165753cf2cb15b164b1e099c1e15d9c485464f575 [INFO] running `Command { std: "docker" "start" "-a" "c3b5f35bca1c8a3ade1ce7d165753cf2cb15b164b1e099c1e15d9c485464f575", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking pnet_base v0.28.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking pnet_macros_support v0.28.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.93s [INFO] running `Command { std: "docker" "inspect" "c3b5f35bca1c8a3ade1ce7d165753cf2cb15b164b1e099c1e15d9c485464f575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b5f35bca1c8a3ade1ce7d165753cf2cb15b164b1e099c1e15d9c485464f575", kill_on_drop: false }` [INFO] [stdout] c3b5f35bca1c8a3ade1ce7d165753cf2cb15b164b1e099c1e15d9c485464f575