[INFO] cloning repository https://github.com/aida0710/dos-attack-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aida0710/dos-attack-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faida0710%2Fdos-attack-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faida0710%2Fdos-attack-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c6f34e1e8926466aa948a1aa927f2875aff5976 [INFO] testing aida0710/dos-attack-tool against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faida0710%2Fdos-attack-tool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aida0710/dos-attack-tool [INFO] finished tweaking git repo https://github.com/aida0710/dos-attack-tool [INFO] tweaked toml for git repo https://github.com/aida0710/dos-attack-tool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aida0710/dos-attack-tool on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aida0710/dos-attack-tool 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_base v0.35.0 [INFO] [stderr] Downloaded pnet v0.35.0 [INFO] [stderr] Downloaded pnet_transport v0.35.0 [INFO] [stderr] Downloaded pnet_macros_support v0.35.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded pnet_sys v0.35.0 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded pnet_macros v0.35.0 [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded pnet_datalink v0.35.0 [INFO] [stderr] Downloaded pnet_packet v0.35.0 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded pcap v2.2.0 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded regex-automata v0.4.8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62664cb14066d9ac21dedb7aa8780853d99b33ffc55e92c490d6d15f81ed56e2 [INFO] running `Command { std: "docker" "start" "-a" "62664cb14066d9ac21dedb7aa8780853d99b33ffc55e92c490d6d15f81ed56e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62664cb14066d9ac21dedb7aa8780853d99b33ffc55e92c490d6d15f81ed56e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62664cb14066d9ac21dedb7aa8780853d99b33ffc55e92c490d6d15f81ed56e2", kill_on_drop: false }` [INFO] [stdout] 62664cb14066d9ac21dedb7aa8780853d99b33ffc55e92c490d6d15f81ed56e2 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405263b5779bc484aac11324b1d088ddc26da19d6735925cf7e724383dc9b0fe [INFO] running `Command { std: "docker" "start" "-a" "405263b5779bc484aac11324b1d088ddc26da19d6735925cf7e724383dc9b0fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling pnet_base v0.35.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling pnet_macros_support v0.35.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling pcap v2.2.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pnet_packet v0.35.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pnet_transport v0.35.0 [INFO] [stderr] Compiling dos-attack-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pnet::packet::MutablePacket` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pnet::packet::MutablePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `packet_size`, `ip_next_header_protocol`, and `timeout` are never read [INFO] [stdout] --> src/settings.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SendPacketSettings { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub packet_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub ip_next_header_protocol: IpNextHeaderProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendPacketSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.39s [INFO] running `Command { std: "docker" "inspect" "405263b5779bc484aac11324b1d088ddc26da19d6735925cf7e724383dc9b0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405263b5779bc484aac11324b1d088ddc26da19d6735925cf7e724383dc9b0fe", kill_on_drop: false }` [INFO] [stdout] 405263b5779bc484aac11324b1d088ddc26da19d6735925cf7e724383dc9b0fe [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e41322cb73ccc4364465270a7ec779a5e6e7435c9e2efad1e6915285770d9a6 [INFO] running `Command { std: "docker" "start" "-a" "4e41322cb73ccc4364465270a7ec779a5e6e7435c9e2efad1e6915285770d9a6", kill_on_drop: false }` [INFO] [stderr] Compiling dos-attack-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pnet::packet::MutablePacket` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pnet::packet::MutablePacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `packet_size`, `ip_next_header_protocol`, and `timeout` are never read [INFO] [stdout] --> src/settings.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SendPacketSettings { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub packet_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub ip_next_header_protocol: IpNextHeaderProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendPacketSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "4e41322cb73ccc4364465270a7ec779a5e6e7435c9e2efad1e6915285770d9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e41322cb73ccc4364465270a7ec779a5e6e7435c9e2efad1e6915285770d9a6", kill_on_drop: false }` [INFO] [stdout] 4e41322cb73ccc4364465270a7ec779a5e6e7435c9e2efad1e6915285770d9a6 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59c975052f746ef6bd5db3d28c3a73b93d8a4c45f90cf51e0b64f78b84a76c58 [INFO] running `Command { std: "docker" "start" "-a" "59c975052f746ef6bd5db3d28c3a73b93d8a4c45f90cf51e0b64f78b84a76c58", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `pnet::packet::MutablePacket` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use pnet::packet::MutablePacket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `packet_size`, `ip_next_header_protocol`, and `timeout` are never read [INFO] [stderr] --> src/settings.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct SendPacketSettings { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub packet_size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 22 | pub ip_next_header_protocol: IpNextHeaderProtocol, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 23 | pub timeout: Duration, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SendPacketSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `dos-attack-tool` (bin "dos-attack-tool" test) generated 2 warnings (run `cargo fix --bin "dos-attack-tool" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dos_attack_tool-914f1082e720a72a) [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" "59c975052f746ef6bd5db3d28c3a73b93d8a4c45f90cf51e0b64f78b84a76c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c975052f746ef6bd5db3d28c3a73b93d8a4c45f90cf51e0b64f78b84a76c58", kill_on_drop: false }` [INFO] [stdout] 59c975052f746ef6bd5db3d28c3a73b93d8a4c45f90cf51e0b64f78b84a76c58