[INFO] cloning repository https://github.com/marcuspat/netrain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcuspat/netrain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fnetrain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fnetrain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a21fc0fc022cd3c1e595376dc92b3b9e18257df2 [INFO] testing marcuspat/netrain against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuspat%2Fnetrain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcuspat/netrain [INFO] finished tweaking git repo https://github.com/marcuspat/netrain [INFO] tweaked toml for git repo https://github.com/marcuspat/netrain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcuspat/netrain on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcuspat/netrain 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fragile v2.0.1 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded stability v0.1.1 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded pcap v1.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded ratatui v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8abe8f20411e5cd37fc9f5f1d6e27277dd35b0e7c58f34cbbb5225312d0788c8 [INFO] running `Command { std: "docker" "start" "-a" "8abe8f20411e5cd37fc9f5f1d6e27277dd35b0e7c58f34cbbb5225312d0788c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8abe8f20411e5cd37fc9f5f1d6e27277dd35b0e7c58f34cbbb5225312d0788c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abe8f20411e5cd37fc9f5f1d6e27277dd35b0e7c58f34cbbb5225312d0788c8", kill_on_drop: false }` [INFO] [stdout] 8abe8f20411e5cd37fc9f5f1d6e27277dd35b0e7c58f34cbbb5225312d0788c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa7e4981dc83370b0c1fffdb90078c4395a8adaec1aabd3ca9594c299d33a40 [INFO] running `Command { std: "docker" "start" "-a" "9fa7e4981dc83370b0c1fffdb90078c4395a8adaec1aabd3ca9594c299d33a40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pcap v1.3.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling netrain v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimized.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "9fa7e4981dc83370b0c1fffdb90078c4395a8adaec1aabd3ca9594c299d33a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa7e4981dc83370b0c1fffdb90078c4395a8adaec1aabd3ca9594c299d33a40", kill_on_drop: false }` [INFO] [stdout] 9fa7e4981dc83370b0c1fffdb90078c4395a8adaec1aabd3ca9594c299d33a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35f66ec0d4e22f7d94e56ae8f6244439e6173fbfcd32bfd4356643e70a346f2 [INFO] running `Command { std: "docker" "start" "-a" "e35f66ec0d4e22f7d94e56ae8f6244439e6173fbfcd32bfd4356643e70a346f2", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling pcap v1.3.0 [INFO] [stderr] Compiling netrain v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimized.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimized.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "e35f66ec0d4e22f7d94e56ae8f6244439e6173fbfcd32bfd4356643e70a346f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35f66ec0d4e22f7d94e56ae8f6244439e6173fbfcd32bfd4356643e70a346f2", kill_on_drop: false }` [INFO] [stdout] e35f66ec0d4e22f7d94e56ae8f6244439e6173fbfcd32bfd4356643e70a346f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dd2a37eea782be2114f92536d2a0e6f0c3ab4e7b8ebbfccdad7c6ca2884cf1c [INFO] running `Command { std: "docker" "start" "-a" "2dd2a37eea782be2114f92536d2a0e6f0c3ab4e7b8ebbfccdad7c6ca2884cf1c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/optimized.rs:87:38 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 87 | pub fn parse_packet_zero_alloc(data: &[u8]) -> Result, Box> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `netrain` (lib) generated 1 warning (run `cargo fix --lib -p netrain` to apply 1 suggestion) [INFO] [stderr] warning: `netrain` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/netrain-e042dfe110469154) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test tests::matrix_rain_tests::test_column_management_add ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_fall_speed_with_threat ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_character_fade_to_zero ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_rain_density_high_traffic ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_character_fade ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_column_management_remove_faded ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_rain_density_normal ... ok [INFO] [stdout] test tests::packet_tests::test_extract_protocol_tcp ... ok [INFO] [stdout] test tests::packet_tests::test_extract_protocol_udp ... ok [INFO] [stdout] test tests::packet_tests::test_parse_packet_with_empty_data ... ok [INFO] [stdout] test tests::packet_tests::test_parse_packet_with_valid_data ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_http_port_based ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_http_packet ... ok [INFO] [stdout] test tests::packet_tests::test_validate_packet_checksum ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_https_packet ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_ssh_packet ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_https_port_based ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_ssh_port_based ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_tcp_packet ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_udp_packet ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_protocol_statistics ... ok [INFO] [stdout] test tests::threat_detection_tests::test_anomaly_detection_malformed_packet ... ok [INFO] [stdout] test tests::threat_detection_tests::test_anomaly_detection_unusual_port ... ok [INFO] [stdout] test tests::threat_detection_tests::test_ddos_detection_normal_traffic ... ok [INFO] [stdout] test tests::threat_detection_tests::test_ddos_detection_syn_flood ... ok [INFO] [stdout] test tests::threat_detection_tests::test_port_scan_detection_negative ... ok [INFO] [stdout] test tests::threat_detection_tests::test_port_scan_detection_positive ... ok [INFO] [stdout] test tests::threat_detection_tests::test_threat_aggregation ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_unknown_protocol ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_dns_query ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_fall_speed_calculation ... ok [INFO] [stdout] test tests::matrix_rain_tests::test_rain_density_negative_traffic - should panic ... ok [INFO] [stdout] test tests::protocol_classification_tests::test_classify_with_invalid_size - should panic ... ok [INFO] [stdout] test tests::threat_detection_tests::test_uninitialized_detector - should panic ... ok [INFO] [stdout] test tests::packet_tests::test_validate_packet_invalid_length - should panic ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/netrain-bc8c7c86b606b0af) [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-ecf1f591cbd3f4e5) [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] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test e2e_workflow_tests::test_packet_capture_to_ui_workflow ... ok [INFO] [stdout] test e2e_workflow_tests::test_threat_response_workflow ... ok [INFO] [stdout] test matrix_rain_integration::test_rain_density_calculation ... ok [INFO] [stdout] test matrix_rain_integration::test_rain_manager_workflow ... ok [INFO] [stdout] test mock_pcap_tests::test_mock_pcap_threat_detection ... ok [INFO] [stdout] test packet_parsing_integration::test_parse_empty_packet ... ok [INFO] [stdout] test mock_pcap_tests::test_mock_pcap_capture_workflow ... ok [INFO] [stdout] test packet_parsing_integration::test_http_method_extraction ... ok [INFO] [stdout] test matrix_rain_integration::test_character_fade ... ok [INFO] [stdout] test packet_parsing_integration::test_parse_packet_workflow ... ok [INFO] [stdout] test packet_parsing_integration::test_protocol_classification_workflow ... ok [INFO] [stdout] test packet_parsing_integration::test_tls_handshake_detection ... ok [INFO] [stdout] test matrix_rain_integration::test_rain_column_fall_speed ... ok [INFO] [stdout] test protocol_statistics_integration::test_protocol_stats_workflow ... ok [INFO] [stdout] test threat_detection_integration::test_anomaly_detection_workflow ... ok [INFO] [stdout] test protocol_statistics_integration::test_empty_stats ... ok [INFO] [stdout] test threat_detection_integration::test_port_scan_detection_workflow ... ok [INFO] [stdout] test threat_detection_integration::test_threat_level_aggregation ... ok [INFO] [stdout] test packet_parsing_integration::test_dns_query_extraction ... ok [INFO] [stdout] test threat_detection_integration::test_syn_flood_detection_workflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/matrix_rain_tests.rs (/opt/rustwide/target/debug/deps/matrix_rain_tests-8d722ab00f894e7e) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_add_rain_column ... ok [INFO] [stdout] test test_character_fade_over_time ... ignored, Test requires MatrixRain::get_column() which is not available in current implementation [INFO] [stdout] test test_matrix_rain_fall_speed ... ignored, Test requires MatrixRain::get_column() which is not available in current implementation [INFO] [stdout] test test_matrix_rain_update ... ignored, Test requires MatrixRain::get_column() which is not available in current implementation [INFO] [stdout] test test_remove_rain_column ... ignored, Test requires MatrixRain::get_column() which is not available in current implementation [INFO] [stdout] test test_matrix_rain_with_empty_traffic ... ok [INFO] [stdout] test test_matrix_rain_render ... ok [INFO] [stdout] test test_rain_density_based_on_traffic ... ok [INFO] [stdout] test test_matrix_rain_performance ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_matrix_rain_performance stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_matrix_rain_performance' (76) panicked at tests/matrix_rain_tests.rs:210:5: [INFO] [stdout] assertion failed: ms_per_update < 5.0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x580a26df740a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x580a26df740a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x580a26df740a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x580a26df740a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x580a26e0b91a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x580a26e0b91a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x580a26dfbc92 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x580a26dfbc92 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x580a26dd662f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x580a26dd662f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x580a26def979 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x580a26d2ff1c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x580a26d2ff1c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x580a26defb32 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x580a26defb32 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x580a26dd671a - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x580a26dcb8f9 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x580a26dd73fd - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x580a26e0c06c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x580a26e0c032 - core[fa0eadad68403074]::panicking::panic [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x580a26d201d4 - matrix_rain_tests[2651ecb0355c0673]::test_matrix_rain_performance [INFO] [stdout] at /opt/rustwide/workdir/tests/matrix_rain_tests.rs:210:5 [INFO] [stdout] 21: 0x580a26d1ea57 - matrix_rain_tests[2651ecb0355c0673]::test_matrix_rain_performance::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/matrix_rain_tests.rs:188:34 [INFO] [stdout] 22: 0x580a26d23e76 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x580a26d23ffb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x580a26d23ffb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x580a26d309eb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x580a26d309eb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 27: 0x580a26d309eb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x580a26d309eb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x580a26d309eb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x580a26d309eb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x580a26d309eb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x580a26d2ae44 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x580a26d2ae44 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x580a26d335f2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 35: 0x580a26d335f2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 36: 0x580a26d335f2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 37: 0x580a26d335f2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x580a26d335f2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x580a26d335f2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 40: 0x580a26d335f2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x580a26df6d1f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 42: 0x580a26df6d1f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 43: 0x79f17d0bbaa4 - [INFO] [stdout] 44: 0x79f17d148a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_matrix_rain_performance [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test matrix_rain_tests` [INFO] running `Command { std: "docker" "inspect" "2dd2a37eea782be2114f92536d2a0e6f0c3ab4e7b8ebbfccdad7c6ca2884cf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd2a37eea782be2114f92536d2a0e6f0c3ab4e7b8ebbfccdad7c6ca2884cf1c", kill_on_drop: false }` [INFO] [stdout] 2dd2a37eea782be2114f92536d2a0e6f0c3ab4e7b8ebbfccdad7c6ca2884cf1c