[INFO] cloning repository https://github.com/kcosr/shell-command-guard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kcosr/shell-command-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkcosr%2Fshell-command-guard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkcosr%2Fshell-command-guard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f446ab1f6273576ecb400d9dc5b5d1b625b63ebf
[INFO] testing kcosr/shell-command-guard against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkcosr%2Fshell-command-guard" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kcosr/shell-command-guard
[INFO] finished tweaking git repo https://github.com/kcosr/shell-command-guard
[INFO] tweaked toml for git repo https://github.com/kcosr/shell-command-guard written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kcosr/shell-command-guard on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kcosr/shell-command-guard 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-conv v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42
[INFO] running `Command { std: "docker" "start" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.6.1
[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 toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling shell-command-guard v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.69s
[INFO] running `Command { std: "docker" "inspect" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling predicates-core v1.0.10
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling assert_cmd v2.2.2
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling predicates-tree v1.0.13
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling predicates v3.1.4
[INFO] [stderr]    Compiling shell-command-guard v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.74s
[INFO] running `Command { std: "docker" "inspect" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shell_command_guard-cba6fff8294e09bb)
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test invocation::tests::normalizes_direct_command ... ok
[INFO] [stdout] test invocation::tests::normalizes_shell_command ... ok
[INFO] [stdout] test invocation::tests::strips_shell_wrapper_prefixes ... ok
[INFO] [stdout] test invocation::tests::shell_double_dash_stops_c_flag_scan ... ok
[INFO] [stdout] test policy::tests::ordered_rules_return_first_match ... ok
[INFO] [stdout] test config::tests::runtime_uses_env_config_when_default_enables_override ... ok
[INFO] [stdout] test config::tests::runtime_ignores_env_config_when_default_exists_without_override ... ok
[INFO] [stdout] test invocation::tests::normalizes_obfuscated_command_word ... ok
[INFO] [stdout] test resolve::tests::excludes_wrapper_dir_when_resolving ... ok
[INFO] [stdout] test delegate::tests::shell_delegate_nonzero_denies ... ok
[INFO] [stdout] test delegate::tests::shell_delegate_exit_zero_allows ... ok
[INFO] [stdout] test config::tests::runtime_uses_env_config_when_default_is_absent ... ok
[INFO] [stdout] test delegate::tests::delegate_timeout_allows_when_configured ... ok
[INFO] [stdout] test delegate::tests::delegate_timeout_errors_when_configured ... ok
[INFO] [stdout] test delegate::tests::delegate_timeout_denies_when_configured ... ok
[INFO] [stdout] test resolve::tests::refuses_real_command_that_points_back_to_guard ... ok
[INFO] [stdout] test invocation::tests::command_query_is_not_treated_as_execution_wrapper ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shell_command_guard-6e86b8f54f2ffcf6)
[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-39447dc3ccc4cc6b)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test check_runs_shell_delegate ... ok
[INFO] [stdout] test explain_reports_shell_normalization_and_shell_regex_match ... ok
[INFO] [stdout] test runtime_wrapper_missing_real_command_reports_error ... ok
[INFO] [stdout] test runtime_wrapper_allows_by_execing_real_command ... ok
[INFO] [stdout] test install_list_and_uninstall_wrappers ... ok
[INFO] [stdout] test shell_wrapper_prefixes_do_not_bypass_command_rules ... ok
[INFO] [stdout] test runtime_wrapper_denies_with_generic_policy_message ... ok
[INFO] [stdout] test runtime_delegate_name_is_logged_after_allow ... ok
[INFO] [stdout] test validate_accepts_sample_config ... ok
[INFO] [stdout] test validate_rejects_invalid_command_names ... ok
[INFO] [stdout] test check_reports_deny_rule ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests shell_command_guard
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42", kill_on_drop: false }`
[INFO] [stdout] 375b9f5e5663a2d093f206c77c9c5bc9ac6d95f078a762a03b983f822593cc42
