[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] testing keisukehayano/packet-capture-rust against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeisukehayano%2Fpacket-capture-rust" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keisukehayano/packet-capture-rust on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-21/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: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb3a25e7cab1486f2385f6922aedda2413690745a8a68a5502deeac8f34dd2bc [INFO] running `Command { std: "docker" "start" "-a" "eb3a25e7cab1486f2385f6922aedda2413690745a8a68a5502deeac8f34dd2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb3a25e7cab1486f2385f6922aedda2413690745a8a68a5502deeac8f34dd2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3a25e7cab1486f2385f6922aedda2413690745a8a68a5502deeac8f34dd2bc", kill_on_drop: false }` [INFO] [stdout] eb3a25e7cab1486f2385f6922aedda2413690745a8a68a5502deeac8f34dd2bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bf27ba34b3f268a97c0627fb62ca65bfdcffa8d72f906e208c40bf8acd46282 [INFO] running `Command { std: "docker" "start" "-a" "3bf27ba34b3f268a97c0627fb62ca65bfdcffa8d72f906e208c40bf8acd46282", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling pnet_base v0.28.0 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Compiling pnet_macros_support v0.28.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pnet_sys v0.28.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling pnet_datalink v0.28.0 [INFO] [stderr] Compiling pnet_macros v0.28.0 [INFO] [stderr] Compiling pnet_packet v0.28.0 [INFO] [stderr] Compiling pnet_transport v0.28.0 [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn tcp_handler(packet: &GettableEndPoints) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn udp_handler(packet: &GettableEndPoints) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.50s [INFO] running `Command { std: "docker" "inspect" "3bf27ba34b3f268a97c0627fb62ca65bfdcffa8d72f906e208c40bf8acd46282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf27ba34b3f268a97c0627fb62ca65bfdcffa8d72f906e208c40bf8acd46282", kill_on_drop: false }` [INFO] [stdout] 3bf27ba34b3f268a97c0627fb62ca65bfdcffa8d72f906e208c40bf8acd46282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1e5f9e12e686791bd56bfdd70fe01d176087d965b5638081fe0318894d48ba8 [INFO] running `Command { std: "docker" "start" "-a" "a1e5f9e12e686791bd56bfdd70fe01d176087d965b5638081fe0318894d48ba8", kill_on_drop: false }` [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn tcp_handler(packet: &GettableEndPoints) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn udp_handler(packet: &GettableEndPoints) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "a1e5f9e12e686791bd56bfdd70fe01d176087d965b5638081fe0318894d48ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e5f9e12e686791bd56bfdd70fe01d176087d965b5638081fe0318894d48ba8", kill_on_drop: false }` [INFO] [stdout] a1e5f9e12e686791bd56bfdd70fe01d176087d965b5638081fe0318894d48ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c8e87e45fc4ffed93286702b0977a5ce33ab69feb0a85f8b107f29dc03428c1 [INFO] running `Command { std: "docker" "start" "-a" "9c8e87e45fc4ffed93286702b0977a5ce33ab69feb0a85f8b107f29dc03428c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | fn tcp_handler(packet: &GettableEndPoints) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn tcp_handler(packet: &GettableEndPoints) { [INFO] [stderr] 56 + fn tcp_handler(packet: &dyn GettableEndPoints) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | fn udp_handler(packet: &GettableEndPoints) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - fn udp_handler(packet: &GettableEndPoints) { [INFO] [stderr] 66 + fn udp_handler(packet: &dyn GettableEndPoints) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:76:27 [INFO] [stderr] | [INFO] [stderr] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stderr] 76 + fn print_packet_info(l3: &dyn GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:76:51 [INFO] [stderr] | [INFO] [stderr] 76 | fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - fn print_packet_info(l3: &GettableEndPoints, l4: &GettableEndPoints, proto: &str) { [INFO] [stderr] 76 + fn print_packet_info(l3: &GettableEndPoints, l4: &dyn GettableEndPoints, proto: &str) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `packet-capture-rust` (bin "packet-capture-rust" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/packet_capture_rust-e5665dfebf32dd3c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c8e87e45fc4ffed93286702b0977a5ce33ab69feb0a85f8b107f29dc03428c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8e87e45fc4ffed93286702b0977a5ce33ab69feb0a85f8b107f29dc03428c1", kill_on_drop: false }` [INFO] [stdout] 9c8e87e45fc4ffed93286702b0977a5ce33ab69feb0a85f8b107f29dc03428c1