[INFO] cloning repository https://github.com/technicalpickles/envsense [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/technicalpickles/envsense" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechnicalpickles%2Fenvsense", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechnicalpickles%2Fenvsense'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c990da4d59d8af6a9e8e34bce45c1590e12776cc [INFO] testing technicalpickles/envsense against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechnicalpickles%2Fenvsense" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/technicalpickles/envsense [INFO] finished tweaking git repo https://github.com/technicalpickles/envsense [INFO] tweaked toml for git repo https://github.com/technicalpickles/envsense written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/technicalpickles/envsense on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/technicalpickles/envsense 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4665c5b6ce367fb2c5bf4ae1d26a4d4e799f234f9b2fcb7ef25edb38ed196b39 [INFO] running `Command { std: "docker" "start" "-a" "4665c5b6ce367fb2c5bf4ae1d26a4d4e799f234f9b2fcb7ef25edb38ed196b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4665c5b6ce367fb2c5bf4ae1d26a4d4e799f234f9b2fcb7ef25edb38ed196b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4665c5b6ce367fb2c5bf4ae1d26a4d4e799f234f9b2fcb7ef25edb38ed196b39", kill_on_drop: false }` [INFO] [stdout] 4665c5b6ce367fb2c5bf4ae1d26a4d4e799f234f9b2fcb7ef25edb38ed196b39 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e057519556790e8cf7794af24b9d9c4cc06a1f2c17f9237762e93f36fe803bf [INFO] running `Command { std: "docker" "start" "-a" "8e057519556790e8cf7794af24b9d9c4cc06a1f2c17f9237762e93f36fe803bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling envsense-macros-impl v0.1.0 (/opt/rustwide/workdir/envsense-macros/envsense-macros-impl) [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling envsense-macros v0.1.0 (/opt/rustwide/workdir/envsense-macros) [INFO] [stderr] Compiling envsense v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.03s [INFO] running `Command { std: "docker" "inspect" "8e057519556790e8cf7794af24b9d9c4cc06a1f2c17f9237762e93f36fe803bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e057519556790e8cf7794af24b9d9c4cc06a1f2c17f9237762e93f36fe803bf", kill_on_drop: false }` [INFO] [stdout] 8e057519556790e8cf7794af24b9d9c4cc06a1f2c17f9237762e93f36fe803bf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e92c8f6c2be8272d24b990ee29a4d80b440c56eb4211fb502a4776d8cc273c7f [INFO] running `Command { std: "docker" "start" "-a" "e92c8f6c2be8272d24b990ee29a4d80b440c56eb4211fb502a4776d8cc273c7f", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling temp-env v0.3.6 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling envsense-macros v0.1.0 (/opt/rustwide/workdir/envsense-macros) [INFO] [stderr] Compiling envsense v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.40s [INFO] running `Command { std: "docker" "inspect" "e92c8f6c2be8272d24b990ee29a4d80b440c56eb4211fb502a4776d8cc273c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92c8f6c2be8272d24b990ee29a4d80b440c56eb4211fb502a4776d8cc273c7f", kill_on_drop: false }` [INFO] [stdout] e92c8f6c2be8272d24b990ee29a4d80b440c56eb4211fb502a4776d8cc273c7f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c27435c15b77717e025ec64176f7e12c1c1eaeafd94a25640b2fbf18f0e691b0 [INFO] running `Command { std: "docker" "start" "-a" "c27435c15b77717e025ec64176f7e12c1c1eaeafd94a25640b2fbf18f0e691b0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/envsense-b41f07b9dae1e309) [INFO] [stdout] [INFO] [stdout] running 93 tests [INFO] [stdout] test check::tests::parse_context ... ok [INFO] [stdout] test detectors::agent_declarative::tests::detects_aider ... ok [INFO] [stdout] test detectors::agent_declarative::tests::detects_replit_host_only ... ok [INFO] [stdout] test check::tests::parse_trait ... ok [INFO] [stdout] test check::tests::parse_facet ... ok [INFO] [stdout] test detectors::agent_declarative::tests::detects_replit_agent ... ok [INFO] [stdout] test check::tests::parse_invalid ... ok [INFO] [stdout] test detectors::agent_declarative::tests::detects_openhands_with_prefix ... ok [INFO] [stdout] test detectors::agent_declarative::tests::respects_override_force_agent ... ok [INFO] [stdout] test detectors::agent_declarative::tests::respects_override_force_human ... ok [INFO] [stdout] test detectors::agent_declarative::tests::detects_cursor_agent ... ok [INFO] [stdout] test agent::tests::table_driven_detection ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_branch ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_github_actions ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_gitlab_ci ... ok [INFO] [stdout] test check::tests::parse_not ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_jenkins ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_pr_status ... ok [INFO] [stdout] test detectors::ci_declarative::tests::no_detection_without_ci ... ok [INFO] [stdout] test detectors::ci_declarative::tests::respects_override_assume_local ... ok [INFO] [stdout] test detectors::ci_declarative::tests::respects_override_disable_ci ... ok [INFO] [stdout] test detectors::ci_declarative::tests::respects_override_force_ci ... ok [INFO] [stdout] test detectors::declarative::tests::test_declarative_detector_basic_detection ... ok [INFO] [stdout] test detectors::declarative::tests::test_declarative_detector_no_detection ... ok [INFO] [stdout] test detectors::declarative::tests::test_declarative_detector_override ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_aider_mapping ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_circleci_value_extraction ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_circular_dependency_detection ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_contains ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_equals ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_exists ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_is_falsy ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_is_truthy ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_not_equals ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_condition_not_exists ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_conditional_value_mapping ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_cursor_mapping ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_replit_agent_mapping ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_allowed_values ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_in_range ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_gitlab_ci_value_extraction ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_in_extract_values ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_is_boolean ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_is_integer ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_not_empty ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_mapping_config_validation ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_mapping_validation ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_contains ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_validation_rule_length_constraints ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_equals ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_split ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_to_int ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_replace ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_to_bool ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_openhands_prefix_mapping ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_github_actions_value_extraction ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_trim ... ok [INFO] [stdout] test detectors::ide_declarative::tests::detects_cursor_ide ... ok [INFO] [stdout] test detectors::ide_declarative::tests::detects_vscode ... ok [INFO] [stdout] test detectors::env_mapping::tests::test_value_transform_to_uppercase ... ok [INFO] [stdout] test detectors::ide_declarative::tests::detects_vscode_insiders ... ok [INFO] [stdout] test detectors::ide_declarative::tests::no_detection_with_different_term_program ... ok [INFO] [stdout] test detectors::ide_declarative::tests::no_detection_without_vscode ... ok [INFO] [stdout] test detectors::ci_declarative::tests::detects_circleci ... ok [INFO] [stdout] test detectors::ide_declarative::tests::respects_override_disable_ide ... ok [INFO] [stdout] test detectors::ide_declarative::tests::respects_override_force_ide ... ok [INFO] [stdout] test detectors::terminal::tests::detects_piped_io ... ok [INFO] [stdout] test detectors::test_utils::tests::test_create_env_snapshot ... ok [INFO] [stdout] test detectors::tests::test_env_snapshot_for_testing ... ok [INFO] [stdout] test detectors::tests::test_env_snapshot_with_mock_tty ... ok [INFO] [stdout] test detectors::test_utils::tests::test_create_env_snapshot_empty ... ok [INFO] [stdout] test detectors::tty::tests::test_tty_detector_convenience_methods ... ok [INFO] [stdout] test detectors::tty::tests::test_tty_detector_enum ... ok [INFO] [stdout] test detectors::tests::test_tty_detector_convenience_methods ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_agent ... ok [INFO] [stdout] test detectors::tty::tests::test_real_tty_detector_creation ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_assume ... ok [INFO] [stdout] test schema::tests::default_serializes_with_version ... ok [INFO] [stdout] test detectors::utils::tests::test_basic_declarative_detection ... ok [INFO] [stdout] test detectors::test_utils::tests::test_create_env_snapshot_with_tty ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_ide ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_no_override ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_none ... ok [INFO] [stdout] test traits::terminal::tests::maps_color_level ... ok [INFO] [stdout] test traits::terminal::tests::derives_piped_flags ... ok [INFO] [stdout] test detectors::utils::tests::test_find_best_mapping_by_priority ... ok [INFO] [stdout] test detectors::ide_declarative::tests::respects_override_assume_terminal ... ok [INFO] [stdout] test detectors::utils::tests::test_find_best_mapping_by_confidence ... ok [INFO] [stdout] test detectors::utils::tests::test_check_generic_overrides_ci ... ok [INFO] [stdout] test detectors::terminal::tests::detects_terminal_traits ... ok [INFO] [stdout] test detectors::tests::test_env_snapshot_current_uses_real_detector ... ok [INFO] [stdout] test schema::tests::json_schema_generates ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/envsense-1a5357876ca1aa18) [INFO] [stdout] test detectors::utils::tests::test_generate_evidence_from_mapping ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [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] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-90688e168dd2935a) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test detects_vscode ... ok [INFO] [stdout] test detects_cursor ... ok [INFO] [stdout] test json_output_contains_ci_keys ... ok [INFO] [stdout] test check_agent_context ... ok [INFO] [stdout] test human_info_multiline ... ok [INFO] [stdout] test fields_limit_output ... ok [INFO] [stdout] test prints_json_with_version ... ok [INFO] [stdout] test check_ci_quiet_suppresses_output ... ok [INFO] [stdout] test raw_contexts_without_headings_or_color ... ok [INFO] [stdout] test check_unknown_context_fails ... ok [INFO] [stdout] test detects_vscode_insiders ... ok [INFO] [stdout] test check_ci_messages_and_exit_codes ... ok [INFO] [stdout] test invalid_fields_error ... ok [INFO] [stdout] test quiet_flag_suppresses_output ... ok [INFO] [stdout] test meta_field_selection ... ok [INFO] [stderr] Running tests/cli_declarative.rs (/opt/rustwide/target/debug/deps/cli_declarative-d98f849a9259077e) [INFO] [stdout] test color_output_honors_tty_and_no_color ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test cli_declarative_evidence_in_json ... ok [INFO] [stdout] test cli_declarative_aider_detection ... ok [INFO] [stdout] test cli_declarative_openhands_detection ... ok [INFO] [stdout] test cli_declarative_no_agent_detection ... ok [INFO] [stdout] test cli_declarative_cursor_detection ... ok [INFO] [stdout] test cli_declarative_replit_detection ... ok [INFO] [stdout] test cli_declarative_overrides ... ok [INFO] [stdout] test cli_declarative_claude_code_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/cli_terminal.rs (/opt/rustwide/target/debug/deps/cli_terminal-fc1714900a5b9d9f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test info_reports_piped_stdout ... ok [INFO] [stderr] Running tests/confidence_tests.rs (/opt/rustwide/target/debug/deps/confidence_tests-e3bd137db844b5a0) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running tests/declarative_compatibility.rs (/opt/rustwide/target/debug/deps/declarative_compatibility-3f7bec6eddf832e0) [INFO] [stdout] test test_confidence_constants ... ok [INFO] [stdout] test test_confidence_documentation ... ok [INFO] [stdout] test test_confidence_override ... ok [INFO] [stdout] test test_evidence_constructors_use_confidence_constants ... ok [INFO] [stdout] test test_detection_confidence_values ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test declarative_edge_cases ... ok [INFO] [stdout] test declarative_compatibility_with_original ... ok [INFO] [stderr] Running tests/declarative_integration_tests.rs (/opt/rustwide/target/debug/deps/declarative_integration_tests-6c789dcf47884e40) [INFO] [stdout] test declarative_evidence_generation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_complex_detection_scenarios ... ok [INFO] [stdout] test test_facet_assignment ... ok [INFO] [stdout] test test_evidence_generation ... ok [INFO] [stdout] test test_context_assignment ... ok [INFO] [stdout] test test_ide_priority_ordering ... ok [INFO] [stdout] test test_multi_detector_integration ... ok [INFO] [stdout] test test_override_behavior ... ok [INFO] [stderr] Running tests/dependency_injection_demo.rs (/opt/rustwide/target/debug/deps/dependency_injection_demo-7d0b8ce14bbc5b7c) [INFO] [stdout] test test_no_detection_when_no_mappings_match ... ok [INFO] [stdout] test test_confidence_assignment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test compare_old_vs_new_approach ... ok [INFO] [stdout] test test_performance_benefits ... ok [INFO] [stdout] test demonstrate_dependency_injection_benefits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/info_snapshots.rs (/opt/rustwide/target/debug/deps/info_snapshots-02d4b75122087de9) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stderr] Running tests/integration_declarative.rs (/opt/rustwide/target/debug/deps/integration_declarative-3ad173b091b9c1bf) [INFO] [stdout] test snapshot_github_actions ... ok [INFO] [stderr] Running tests/macro_basic_test.rs (/opt/rustwide/target/debug/deps/macro_basic_test-d1be7351ab2a5999) [INFO] [stdout] test snapshot_gitlab_ci ... ok [INFO] [stderr] Running tests/macro_field_parsing_test.rs (/opt/rustwide/target/debug/deps/macro_field_parsing_test-dd9d24e61d54b044) [INFO] [stdout] test snapshot_piped_io ... ok [INFO] [stdout] test snapshot_shell_zsh ... ok [INFO] [stdout] test snapshot_shell_bash ... ok [INFO] [stdout] test snapshot_os_macos ... ok [INFO] [stdout] test snapshot_vscode_insiders ... ok [INFO] [stdout] test snapshot_os_linux ... ok [INFO] [stdout] test snapshot_plain_tty ... ok [INFO] [stdout] test snapshot_cursor ... ok [INFO] [stdout] test snapshot_tmux ... ok [INFO] [stdout] test snapshot_vscode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_declarative_agent_detector_with_replit ... ok [INFO] [stdout] test test_declarative_agent_detector_integration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_macro_compiles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_evidence_merging_works ... ok [INFO] [stderr] Running tests/macro_performance_test.rs (/opt/rustwide/target/debug/deps/macro_performance_test-c65c23a05fcc7e18) [INFO] [stdout] test test_macro_trait_available ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test benchmark_macro_vs_manual_approach ... ok [INFO] [stdout] test benchmark_macro_merging_performance ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- benchmark_macro_merging_performance stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'benchmark_macro_merging_performance' (357) panicked at tests/macro_performance_test.rs:73:5: [INFO] [stdout] Merging took 19577μs, expected < 15000μs [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59384e9af972 - std::backtrace_rs::backtrace::libunwind::trace::hf3086ff3c8ddfec7 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59384e9af972 - std::backtrace_rs::backtrace::trace_unsynchronized::h6caf11542219ebc3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59384e9af972 - std::sys::backtrace::_print_fmt::hfd9f352edf0ef63b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59384e9af972 - ::fmt::h746cb25d4c2f20bf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59384e9c01bf - core::fmt::rt::Argument::fmt::h7e560d1a4260d0bd [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59384e9c01bf - core::fmt::write::h51c104753c8435b2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59384e97cfc3 - std::io::default_write_fmt::h7681766be9629d2f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59384e97cfc3 - std::io::Write::write_fmt::h41771a141bf0adb2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59384e988fe2 - std::sys::backtrace::BacktraceLock::print::heee726a1c5b4a2c3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59384e98da3f - std::panicking::default_hook::{{closure}}::h938489fbb79d30ee [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59384e98d8d1 - std::panicking::default_hook::hf7e155db98319366 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59384e9123ae - as core::ops::function::Fn>::call::h8041688d09537997 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x59384e9123ae - test::test_main_with_exit_callback::{{closure}}::hc8a7ea1f38432726 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59384e98e0de - as core::ops::function::Fn>::call::h688488cd0fff9b17 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x59384e98e0de - std::panicking::panic_with_hook::h78bb7329978b77c8 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59384e98deaa - std::panicking::panic_handler::{{closure}}::h306ab6080b8e304c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59384e989129 - std::sys::backtrace::__rust_end_short_backtrace::hab10906eec9c5584 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59384e97148d - __rustc[31cdaa5515be9d95]::rust_begin_unwind [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59384e9c7cf0 - core::panicking::panic_fmt::h8cb2938d8e2b0e7b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59384e8ee4a1 - macro_performance_test::benchmark_macro_merging_performance::hd4c0c95db8ca4840 [INFO] [stdout] at /opt/rustwide/workdir/tests/macro_performance_test.rs:73:5 [INFO] [stdout] 20: 0x59384e8ee607 - macro_performance_test::benchmark_macro_merging_performance::{{closure}}::h7ecd8229675329c2 [INFO] [stdout] at /opt/rustwide/workdir/tests/macro_performance_test.rs:9:41 [INFO] [stdout] 21: 0x59384e8ef7e6 - core::ops::function::FnOnce::call_once::h6077428a058517c2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x59384e91216b - core::ops::function::FnOnce::call_once::ha1081c2f5558e6c0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x59384e91216b - test::__rust_begin_short_backtrace::h42034e8abb013a4c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x59384e927c75 - test::run_test_in_process::{{closure}}::hf6d2134f58bf7650 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x59384e927c75 - as core::ops::function::FnOnce<()>>::call_once::hecbf148a08d929b4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x59384e927c75 - std::panicking::catch_unwind::do_call::hdd8f84f296c52439 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x59384e927c75 - std::panicking::catch_unwind::h3fd77bcad74bf69c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x59384e927c75 - std::panic::catch_unwind::h512ad17f65705767 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x59384e927c75 - test::run_test_in_process::h2b79c7cc828fafad [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x59384e927c75 - test::run_test::{{closure}}::hc287323e9e7aa380 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x59384e8fe644 - test::run_test::{{closure}}::h26852bc3095664f0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x59384e8fe644 - std::sys::backtrace::__rust_begin_short_backtrace::he88c7ba58706034f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x59384e901e7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff63832735ca5300 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x59384e901e7a - as core::ops::function::FnOnce<()>>::call_once::h5618784f23b8bacb [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x59384e901e7a - std::panicking::catch_unwind::do_call::hd103d0697f7d2f72 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x59384e901e7a - std::panicking::catch_unwind::h947b18413ee60fc2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x59384e901e7a - std::panic::catch_unwind::h51f47dbca8916fbf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x59384e901e7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h92bd4fc7ba1a8896 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x59384e901e7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1edf6ba5edb7a202 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 40: 0x59384e98339f - as core::ops::function::FnOnce>::call_once::h6765fcdde4c5daa4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 41: 0x59384e98339f - std::sys::pal::unix::thread::Thread::new::thread_start::h448c4dadc391362b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 42: 0x77a90b063aa4 - [INFO] [stdout] 43: 0x77a90b0f0a34 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] benchmark_macro_merging_performance [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test macro_performance_test` [INFO] running `Command { std: "docker" "inspect" "c27435c15b77717e025ec64176f7e12c1c1eaeafd94a25640b2fbf18f0e691b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27435c15b77717e025ec64176f7e12c1c1eaeafd94a25640b2fbf18f0e691b0", kill_on_drop: false }` [INFO] [stdout] c27435c15b77717e025ec64176f7e12c1c1eaeafd94a25640b2fbf18f0e691b0