[INFO] cloning repository https://github.com/For-Sunny/SENTINEL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/For-Sunny/SENTINEL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFor-Sunny%2FSENTINEL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFor-Sunny%2FSENTINEL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfffadd7f629755b8a277a48ef77096163efe2c9 [INFO] testing For-Sunny/SENTINEL against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFor-Sunny%2FSENTINEL" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/For-Sunny/SENTINEL [INFO] finished tweaking git repo https://github.com/For-Sunny/SENTINEL [INFO] tweaked toml for git repo https://github.com/For-Sunny/SENTINEL written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/For-Sunny/SENTINEL on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/For-Sunny/SENTINEL 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 880ce496e652a205409c474250664dcbec8894ce64e1c647c1457230b6733337 [INFO] running `Command { std: "docker" "start" "-a" "880ce496e652a205409c474250664dcbec8894ce64e1c647c1457230b6733337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "880ce496e652a205409c474250664dcbec8894ce64e1c647c1457230b6733337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "880ce496e652a205409c474250664dcbec8894ce64e1c647c1457230b6733337", kill_on_drop: false }` [INFO] [stdout] 880ce496e652a205409c474250664dcbec8894ce64e1c647c1457230b6733337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4683454ba3cbdc6efe4d560924468863092b0b3871bc0ca60ea224226fbc2935 [INFO] running `Command { std: "docker" "start" "-a" "4683454ba3cbdc6efe4d560924468863092b0b3871bc0ca60ea224226fbc2935", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tree-sitter-language v0.1.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling supports-hyperlinks v3.2.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling sentinel v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.16s [INFO] running `Command { std: "docker" "inspect" "4683454ba3cbdc6efe4d560924468863092b0b3871bc0ca60ea224226fbc2935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4683454ba3cbdc6efe4d560924468863092b0b3871bc0ca60ea224226fbc2935", kill_on_drop: false }` [INFO] [stdout] 4683454ba3cbdc6efe4d560924468863092b0b3871bc0ca60ea224226fbc2935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfab6b94969789def8e021897c9754cb9b54c00380796ae563805feeccf59686 [INFO] running `Command { std: "docker" "start" "-a" "bfab6b94969789def8e021897c9754cb9b54c00380796ae563805feeccf59686", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling insta v1.46.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling sentinel v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_rule` is never used [INFO] [stdout] --> tests/integration/scan_javascript.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn count_rule(result: &ScanResult, rule_id: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 25.65s [INFO] running `Command { std: "docker" "inspect" "bfab6b94969789def8e021897c9754cb9b54c00380796ae563805feeccf59686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfab6b94969789def8e021897c9754cb9b54c00380796ae563805feeccf59686", kill_on_drop: false }` [INFO] [stdout] bfab6b94969789def8e021897c9754cb9b54c00380796ae563805feeccf59686 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5c353c6e4feeefd28d11c5d15b404e6a81863e8bc8a558a03eb1db3783302de [INFO] running `Command { std: "docker" "start" "-a" "a5c353c6e4feeefd28d11c5d15b404e6a81863e8bc8a558a03eb1db3783302de", kill_on_drop: false }` [INFO] [stderr] warning: function `count_rule` is never used [INFO] [stderr] --> tests/integration/scan_javascript.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn count_rule(result: &ScanResult, rule_id: &str) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sentinel` (test "integration") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sentinel-540e4a2ee09d4c57) [INFO] [stdout] [INFO] [stdout] running 126 tests [INFO] [stdout] test cli::args::tests::test_cli_dismiss ... ok [INFO] [stdout] test cli::args::tests::test_cli_scan_alias ... ok [INFO] [stdout] test cli::args::tests::test_severity_ordering ... ok [INFO] [stdout] test cli::args::tests::test_cli_version ... ok [INFO] [stdout] test cli::args::tests::test_global_flags ... ok [INFO] [stdout] test detection::ai_detector::tests::test_generic_names_signal ... ok [INFO] [stdout] test detection::ai_detector::tests::test_analysis_breakdown ... ok [INFO] [stdout] test cli::args::tests::test_cli_scan_defaults ... ok [INFO] [stdout] test detection::ai_detector::tests::test_dangerous_patterns_signal ... ok [INFO] [stdout] test cli::args::tests::test_cli_scan_all_options ... ok [INFO] [stdout] test cli::args::tests::test_cli_learn ... ok [INFO] [stdout] test detection::ai_detector::tests::test_over_documentation_signal ... ok [INFO] [stdout] test detection::ai_detector::tests::test_too_short_content ... ok [INFO] [stdout] test detection::confidence::tests::test_ai_likelihood_boosts_confidence ... ok [INFO] [stdout] test detection::confidence::tests::test_breakdown_matches_compute ... ok [INFO] [stdout] test detection::ai_detector::tests::test_missing_error_handling_signal ... ok [INFO] [stdout] test detection::ai_detector::tests::test_python_ai_code ... ok [INFO] [stdout] test detection::confidence::tests::test_test_context_reduces_confidence ... ok [INFO] [stdout] test detection::confidence::tests::test_low_confidence_rejected ... ok [INFO] [stdout] test detection::confidence::tests::test_max_all_signals ... ok [INFO] [stdout] test detection::tests::test_code_context_extraction ... ok [INFO] [stdout] test detection::confidence::tests::test_unverified_moderate_confidence ... ok [INFO] [stdout] test cli::args::tests::test_cli_init ... ok [INFO] [stdout] test detection::tests::test_location_display ... ok [INFO] [stdout] test detection::tests::test_code_context_at_start ... ok [INFO] [stdout] test detection::tests::test_severity_ordering ... ok [INFO] [stdout] test detection::confidence::tests::test_confidence_range ... ok [INFO] [stdout] test detection::tests::test_language_detection ... ok [INFO] [stdout] test detection::ai_detector::tests::test_detector_creation ... ok [INFO] [stdout] test detection::ai_detector::tests::test_score_bounds ... ok [INFO] [stdout] test detection::ai_detector::tests::test_typical_ai_code ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_line_offset_computation ... ok [INFO] [stdout] test detection::confidence::tests::test_zero_confidence_candidate ... ok [INFO] [stdout] test detection::ai_detector::tests::test_typical_human_code ... ok [INFO] [stdout] test detection::ai_detector::tests::test_uniform_density_signal ... ok [INFO] [stdout] test detection::confidence::tests::test_confidence_breakdown_display ... ok [INFO] [stdout] test detection::tests::test_code_context_at_end ... ok [INFO] [stdout] test detection::confidence::tests::test_high_confidence_verified ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_offset_to_line_col ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_crypto_for_cache ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_crypto_in_security_context ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_env_var_not_hardcoded ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_not_test_context ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_placeholder_not_secret ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_safe_wrapper_detection ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_sanitizer_detection ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_test_context_detection ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_unverified_result ... ok [INFO] [stdout] test detection::tier2_ast::tests::test_verifier_creation ... ok [INFO] [stdout] test output::json::tests::test_empty_result ... ok [INFO] [stdout] test output::json::tests::test_json_output_from_result ... ok [INFO] [stdout] test output::json::tests::test_json_serialization_roundtrip ... ok [INFO] [stdout] test output::json::tests::test_json_skip_none_fields ... ok [INFO] [stdout] test output::json::tests::test_path_normalization ... ok [INFO] [stdout] test output::json::tests::test_write_to_buffer ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_confidence_as_rank ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_empty_result ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_fix_present ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_json_valid ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_no_fix_when_none ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_path_normalization ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_result_location ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_rules_deduplication ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_schema_and_version ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_security_scores ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_severity_mapping ... ok [INFO] [stdout] test output::sarif::tests::test_sarif_tool_info ... ok [INFO] [stdout] test output::terminal::tests::test_format_severity ... ok [INFO] [stdout] test output::terminal::tests::test_print_banner_no_panic ... ok [INFO] [stdout] test output::terminal::tests::test_print_finding_no_panic ... ok [INFO] [stdout] test output::terminal::tests::test_print_finding_with_valid_line ... ok [INFO] [stdout] test output::terminal::tests::test_print_summary_empty ... ok [INFO] [stdout] test output::terminal::tests::test_print_summary_with_findings ... ok [INFO] [stdout] test output::terminal::tests::test_print_version_no_panic ... ok [INFO] [stdout] test rules::loader::tests::test_count_rule_files ... ok [INFO] [stdout] test rules::loader::tests::test_disabled_rule_skipped ... ok [INFO] [stdout] test rules::loader::tests::test_loader_category_filter ... ok [INFO] [stdout] test rules::loader::tests::test_loader_empty_dir ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_innerhtml_detection ... ok [INFO] [stdout] test rules::loader::tests::test_loader_nonexistent_dir ... ok [INFO] [stdout] test rules::loader::tests::test_loader_multiple_categories ... ok [INFO] [stdout] test rules::loader::tests::test_loader_skips_invalid ... ok [INFO] [stdout] test rules::loader::tests::test_parse_from_str ... ok [INFO] [stdout] test rules::loader::tests::test_loader_valid_rule ... ok [INFO] [stdout] test rules::registry::tests::test_registry_by_language ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_aws_key_detection ... ok [INFO] [stdout] test rules::registry::tests::test_registry_by_severity ... ok [INFO] [stdout] test rules::registry::tests::test_registry_register_and_get ... ok [INFO] [stdout] test rules::registry::tests::test_registry_disable_enable ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_deduplication ... ok [INFO] [stdout] test rules::registry::tests::test_registry_by_category ... ok [INFO] [stdout] test rules::registry::tests::test_registry_scan_content ... ok [INFO] [stdout] test rules::registry::tests::test_registry_scan_no_match ... ok [INFO] [stdout] test rules::registry::tests::test_registry_severity_override ... ok [INFO] [stdout] test rules::tests::test_deserialize_rule ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_eval_detection ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_python_sqli_fstring ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_sql_injection_template_literal ... ok [INFO] [stdout] test rules::tests::test_severity_ordering ... ok [INFO] [stdout] test tests::test_config_builders ... ok [INFO] [stdout] test tests::test_config_default ... ok [INFO] [stdout] test tests::test_config_should_ignore ... ok [INFO] [stdout] test tests::test_config_supports_extension ... ok [INFO] [stdout] test rules::registry::tests::test_registry_summary ... ok [INFO] [stdout] test tests::test_finding_builder ... ok [INFO] [stdout] test tests::test_finding_confidence_clamp ... ok [INFO] [stdout] test tests::test_scan_result_count_by_severity ... ok [INFO] [stdout] test tests::test_scan_result_merge ... ok [INFO] [stdout] test tests::test_severity_display ... ok [INFO] [stdout] test tests::test_scan_result_exit_code ... ok [INFO] [stdout] test rules::tests::test_compile_rule ... ok [INFO] [stdout] test tests::test_severity_ordering ... ok [INFO] [stdout] test tests::test_severity_exit_codes ... ok [INFO] [stdout] test rules::tests::test_effective_confidence ... ok [INFO] [stdout] test tests::test_version ... ok [INFO] [stdout] test rules::tests::test_matches_line ... ok [INFO] [stdout] test rules::tests::test_find_matches ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_engine_creation ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_pickle_detection ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_math_random_detection ... ok [INFO] [stdout] test detection::tests::test_rule_category_mapping ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_no_false_positives_on_clean_code ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_language_filtering ... ok [INFO] [stdout] test detection::tests::test_detection_engine_no_language ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_hardcoded_secret ... ok [INFO] [stdout] test detection::tier1_pattern::tests::test_sql_injection_concat ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 126 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sentinel-c27feb6c4ab8a1ca) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_cli_parses_init ... ok [INFO] [stdout] test tests::test_cli_parses_learn ... ok [INFO] [stdout] test tests::test_cli_parses_dismiss ... ok [INFO] [stdout] test tests::test_cli_global_quiet_flag ... ok [INFO] [stdout] test tests::test_cli_parses_scan ... ok [INFO] [stdout] test tests::test_cli_scan_with_sarif_format ... ok [INFO] [stdout] test tests::test_cli_parses_version ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-23e96cb8440dcc53) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test integration::scan_javascript::test_scan_nonexistent_file_returns_error ... ok [INFO] [stdout] test integration::scan_javascript::test_js_sqli_vulnerable_finds_sql_injection ... ok [INFO] [stdout] test integration::scan_javascript::test_severity_filtering_works ... ok [INFO] [stdout] test integration::scan_javascript::test_scan_unsupported_extension_returns_empty ... ok [INFO] [stdout] test integration::scan_javascript::test_findings_have_required_fields ... ok [INFO] [stdout] test integration::scan_javascript::test_py_injection_vulnerable_finds_command_injection ... ok [INFO] [stdout] test integration::scan_javascript::test_js_ssti_vulnerable_finds_template_injection ... ok [INFO] [stdout] test integration::scan_javascript::test_js_xss_vulnerable_finds_xss ... ok [INFO] [stdout] test integration::scan_javascript::test_scan_result_has_correct_file_count ... ok [INFO] [stdout] test integration::scan_javascript::test_py_deserialization_vulnerable_finds_unsafe_patterns ... ok [INFO] [stdout] test integration::scan_javascript::test_js_auth_vulnerable_finds_hardcoded_secrets ... ok [INFO] [stdout] test integration::scan_javascript::test_performance_single_file_under_500ms ... FAILED [INFO] [stdout] test integration::scan_javascript::test_ts_ssrf_vulnerable_scans_typescript ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- integration::scan_javascript::test_performance_single_file_under_500ms stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'integration::scan_javascript::test_performance_single_file_under_500ms' (165) panicked at tests/integration/scan_javascript.rs:276:5: [INFO] [stdout] Single file scan should complete in under 500ms, took 720ms [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b5adcfc58f2 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b5adcfc58f2 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b5adcfc58f2 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5b5adcfc58f2 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5b5adcfdcaba - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5b5adcfdcaba - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x5b5adcfca9b6 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b5adcfca9b6 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5b5adcfa1e5f - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5b5adcfa1e5f - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5b5adcfbcd49 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b5adcb4c0ce - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5b5adcb4c0ce - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b5adcfbcf02 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5b5adcfbcf02 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5b5adcfa1f18 - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5b5adcf99709 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5b5adcfa2d6d - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5b5adcfdd27c - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5b5adcb33ba1 - integration[2d24af5494206ce2]::integration::scan_javascript::test_performance_single_file_under_500ms [INFO] [stdout] at /opt/rustwide/workdir/tests/integration/scan_javascript.rs:276:5 [INFO] [stdout] 20: 0x5b5adcb320c7 - integration[2d24af5494206ce2]::integration::scan_javascript::test_performance_single_file_under_500ms::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/integration/scan_javascript.rs:263:46 [INFO] [stdout] 21: 0x5b5adcb36726 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5b5adcb4047b - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5b5adcb4047b - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x5b5adcb4ccda - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x5b5adcb4ccda - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x5b5adcb4ccda - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 27: 0x5b5adcb4ccda - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x5b5adcb4ccda - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x5b5adcb4ccda - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x5b5adcb4ccda - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x5b5adcb48284 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x5b5adcb48284 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 33: 0x5b5adcb4f7d2 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 34: 0x5b5adcb4f7d2 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x5b5adcb4f7d2 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x5b5adcb4f7d2 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x5b5adcb4f7d2 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x5b5adcb4f7d2 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 39: 0x5b5adcb4f7d2 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5b5adcfc4c5f - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 41: 0x5b5adcfc4c5f - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 42: 0x75bd6fd83aa4 - [INFO] [stdout] 43: 0x75bd6fe10a64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] integration::scan_javascript::test_performance_single_file_under_500ms [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.99s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration` [INFO] running `Command { std: "docker" "inspect" "a5c353c6e4feeefd28d11c5d15b404e6a81863e8bc8a558a03eb1db3783302de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c353c6e4feeefd28d11c5d15b404e6a81863e8bc8a558a03eb1db3783302de", kill_on_drop: false }` [INFO] [stdout] a5c353c6e4feeefd28d11c5d15b404e6a81863e8bc8a558a03eb1db3783302de