[INFO] fetching crate tftio-cli-common 2.4.0...
[INFO] testing tftio-cli-common-2.4.0 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate tftio-cli-common 2.4.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate tftio-cli-common 2.4.0
[INFO] finished tweaking crates.io crate tftio-cli-common 2.4.0
[INFO] tweaked toml for crates.io crate tftio-cli-common 2.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tftio-cli-common 2.4.0 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tftio-cli-common 2.4.0 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fefe7797904fea66bea1a37dd9360ea003c349d7335b723bb79e687c031a20aa
[INFO] running `Command { std: "docker" "start" "-a" "fefe7797904fea66bea1a37dd9360ea003c349d7335b723bb79e687c031a20aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fefe7797904fea66bea1a37dd9360ea003c349d7335b723bb79e687c031a20aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fefe7797904fea66bea1a37dd9360ea003c349d7335b723bb79e687c031a20aa", kill_on_drop: false }`
[INFO] [stdout] fefe7797904fea66bea1a37dd9360ea003c349d7335b723bb79e687c031a20aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e26230aab9514d25b4377442f069652901ca2681d8cdf10eec5f5c2de6f3cb26
[INFO] running `Command { std: "docker" "start" "-a" "e26230aab9514d25b4377442f069652901ca2681d8cdf10eec5f5c2de6f3cb26", kill_on_drop: false }`
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling unit-prefix v0.5.2
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling colored v3.1.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling console v0.16.2
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling indicatif v0.18.4
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling clap_complete v4.6.0
[INFO] [stderr]    Compiling tftio-cli-common v2.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.95s
[INFO] running `Command { std: "docker" "inspect" "e26230aab9514d25b4377442f069652901ca2681d8cdf10eec5f5c2de6f3cb26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e26230aab9514d25b4377442f069652901ca2681d8cdf10eec5f5c2de6f3cb26", kill_on_drop: false }`
[INFO] [stdout] e26230aab9514d25b4377442f069652901ca2681d8cdf10eec5f5c2de6f3cb26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7e5af6d758597689781eefd8fa55ab2dafb8f5d2852e2ca855d7feedbfef4d5
[INFO] running `Command { std: "docker" "start" "-a" "a7e5af6d758597689781eefd8fa55ab2dafb8f5d2852e2ca855d7feedbfef4d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling tftio-cli-common v2.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "a7e5af6d758597689781eefd8fa55ab2dafb8f5d2852e2ca855d7feedbfef4d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7e5af6d758597689781eefd8fa55ab2dafb8f5d2852e2ca855d7feedbfef4d5", kill_on_drop: false }`
[INFO] [stdout] a7e5af6d758597689781eefd8fa55ab2dafb8f5d2852e2ca855d7feedbfef4d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a6fad17d55beeece137a8ec4deb2d6359c214a47c8036b4a0cdb831498bcc4d7
[INFO] running `Command { std: "docker" "start" "-a" "a6fad17d55beeece137a8ec4deb2d6359c214a47c8036b4a0cdb831498bcc4d7", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tftio_cli_common-2b6f219b5c564ca4)
[INFO] [stdout] 
[INFO] [stdout] running 79 tests
[INFO] [stdout] test agent::tests::agent_help_render_fills_missing_prose_metadata ... ok
[INFO] [stdout] test agent::tests::agent_help_render_unknown_skill_is_bounded ... ok
[INFO] [stdout] test agent::tests::agent_mode_activation_is_active_on_exact_string_match ... ok
[INFO] [stdout] test agent::tests::agent_mode_activation_is_inactive_on_exact_string_mismatch ... ok
[INFO] [stdout] test agent::tests::agent_mode_activation_is_inactive_without_presented_token ... ok
[INFO] [stdout] test agent::tests::agent_help_render_sections_are_structured_and_redacted ... ok
[INFO] [stdout] test agent::tests::agent_help_render_skill_output_is_single_capability_only ... ok
[INFO] [stdout] test agent::tests::agent_mode_activation_preserves_capability_declarations ... ok
[INFO] [stdout] test app::tests::workspace_tool_uses_workspace_repo_defaults ... ok
[INFO] [stdout] test agent::tests::agent_surface_redaction_agent_flags_short_circuit ... ok
[INFO] [stdout] test agent::tests::capability_policy_removes_undeclared_flag ... ok
[INFO] [stdout] test command::tests::impl_standard_command_map_uses_global_json_flag ... ok
[INFO] [stdout] test command::tests::impl_standard_command_map_supports_fixed_json_and_doctor_variants ... ok
[INFO] [stdout] test command::tests::maybe_run_standard_command_no_doctor_executes_mapped_metadata_command ... ok
[INFO] [stdout] test agent::tests::capability_policy_returns_empty_surface_without_declared_capabilities ... ok
[INFO] [stdout] test command::tests::run_standard_command_version_returns_success ... ok
[INFO] [stdout] test app::tests::tool_spec_new_preserves_fields ... ok
[INFO] [stdout] test command::tests::impl_standard_command_map_clones_update_payload ... ok
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   source <(test-cli completions bash)
[INFO] [stdout] 
[INFO] [stdout] _test-cli() {
[INFO] [stdout]     local i cur prev opts cmd
[INFO] [stdout]     COMPREPLY=()
[INFO] [stdout]     if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
[INFO] [stdout]         cur="$2"
[INFO] [stdout]     else
[INFO] [stdout]         cur="${COMP_WORDS[COMP_CWORD]}"
[INFO] [stdout]     fi
[INFO] [stdout]     prev="$3"
[INFO] [stdout]     cmd=""
[INFO] [stdout]     opts=""
[INFO] [stdout] 
[INFO] [stdout]     for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
[INFO] [stdout]     do
[INFO] [stdout]         case "${cmd},${i}" in
[INFO] [stdout]             ",$1")
[INFO] [stdout]                 cmd="test__cli"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,help)
[INFO] [stdout]                 cmd="test__cli__help"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,test)
[INFO] [stdout]                 cmd="test__cli__test"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,version)
[INFO] [stdout]                 cmd="test__cli__version"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,help)
[INFO] [stdout]                 cmd="test__cli__help__help"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,test)
[INFO] [stdout]                 cmd="test__cli__help__test"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,version)
[INFO] [stdout]                 cmd="test__cli__help__version"
[INFO] [stdout]                 ;;
[INFO] [stdout]             *)
[INFO] [stdout]                 ;;
[INFO] [stdout]         esac
[INFO] [stdout]     done
[INFO] [stdout] 
[INFO] [stdout]     case "${cmd}" in
[INFO] [stdout]         test__cli)
[INFO] [stdout]             opts="-h --help version test help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help)
[INFO] [stdout]             opts="version test help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__help)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__test)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__version)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__test)
[INFO] [stdout]             opts="-h --help <ARG>"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__version)
[INFO] [stdout]             opts="-h --help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]     esac
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
[INFO] [stdout]     complete -F _test-cli -o nosort -o bashdefault -o default test-cli
[INFO] [stdout] else
[INFO] [stdout]     complete -F _test-cli -o bashdefault -o default test-cli
[INFO] [stdout] fi
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions zsh > ~/.zsh/completions/_test-cli
[INFO] [stdout] #   # Ensure fpath includes ~/.zsh/completions
[INFO] [stdout] 
[INFO] [stdout] #compdef test-cli
[INFO] [stdout] 
[INFO] [stdout] autoload -U is-at-least
[INFO] [stdout] 
[INFO] [stdout] _test-cli() {
[INFO] [stdout]     typeset -A opt_args
[INFO] [stdout]     typeset -a _arguments_options
[INFO] [stdout]     local ret=1
[INFO] [stdout] 
[INFO] [stdout]     if is-at-least 5.2; then
[INFO] [stdout]         _arguments_options=(-s -S -C)
[INFO] [stdout]     else
[INFO] [stdout]         _arguments_options=(-s -C)
[INFO] [stdout]     fi
[INFO] [stdout] 
[INFO] [stdout]     local context curcontext="$curcontext" state line
[INFO] [stdout]     _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] ":: :_test-cli_commands" \
[INFO] [stdout] "*::: :->test-cli" \
[INFO] [stdout] && ret=0
[INFO] [stdout]     case $state in
[INFO] [stdout]     (test-cli)
[INFO] [stdout]         words=($line[1] "${words[@]}")
[INFO] [stdout]         (( CURRENT += 1 ))
[INFO] [stdout]         curcontext="${curcontext%:*:*}:test-cli-command-$line[1]:"
[INFO] [stdout]         case $line[1] in
[INFO] [stdout]             (version)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (test)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] ':arg:_default' \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (help)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] ":: :_test-cli__help_commands" \
[INFO] [stdout] "*::: :->help" \
[INFO] [stdout] && ret=0
[INFO] [stdout] 
[INFO] [stdout]     case $state in
[INFO] [stdout]     (help)
[INFO] [stdout]         words=($line[1] "${words[@]}")
[INFO] [stdout]         (( CURRENT += 1 ))
[INFO] [stdout]         curcontext="${curcontext%:*:*}:test-cli-help-command-$line[1]:"
[INFO] [stdout]         case $line[1] in
[INFO] [stdout]             (version)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (test)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (help)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout]         esac
[INFO] [stdout]     ;;
[INFO] [stdout] esac
[INFO] [stdout] ;;
[INFO] [stdout]         esac
[INFO] [stdout]     ;;
[INFO] [stdout] esac
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] (( $+functions[_test-cli_commands] )) ||
[INFO] [stdout] _test-cli_commands() {
[INFO] [stdout]     local commands; commands=(
[INFO] [stdout] 'version:' \
[INFO] [stdout] 'test:' \
[INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \
[INFO] [stdout]     )
[INFO] [stdout]     _describe -t commands 'test-cli commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help_commands] )) ||
[INFO] [stdout] _test-cli__help_commands() {
[INFO] [stdout]     local commands; commands=(
[INFO] [stdout] 'version:' \
[INFO] [stdout] 'test:' \
[INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \
[INFO] [stdout]     )
[INFO] [stdout]     _describe -t commands 'test-cli help commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__help_commands] )) ||
[INFO] [stdout] _test-cli__help__help_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help help commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__test_commands] )) ||
[INFO] [stdout] _test-cli__help__test_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help test commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__version_commands] )) ||
[INFO] [stdout] _test-cli__help__version_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help version commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__test_commands] )) ||
[INFO] [stdout] _test-cli__test_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli test commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__version_commands] )) ||
[INFO] [stdout] _test-cli__version_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli version commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] if [ "$funcstack[1]" = "_test-cli" ]; then
[INFO] [stdout]     _test-cli "$@"
[INFO] [stdout] else
[INFO] [stdout]     compdef _test-cli test-cli
[INFO] [stdout] fi
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions fish | source
[INFO] [stdout] 
[INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
[INFO] [stdout] function __fish_test_cli_global_optspecs
[INFO] [stdout] 	string join \n h/help
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] function __fish_test_cli_needs_command
[INFO] [stdout] 	# Figure out if the current invocation already has a command.
[INFO] [stdout] 	set -l cmd (commandline -opc)
[INFO] [stdout] 	set -e cmd[1]
[INFO] [stdout] 	argparse -s (__fish_test_cli_global_optspecs) -- $cmd 2>/dev/null
[INFO] [stdout] 	or return
[INFO] [stdout] 	if set -q argv[1]
[INFO] [stdout] 		# Also print the command, so this can be used to figure out what it is.
[INFO] [stdout] 		echo $argv[1]
[INFO] [stdout] 		return 1
[INFO] [stdout] 	end
[INFO] [stdout] 	return 0
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] function __fish_test_cli_using_subcommand
[INFO] [stdout] 	set -l cmd (__fish_test_cli_needs_command)
[INFO] [stdout] 	test -z "$cmd"
[INFO] [stdout] 	and return 1
[INFO] [stdout] 	contains -- $cmd[1] $argv
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "version"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "test"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand version" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand test" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "version"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "test"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions elvish | eval
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] use builtin;
[INFO] [stdout] use str;
[INFO] [stdout] 
[INFO] [stdout] set edit:completion:arg-completer[test-cli] = {|@words|
[INFO] [stdout]     fn spaces {|n|
[INFO] [stdout]         builtin:repeat $n ' ' | str:join ''
[INFO] [stdout]     }
[INFO] [stdout]     fn cand {|text desc|
[INFO] [stdout]         edit:complex-candidate $text &display=$text' '(spaces (- 14 (wcswidth $text)))$desc
[INFO] [stdout]     }
[INFO] [stdout]     var command = 'test-cli'
[INFO] [stdout]     for word $words[1..-1] {
[INFO] [stdout]         if (str:has-prefix $word '-') {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         set command = $command';'$word
[INFO] [stdout]     }
[INFO] [stdout]     var completions = [
[INFO] [stdout]         &'test-cli'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]             cand version 'version'
[INFO] [stdout]             cand test 'test'
[INFO] [stdout]             cand help 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;version'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;test'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help'= {
[INFO] [stdout]             cand version 'version'
[INFO] [stdout]             cand test 'test'
[INFO] [stdout]             cand help 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;version'= {
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;test'= {
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;help'= {
[INFO] [stdout]         }
[INFO] [stdout]     ]
[INFO] [stdout]     $completions[$command]
[INFO] [stdout] }
[INFO] [stdout] test agent::tests::agent_surface_redaction_help_omits_hidden_entries ... ok
[INFO] [stdout] test command::tests::impl_standard_command_map_reads_json_from_version_field ... ok
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions powershell | Out-String | Invoke-Expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] using namespace System.Management.Automation
[INFO] [stdout] using namespace System.Management.Automation.Language
[INFO] [stdout] 
[INFO] [stdout] Register-ArgumentCompleter -Native -CommandName 'test-cli' -ScriptBlock {
[INFO] [stdout]     param($wordToComplete, $commandAst, $cursorPosition)
[INFO] [stdout] 
[INFO] [stdout]     $commandElements = $commandAst.CommandElements
[INFO] [stdout]     $command = @(
[INFO] [stdout]         'test-cli'
[INFO] [stdout]         for ($i = 1; $i -lt $commandElements.Count; $i++) {
[INFO] [stdout]             $element = $commandElements[$i]
[INFO] [stdout]             if ($element -isnot [StringConstantExpressionAst] -or
[INFO] [stdout]                 $element.StringConstantType -ne [StringConstantType]::BareWord -or
[INFO] [stdout]                 $element.Value.StartsWith('-') -or
[INFO] [stdout]                 $element.Value -eq $wordToComplete) {
[INFO] [stdout]                 break
[INFO] [stdout]         }
[INFO] [stdout]         $element.Value
[INFO] [stdout]     }) -join ';'
[INFO] [stdout] 
[INFO] [stdout]     $completions = @(switch ($command) {
[INFO] [stdout]         'test-cli' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('version', 'version', [CompletionResultType]::ParameterValue, 'version')
[INFO] [stdout]             [CompletionResult]::new('test', 'test', [CompletionResultType]::ParameterValue, 'test')
[INFO] [stdout]             [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;version' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;test' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help' {
[INFO] [stdout]             [CompletionResult]::new('version', 'version', [CompletionResultType]::ParameterValue, 'version')
[INFO] [stdout]             [CompletionResult]::new('test', 'test', [CompletionResultType]::ParameterValue, 'test')
[INFO] [stdout]             [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;version' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;test' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;help' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]     })
[INFO] [stdout] 
[INFO] [stdout]     $completions.Where{ $_.CompletionText -like "$wordToComplete*" } |
[INFO] [stdout]         Sort-Object -Property ListItemText
[INFO] [stdout] }
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions elvish | eval
[INFO] [stdout] 
[INFO] [stdout] test agent::tests::capability_policy_removes_undeclared_subcommand ... ok
[INFO] [stdout] test command::tests::run_standard_command_no_doctor_version_returns_success ... ok
[INFO] [stdout] test agent::tests::agent_surface_redaction_preserves_human_mode_surface ... ok
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions powershell | Out-String | Invoke-Expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] using namespace System.Management.Automation
[INFO] [stdout] using namespace System.Management.Automation.Language
[INFO] [stdout] 
[INFO] [stdout] Register-ArgumentCompleter -Native -CommandName 'test-cli' -ScriptBlock {
[INFO] [stdout]     param($wordToComplete, $commandAst, $cursorPosition)
[INFO] [stdout] 
[INFO] [stdout]     $commandElements = $commandAst.CommandElements
[INFO] [stdout]     $command = @(
[INFO] [stdout]         'test-cli'
[INFO] [stdout]         for ($i = 1; $i -lt $commandElements.Count; $i++) {
[INFO] [stdout]             $element = $commandElements[$i]
[INFO] [stdout]             if ($element -isnot [StringConstantExpressionAst] -or
[INFO] [stdout]                 $element.StringConstantType -ne [StringConstantType]::BareWord -or
[INFO] [stdout]                 $element.Value.StartsWith('-') -or
[INFO] [stdout]                 $element.Value -eq $wordToComplete) {
[INFO] [stdout]                 break
[INFO] [stdout]         }
[INFO] [stdout]         $element.Value
[INFO] [stdout]     }) -join ';'
[INFO] [stdout] 
[INFO] [stdout]     $completions = @(switch ($command) {
[INFO] [stdout]         'test-cli' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('version', 'version', [CompletionResultType]::ParameterValue, 'version')
[INFO] [stdout]             [CompletionResult]::new('test', 'test', [CompletionResultType]::ParameterValue, 'test')
[INFO] [stdout]             [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;version' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;test' {
[INFO] [stdout]             [CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help' {
[INFO] [stdout]             [CompletionResult]::new('version', 'version', [CompletionResultType]::ParameterValue, 'version')
[INFO] [stdout]             [CompletionResult]::new('test', 'test', [CompletionResultType]::ParameterValue, 'test')
[INFO] [stdout]             [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;version' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;test' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         'test-cli;help;help' {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]     })
[INFO] [stdout] 
[INFO] [stdout]     $completions.Where{ $_.CompletionText -like "$wordToComplete*" } |
[INFO] [stdout]         Sort-Object -Property ListItemText
[INFO] [stdout] }
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions zsh > ~/.zsh/completions/_test-cli
[INFO] [stdout] #   # Ensure fpath includes ~/.zsh/completions
[INFO] [stdout] 
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   test-cli completions fish | source
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] use builtin;
[INFO] [stdout] use str;
[INFO] [stdout] 
[INFO] [stdout] set edit:completion:arg-completer[test-cli] = {|@words|
[INFO] [stdout]     fn spaces {|n|
[INFO] [stdout]         builtin:repeat $n ' ' | str:join ''
[INFO] [stdout]     }
[INFO] [stdout]     fn cand {|text desc|
[INFO] [stdout]         edit:complex-candidate $text &display=$text' '(spaces (- 14 (wcswidth $text)))$desc
[INFO] [stdout]     }
[INFO] [stdout]     var command = 'test-cli'
[INFO] [stdout]     for word $words[1..-1] {
[INFO] [stdout]         if (str:has-prefix $word '-') {
[INFO] [stdout]             break
[INFO] [stdout]         }
[INFO] [stdout]         set command = $command';'$word
[INFO] [stdout]     }
[INFO] [stdout]     var completions = [
[INFO] [stdout]         &'test-cli'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]             cand version 'version'
[INFO] [stdout]             cand test 'test'
[INFO] [stdout]             cand help 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;version'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;test'= {
[INFO] [stdout]             cand -h 'Print help'
[INFO] [stdout]             cand --help 'Print help'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help'= {
[INFO] [stdout]             cand version 'version'
[INFO] [stdout]             cand test 'test'
[INFO] [stdout]             cand help 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;version'= {
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;test'= {
[INFO] [stdout]         }
[INFO] [stdout]         &'test-cli;help;help'= {
[INFO] [stdout]         }
[INFO] [stdout]     ]
[INFO] [stdout]     $completions[$command]
[INFO] [stdout] }
[INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
[INFO] [stdout] function __fish_test_cli_global_optspecs
[INFO] [stdout] 	string join \n h/help
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] function __fish_test_cli_needs_command
[INFO] [stdout] 	# Figure out if the current invocation already has a command.
[INFO] [stdout] 	set -l cmd (commandline -opc)
[INFO] [stdout] 	set -e cmd[1]
[INFO] [stdout] 	argparse -s (__fish_test_cli_global_optspecs) -- $cmd 2>/dev/null
[INFO] [stdout] 	or return
[INFO] [stdout] 	if set -q argv[1]
[INFO] [stdout] 		# Also print the command, so this can be used to figure out what it is.
[INFO] [stdout] 		echo $argv[1]
[INFO] [stdout] 		return 1
[INFO] [stdout] 	end
[INFO] [stdout] 	return 0
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] function __fish_test_cli_using_subcommand
[INFO] [stdout] 	set -l cmd (__fish_test_cli_needs_command)
[INFO] [stdout] 	test -z "$cmd"
[INFO] [stdout] 	and return 1
[INFO] [stdout] 	contains -- $cmd[1] $argv
[INFO] [stdout] end
[INFO] [stdout] 
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "version"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "test"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand version" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand test" -s h -l help -d 'Print help'
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "version"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "test"
[INFO] [stdout] complete -c test-cli -n "__fish_test_cli_using_subcommand help; and not __fish_seen_subcommand_from version test help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
[INFO] [stdout] test command::tests::version_json_contains_version_key ... ok
[INFO] [stdout] test completions::tests::agent_surface_redaction_completion_helper_omits_hidden_entries ... ok
[INFO] [stdout] test completions::tests::test_all_shells_generate_without_panic ... ok
[INFO] [stdout] test agent::tests::agent_surface_redaction_rejects_hidden_command_and_flag ... ok
[INFO] [stdout] test completions::tests::render_completion_separates_instructions_from_script ... ok
[INFO] [stdout] test command::tests::license_render_uses_display_license_text ... ok
[INFO] [stdout] test command::tests::parse_command_ref_with_agent_surface_from_borrows_cli ... ok
[INFO] [stdout] test agent::tests::agent_mode_activation_is_inactive_without_expected_token ... ok
[INFO] [stdout] test completions::tests::test_generate_completions_powershell ... ok
[INFO] [stdout] # Shell completion for test-cli
[INFO] [stdout] #
[INFO] [stdout] # To enable completions, add this to your shell config:
[INFO] [stdout] #
[INFO] [stdout] #   source <(test-cli completions bash)
[INFO] [stdout] 
[INFO] [stdout] _test-cli() {
[INFO] [stdout]     local i cur prev opts cmd
[INFO] [stdout]     COMPREPLY=()
[INFO] [stdout]     if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
[INFO] [stdout]         cur="$2"
[INFO] [stdout]     else
[INFO] [stdout]         cur="${COMP_WORDS[COMP_CWORD]}"
[INFO] [stdout]     fi
[INFO] [stdout]     prev="$3"
[INFO] [stdout]     cmd=""
[INFO] [stdout]     opts=""
[INFO] [stdout] 
[INFO] [stdout]     for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
[INFO] [stdout]     do
[INFO] [stdout]         case "${cmd},${i}" in
[INFO] [stdout]             ",$1")
[INFO] [stdout]                 cmd="test__cli"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,help)
[INFO] [stdout]                 cmd="test__cli__help"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,test)
[INFO] [stdout]                 cmd="test__cli__test"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli,version)
[INFO] [stdout]                 cmd="test__cli__version"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,help)
[INFO] [stdout]                 cmd="test__cli__help__help"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,test)
[INFO] [stdout]                 cmd="test__cli__help__test"
[INFO] [stdout]                 ;;
[INFO] [stdout]             test__cli__help,version)
[INFO] [stdout]                 cmd="test__cli__help__version"
[INFO] [stdout]                 ;;
[INFO] [stdout]             *)
[INFO] [stdout]                 ;;
[INFO] [stdout]         esac
[INFO] [stdout]     done
[INFO] [stdout] 
[INFO] [stdout]     case "${cmd}" in
[INFO] [stdout]         test__cli)
[INFO] [stdout]             opts="-h --help version test help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help)
[INFO] [stdout]             opts="version test help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__help)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__test)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__help__version)
[INFO] [stdout]             opts=""
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__test)
[INFO] [stdout]             opts="-h --help <ARG>"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]         test__cli__version)
[INFO] [stdout]             opts="-h --help"
[INFO] [stdout]             if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
[INFO] [stdout]                 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]                 return 0
[INFO] [stdout]             fi
[INFO] [stdout]             case "${prev}" in
[INFO] [stdout]                 *)
[INFO] [stdout]                     COMPREPLY=()
[INFO] [stdout]                     ;;
[INFO] [stdout]             esac
[INFO] [stdout]             COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[INFO] [stdout]             return 0
[INFO] [stdout]             ;;
[INFO] [stdout]     esac
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
[INFO] [stdout]     complete -F _test-cli -o nosort -o bashdefault -o default test-cli
[INFO] [stdout] else
[INFO] [stdout]     complete -F _test-cli -o bashdefault -o default test-cli
[INFO] [stdout] fi
[INFO] [stdout] #compdef test-cli
[INFO] [stdout] 
[INFO] [stdout] autoload -U is-at-least
[INFO] [stdout] 
[INFO] [stdout] _test-cli() {
[INFO] [stdout]     typeset -A opt_args
[INFO] [stdout]     typeset -a _arguments_options
[INFO] [stdout]     local ret=1
[INFO] [stdout] 
[INFO] [stdout]     if is-at-least 5.2; then
[INFO] [stdout]         _arguments_options=(-s -S -C)
[INFO] [stdout]     else
[INFO] [stdout]         _arguments_options=(-s -C)
[INFO] [stdout]     fi
[INFO] [stdout] 
[INFO] [stdout]     local context curcontext="$curcontext" state line
[INFO] [stdout]     _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] ":: :_test-cli_commands" \
[INFO] [stdout] "*::: :->test-cli" \
[INFO] [stdout] && ret=0
[INFO] [stdout]     case $state in
[INFO] [stdout]     (test-cli)
[INFO] [stdout]         words=($line[1] "${words[@]}")
[INFO] [stdout]         (( CURRENT += 1 ))
[INFO] [stdout]         curcontext="${curcontext%:*:*}:test-cli-command-$line[1]:"
[INFO] [stdout]         case $line[1] in
[INFO] [stdout]             (version)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (test)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] '-h[Print help]' \
[INFO] [stdout] '--help[Print help]' \
[INFO] [stdout] ':arg:_default' \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (help)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] ":: :_test-cli__help_commands" \
[INFO] [stdout] "*::: :->help" \
[INFO] [stdout] && ret=0
[INFO] [stdout] 
[INFO] [stdout]     case $state in
[INFO] [stdout]     (help)
[INFO] [stdout]         words=($line[1] "${words[@]}")
[INFO] [stdout]         (( CURRENT += 1 ))
[INFO] [stdout]         curcontext="${curcontext%:*:*}:test-cli-help-command-$line[1]:"
[INFO] [stdout]         case $line[1] in
[INFO] [stdout]             (version)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (test)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout] (help)
[INFO] [stdout] _arguments "${_arguments_options[@]}" : \
[INFO] [stdout] && ret=0
[INFO] [stdout] ;;
[INFO] [stdout]         esac
[INFO] [stdout]     ;;
[INFO] [stdout] esac
[INFO] [stdout] ;;
[INFO] [stdout]         esac
[INFO] [stdout]     ;;
[INFO] [stdout] esac
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] (( $+functions[_test-cli_commands] )) ||
[INFO] [stdout] _test-cli_commands() {
[INFO] [stdout]     local commands; commands=(
[INFO] [stdout] 'version:' \
[INFO] [stdout] 'test:' \
[INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \
[INFO] [stdout]     )
[INFO] [stdout]     _describe -t commands 'test-cli commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help_commands] )) ||
[INFO] [stdout] _test-cli__help_commands() {
[INFO] [stdout]     local commands; commands=(
[INFO] [stdout] 'version:' \
[INFO] [stdout] 'test:' \
[INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \
[INFO] [stdout]     )
[INFO] [stdout]     _describe -t commands 'test-cli help commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__help_commands] )) ||
[INFO] [stdout] _test-cli__help__help_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help help commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__test_commands] )) ||
[INFO] [stdout] _test-cli__help__test_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help test commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__help__version_commands] )) ||
[INFO] [stdout] _test-cli__help__version_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli help version commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__test_commands] )) ||
[INFO] [stdout] _test-cli__test_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli test commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] (( $+functions[_test-cli__version_commands] )) ||
[INFO] [stdout] _test-cli__version_commands() {
[INFO] [stdout]     local commands; commands=()
[INFO] [stdout]     _describe -t commands 'test-cli version commands' commands "$@"
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] if [ "$funcstack[1]" = "_test-cli" ]; then
[INFO] [stdout]     _test-cli "$@"
[INFO] [stdout] else
[INFO] [stdout]     compdef _test-cli test-cli
[INFO] [stdout] fi
[INFO] [stdout] test completions::tests::test_generate_completions_elvish ... ok
[INFO] [stdout] test completions::tests::test_generate_completions_fish ... ok
[INFO] [stderr]    Doc-tests tftio_cli_common
[INFO] [stdout] test completions::tests::test_generate_completions_bash ... ok
[INFO] [stdout] test completions::tests::test_generate_completions_zsh ... ok
[INFO] [stdout] test doctor::tests::doctor_report_emit_returns_exit_code_for_selected_format ... ok
[INFO] [stdout] test doctor::tests::doctor_report_json_includes_details ... ok
[INFO] [stdout] test doctor::tests::test_run_doctor ... ok
[INFO] [stdout] test doctor::tests::test_run_doctor_with_custom_header ... ok
[INFO] [stdout] test json::tests::render_response_parts_skips_data_builder_for_text_output ... ok
[INFO] [stdout] test error::tests::fatal_error_preserves_command_and_json_mode ... ok
[INFO] [stdout] test command::tests::agent_surface_redaction_completion_metadata_path_omits_hidden_entries ... ok
[INFO] [stdout] test json::tests::render_response_parts_skips_text_builder_for_json_output ... ok
[INFO] [stdout] test command::tests::parse_command_with_agent_surface_from_returns_owned_cli ... ok
[INFO] [stdout] test error::tests::print_error_returns_failure_exit_code ... ok
[INFO] [stdout] test json::tests::err_response_contains_expected_shape ... ok
[INFO] [stdout] test json::tests::render_response_uses_json_envelope_when_requested ... ok
[INFO] [stdout] test json::tests::render_response_with_builds_text_for_text_output ... ok
[INFO] [stdout] test json::tests::render_response_with_skips_text_builder_for_json_output ... ok
[INFO] [stdout] test license::tests::test_display_license_apache ... ok
[INFO] [stdout] test license::tests::test_display_license_cc0 ... ok
[INFO] [stdout] test json::tests::ok_response_contains_expected_shape ... ok
[INFO] [stdout] test license::tests::test_display_license_mit ... ok
[INFO] [stdout] test license::tests::test_license_type_from_str ... ok
[INFO] [stdout] test output::tests::test_header_format ... ok
[INFO] [stdout] test output::tests::test_info_format ... ok
[INFO] [stdout] test output::tests::test_success_format ... ok
[INFO] [stdout] test output::tests::test_warning_format ... ok
[INFO] [stdout] test runner::tests::parse_and_run_passes_parsed_value_to_runner ... ok
[INFO] [stdout] test runner::tests::run_with_display_error_handler_returns_success_code ... ok
[INFO] [stdout] test runner::tests::run_with_fatal_handler_returns_success_code ... ok
[INFO] [stdout] test tests::test_license_type ... ok
[INFO] [stdout] test tests::test_repo_info_creation ... ok
[INFO] [stdout] test types::tests::test_doctor_check_pass ... ok
[INFO] [stdout] test update::tests::test_install_script_url_construction ... ok
[INFO] [stdout] test license::tests::test_license_type_name ... ok
[INFO] [stdout] test output::tests::test_error_format ... ok
[INFO] [stdout] test output::tests::test_is_tty_returns_bool ... ok
[INFO] [stdout] test types::tests::test_repo_info_creation ... ok
[INFO] [stdout] test output::tests::test_stderr_is_tty_returns_bool ... ok
[INFO] [stdout] test progress::tests::make_spinner_returns_none_when_disabled ... ok
[INFO] [stdout] test runner::tests::run_with_display_error_handler_converts_display_errors ... ok
[INFO] [stdout] test runner::tests::run_with_fatal_handler_converts_fatal_error_to_failure_code ... ok
[INFO] [stdout] test tests::test_doctor_check_creation ... ok
[INFO] [stdout] test runner::tests::fatal_cli_error_renders_json_when_requested ... ok
[INFO] [stdout] test types::tests::test_doctor_check_fail ... ok
[INFO] [stdout] test doctor::tests::doctor_report_for_tool_uses_repo_name_version_and_checks ... ok
[INFO] [stdout] test command::tests::maybe_run_standard_command_returns_none_without_metadata_command ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/completions.rs - completions::generate_completions (line 89) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 11) - compile ... 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] all doctests ran in 0.63s; merged doctests compilation took 0.61s
[INFO] running `Command { std: "docker" "inspect" "a6fad17d55beeece137a8ec4deb2d6359c214a47c8036b4a0cdb831498bcc4d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6fad17d55beeece137a8ec4deb2d6359c214a47c8036b4a0cdb831498bcc4d7", kill_on_drop: false }`
[INFO] [stdout] a6fad17d55beeece137a8ec4deb2d6359c214a47c8036b4a0cdb831498bcc4d7
