[INFO] fetching crate wrap-command 0.4.0...
[INFO] testing wrap-command-0.4.0 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate wrap-command 0.4.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate wrap-command 0.4.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate wrap-command 0.4.0
[INFO] tweaked toml for crates.io crate wrap-command 0.4.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wrap-command 0.4.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate wrap-command 0.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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ureq-proto v0.6.2
[INFO] [stderr]   Downloaded fundu v2.1.1
[INFO] [stderr]   Downloaded mockito v1.7.2
[INFO] [stderr]   Downloaded fundu-core v0.4.1
[INFO] [stderr]   Downloaded clap_complete v4.6.9
[INFO] [stderr]   Downloaded ureq v3.4.1
[INFO] [stderr]   Downloaded rustls v0.23.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53
[INFO] running `Command { std: "docker" "start" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", 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" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", 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" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling syn v3.0.5
[INFO] [stderr]    Compiling rustls v0.23.44
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling nix v0.31.3
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling clap_builder v4.6.6
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling base64 v0.23.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling flate2 v1.1.10
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling utf8-zero v0.8.1
[INFO] [stderr]    Compiling fundu-core v0.4.1
[INFO] [stderr]    Compiling ureq-proto v0.6.2
[INFO] [stderr]    Compiling fundu v2.1.1
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling fs4 v1.1.0
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling clap v4.6.6
[INFO] [stderr]    Compiling clap_complete v4.6.9
[INFO] [stderr]    Compiling ureq v3.4.1
[INFO] [stderr]    Compiling wrap-command v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.19s
[INFO] running `Command { std: "docker" "inspect" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", 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" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling smallvec v1.16.1
[INFO] [stderr]    Compiling mio v1.2.3
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling rustls v0.23.44
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rand v0.9.5
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling ureq-proto v0.6.2
[INFO] [stderr]    Compiling http-body-util v0.1.5
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling colored v3.1.1
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling ureq v3.4.1
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling h2 v0.4.19
[INFO] [stderr]    Compiling wrap-command v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling hyper v1.11.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling mockito v1.7.2
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 40.42s
[INFO] running `Command { std: "docker" "inspect" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", 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" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wrap_command-3feacc8cca1aaffb)
[INFO] [stdout] 
[INFO] [stdout] running 97 tests
[INFO] [stdout] test clap_test::test_invalid_lock_timeout_format ... ok
[INFO] [stdout] test clap_test::parse_args_wait ... ok
[INFO] [stdout] test clap_test::test_args_default ... ok
[INFO] [stdout] test clap_test::parse_args ... ok
[INFO] [stdout] test clap_test::test_invalid_command_timeout_format ... ok
[INFO] [stdout] test clap_test::test_invalid_retry_delay_format ... ok
[INFO] [stdout] test clap_test::test_invalid_network_check_timeout_format ... ok
[INFO] [stdout] test clap_test::test_invalid_retry_wait_format ... ok
[INFO] [stdout] test clap_test::test_invalid_signal_timeout_format ... ok
[INFO] [stdout] test clap_test::test_invalid_url_retry_delay_format ... ok
[INFO] [stdout] test clap_test::test_parse_verbose ... ok
[INFO] [stdout] test clap_test::test_retries_negative_invalid ... ok
[INFO] [stdout] test clap_test::test_lock_timeout_requires_lockfile ... ok
[INFO] [stdout] test clap_test::test_parse_args_default_signal ... ok
[INFO] [stdout] test clap_test::test_retries_unlimited_parsing ... ok
[INFO] [stdout] test clap_test::test_retries_invalid_string ... ok
[INFO] [stdout] test clap_test::test_retry_delay_and_retry_wait_conflict ... ok
[INFO] [stdout] test clap_test::test_signal_requires_command_timeout_ms ... ok
[INFO] [stdout] test clap_test::test_retry_delay_requires_retries ... ok
[INFO] [stdout] test clap_test::test_retry_wait_requires_retries ... ok
[INFO] [stdout] test clap_test::verify ... ok
[INFO] [stdout] test clap_test::test_signal_timeout_requires_command_timeout_ms ... ok
[INFO] [stdout] test duration_parsing_tests::test_parse_duration_invalid ... ok
[INFO] [stdout] test duration_parsing_tests::test_parse_duration_valid ... ok
[INFO] [stdout] test duration_parsing_tests::test_lock_file_permissions ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_network_check ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_shell ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_no_modification ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_caffeinate ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_shell_caffeinate ... ok
[INFO] [stdout] test lock_file::test_lock_file_error ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_tmux_verbose ... ok
[INFO] [stdout] test make_command_to_run::test_make_command_to_run_tmux ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_all_args ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_basic ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_custom_network_check_url ... ok
[INFO] [stdout] test make_command_to_run::test_network_check_dns_failure ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_forward_urls ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_retry_args ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_verbose ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_wait ... ok
[INFO] [stdout] test make_command_to_run::test_network_check_success ... ok
[INFO] [stdout] test make_command_to_run::test_network_check_failure ... ok
[INFO] [stdout] test make_command_to_run::test_network_check_timeout_zero ... ok
[INFO] [stdout] test make_tmux_command::test_make_tmux_command_no_window_name - should panic ... ok
[INFO] [stdout] test lock_file::test_lock_file_timeout ... ok
[INFO] [stdout] test ping_tests::test_ping_url_exhausts_retries ... ok
[INFO] [stdout] test ping_tests::test_ping_url_success_after_retry ... ok
[INFO] [stdout] test ping_tests::test_ping_url_success_first_try ... ok
[INFO] [stdout] test ping_tests::test_ping_url_verbose_retry_and_exhaust ... ok
[INFO] [stdout] test ping_tests::test_ping_url_verbose_success ... ok
[INFO] [stdout] test make_command_to_run::test_network_check_timeout ... ok
[INFO] [stdout] test push_opt_tests::test_push_opt_none ... ok
[INFO] [stdout] test push_opt_tests::test_push_opt_some_string ... ok
[INFO] [stdout] test push_opt_tests::test_push_opt_some_u64 ... ok
[INFO] [stdout] test ping_tests::test_failure_does_not_trigger_success_url ... ok
[INFO] [stdout] test ping_tests::test_ping_failure ... ok
[INFO] [stderr] Error: Failed to execute 'command_does_not_exist': No such file or directory (os error 2)
[INFO] [stdout] test ping_tests::test_ping_failure_on_command_error ... ok
[INFO] [stdout] test ping_tests::test_ping_success ... ok
[INFO] [stdout] test realmain::test_realmain_output_shell_completion ... ok
[INFO] [stderr] Failed to ping URL http://127.0.0.1:34221/failure after 5 retries: http status: 500
[INFO] [stdout] test ping_tests::test_ping_url_error ... ok
[INFO] [stdout] test ping_tests::test_success_does_not_trigger_failure_url ... ok
[INFO] [stderr] Error: Command 'sh' terminated by signal 9
[INFO] [stdout] test realmain::test_realmain_command_terminated_by_signal ... ok
[INFO] [stdout] test realmain::test_realmain_error_no_url ... ok
[INFO] [stderr] Error: Failed to execute 'command_does_not_exist': No such file or directory (os error 2)
[INFO] [stdout] foo
[INFO] [stdout] test realmain::test_realmain_wait ... ok
[INFO] [stdout] test run_command::test_kill_child_process_group_killpg_error ... ok
[INFO] [stdout] test realmain::test_realmain_with_tmux_window_name ... ok
[INFO] [stdout] test realmain::test_realmain_verbose_success_and_webhook ... ok
[INFO] [stdout] test realmain::test_realmain_fail_no_url ... ok
[INFO] [stdout] test realmain::test_realmain_success_no_url ... ok
[INFO] [stdout] 
[INFO] [stdout] test realmain::test_realmain_with_shell ... ok
[INFO] [stdout] test run_command::test_run_command_in_directory ... ok
[INFO] [stdout] test run_command::test_run_command_directory_not_a_directory ... ok
[INFO] [stdout] test run_command::test_run_command_fail ... ok
[INFO] [stdout] test run_command::test_run_command_invalid_signal ... ok
[INFO] [stdout] test realmain::test_realmain_lock_timeout ... ok
[INFO] [stderr] Error: Timeout waiting for lockfile '/tmp/.tmp3AubAD' after 100ms
[INFO] [stdout] test run_command::test_run_command_directory_does_not_exist ... ok
[INFO] [stdout] test run_command::test_run_command_lock_timeout ... ok
[INFO] [stdout] test run_command::test_run_command_not_found ... ok
[INFO] [stdout] test run_command::test_run_command_retry_no_retry_on_success ... ok
[INFO] [stdout] test run_command::test_run_command_retry_wait_custom_directory ... ok
[INFO] [stdout] test run_command::test_run_command_retry_wait ... ok
[INFO] [stdout] test run_command::test_run_command_retry_success_after_failure ... ok
[INFO] [stdout] test run_command::test_run_command_terminated_by_signal ... ok
[INFO] [stdout] test run_command::test_run_command_verbose_command_failure ... ok
[INFO] [stdout] test run_command::test_run_command_verbose_lock_and_network ... ok
[INFO] [stdout] test run_command::test_run_command_retry_unlimited ... ok
[INFO] [stdout] test run_command::test_run_command_verbose_retry_exhausted ... ok
[INFO] [stdout] test terminal_guard_tests::test_manage_child_process_in_pty ... ok
[INFO] [stdout] test terminal_guard_tests::test_terminal_foreground_guard_not_a_terminal ... ok
[INFO] [stdout] test run_command::test_run_command_verbose_retry_unlimited ... ok
[INFO] [stdout] test lock_file::test_lock_file_retry ... ok
[INFO] [stdout] test run_command::test_run_command_signal_timeout_kill ... ok
[INFO] [stdout] foo
[INFO] [stdout] test run_command::test_run_command_success ... ok
[INFO] [stdout] test run_command::test_run_command_success_with_timeout ... ok
[INFO] [stdout] test run_command::test_run_command_retry_exhausted ... ok
[INFO] [stdout] test run_command::test_run_command_timeout ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 97 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-fff15ef5a1b79a7b)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] A program that wraps a command, optionally:
[INFO] [stdout] - using a lock to ensure only one instance is running (--lockfile)
[INFO] [stdout]   - either failing immediately if the lock is held or waiting for a
[INFO] [stdout]     configurable time for the lock to be released (--lock_timeout)
[INFO] [stdout] - running the command with a timeout (--command_timeout)
[INFO] [stdout]   - the signal to send can be specified with --signal, it defaults
[INFO] [stdout]     to SIGTERM (15).
[INFO] [stdout]   - the time to wait for the child to exit after sending the signal
[INFO] [stdout]     can be specified with --signal_timeout, it defaults to 1s.
[INFO] [stdout]     If the child process is still running after this time, it is
[INFO] [stdout]     killed with SIGKILL (9).
[INFO] [stdout] - retrying the command if it fails (--retries, -1 for unlimited)
[INFO] [stdout]   - the delay between retries can be specified with --retry_delay.
[INFO] [stdout]   - alternatively, wait for the user to press enter before retrying with --retry_wait.
[INFO] [stdout] - running the command from a different directory (--directory)
[INFO] [stdout] - passing the command to `sh -c` so shell metacharacters like && or
[INFO] [stdout]   $() can be used (--shell)
[INFO] [stdout] - running the command in a new tmux window (--tmux_window_name)
[INFO] [stdout] - preventing the system from sleeping (--caffeinate)
[INFO] [stdout] - waiting for network connectivity (--network_check_timeout)
[INFO] [stdout]   - waits for http://clients3.google.com/generate_204 to be reachable.
[INFO] [stdout]   - 0s means wait forever, otherwise timeout after that duration.
[INFO] [stdout] - waiting for the user to press enter after the command has finished (--wait)
[INFO] [stdout] - printing verbose progress messages (-v, --verbose)
[INFO] [stdout] Any combination of unindented flags is supported.  The indented flags
[INFO] [stdout] require the flag they are indented under.
[INFO] [stdout] 
[INFO] [stdout] Timeout / Duration Formats:
[INFO] [stdout]   Timeouts can be specified as a number followed by an optional unit:
[INFO] [stdout]   - ns, us (or µs), ms, s, m, h, d, w, M, y (e.g., 500ms, 1.5s, 2h).
[INFO] [stdout]   - If no unit is specified, seconds (s) is assumed (e.g., 10 is parsed as 10s).
[INFO] [stdout]   - Standard floating-point values are supported (e.g., 1.5s, .5h, 2e-3s).
[INFO] [stdout]   - Multiple units or negative values are not supported (e.g., 1s2ms, -5s are invalid).
[INFO] [stdout] 
[INFO] [stdout] test test_cli_run_command_directory_not_found ... ok
[INFO] [stdout] test test_cli_run_command_short_verbose ... ok
[INFO] [stdout] test test_cli_run_command_not_found ... wrap-command 0.4.0
[INFO] [stdout] ok
[INFO] [stdout] test test_cli_run_command_verbose ... ok
[INFO] [stdout] test test_cli_run_command_success ... ok
[INFO] [stdout] test test_cli_run_command_failure ... ok
[INFO] [stdout] test test_cli_version ... ok
[INFO] [stdout] Usage: wrap-command [OPTIONS] [COMMAND]...
[INFO] [stdout] 
[INFO] [stdout] Arguments:
[INFO] [stdout]   [COMMAND]...
[INFO] [stdout]           The command to run
[INFO] [stdout] 
[INFO] [stdout] Options:
[INFO] [stdout]   -h, --help
[INFO] [stdout]           Print help (see a summary with '-h')
[INFO] [stdout] 
[INFO] [stdout]   -V, --version
[INFO] [stdout]           Print version
[INFO] [stdout] 
[INFO] [stdout] Execution & Environment:
[INFO] [stdout]   -v, --verbose
[INFO] [stdout]           Enable verbose output
[INFO] [stdout] 
[INFO] [stdout]       --directory <DIRECTORY>
[INFO] [stdout]           The directory to run the command in. wrap-command itself doesn't change directory, it's just changed for the child process, so using --directory doesn't affect the location of the lock file. When retries are used the directory is changed for each new child process, so if the directory is changed, e.g. by replacing it with a symlink, a later child process would run in a different directory
[INFO] [stdout] 
[INFO] [stdout]       --shell
[INFO] [stdout]           Prepend `"sh" "-c"` to the command.  Doesn't otherwise change the
[INFO] [stdout]           command, in particular if you use `--shell` with multiple arguments they
[INFO] [stdout]           will be passed as separate arguments to `sh`. E.g.
[INFO] [stdout]             "wrap-command" "--shell" "ls" "foo" "bar"
[INFO] [stdout]           results in:
[INFO] [stdout]             "sh" "-c" "ls" "foo" "bar"
[INFO] [stdout]           *not*:
[INFO] [stdout]             "sh" "-c" "ls foo bar"
[INFO] [stdout] 
[INFO] [stdout]       --tmux_window_name <TMUX_WINDOW_NAME>
[INFO] [stdout]           Run the command in a new tmux window with the specified name. This is implemented by running `tmux new-window -d -n <window_name> /path/to/wrap-command <reconstructed_flags> <target_command>`
[INFO] [stdout] 
[INFO] [stdout]       --caffeinate
[INFO] [stdout]           Prevent the system from sleeping while the command is running
[INFO] [stdout] 
[INFO] [stdout]       --retries <RETRIES>
[INFO] [stdout]           Number of retries when running the command. Use -1 for unlimited retries
[INFO] [stdout] 
[INFO] [stdout]       --retry_delay <RETRY_DELAY>
[INFO] [stdout]           Delay between retries when running the command
[INFO] [stdout] 
[INFO] [stdout]       --retry_wait
[INFO] [stdout]           Wait for the user to press enter before retrying the command
[INFO] [stdout] 
[INFO] [stdout]       --wait
[INFO] [stdout]           Wait for the user to press enter after the command has finished
[INFO] [stdout] 
[INFO] [stdout] Network & Connectivity:
[INFO] [stdout]       --network_check_timeout <NETWORK_CHECK_TIMEOUT>
[INFO] [stdout]           Wait for network connectivity before running the command. 0s: wait forever. Otherwise: timeout duration
[INFO] [stdout] 
[INFO] [stdout] Exclusivity & Locking:
[INFO] [stdout]       --lockfile <LOCKFILE>
[INFO] [stdout]           The path to the lockfile
[INFO] [stdout] 
[INFO] [stdout]       --lock_timeout <LOCK_TIMEOUT>
[INFO] [stdout]           The lock_timeout duration
[INFO] [stdout] 
[INFO] [stdout] Timeouts & Signal Control:
[INFO] [stdout]       --command_timeout <COMMAND_TIMEOUT>
[INFO] [stdout]           The command_timeout duration
[INFO] [stdout] 
[INFO] [stdout]       --signal <SIGNAL>
[INFO] [stdout]           The signal to send to the command if it times out. Can be a signal name (e.g. "SIGTERM") or a signal number (e.g. "15"). Defaults to SIGINT (2) if not specified
[INFO] [stdout]           
[INFO] [stdout]           [default: SIGTERM]
[INFO] [stdout] 
[INFO] [stdout]       --signal_timeout <SIGNAL_TIMEOUT>
[INFO] [stdout]           The time to wait for the child to exit after sending signal
[INFO] [stdout]           
[INFO] [stdout]           [default: 1s]
[INFO] [stdout] 
[INFO] [stdout] Notifications & Hooks:
[INFO] [stdout]       --success_url <SUCCESS_URL>
[INFO] [stdout]           Ping this URL on success, e.g. https://hc-ping.com/....
[INFO] [stdout] 
[INFO] [stdout]       --failure_url <FAILURE_URL>
[INFO] [stdout]           Ping this URL on failure, e.g. https://hc-ping.com/....
[INFO] [stdout] 
[INFO] [stdout]       --url_retry_count <URL_RETRY_COUNT>
[INFO] [stdout]           Number of retries when pinging success/failure URLs
[INFO] [stdout]           
[INFO] [stdout]           [default: 5]
[INFO] [stdout] 
[INFO] [stdout]       --url_retry_delay <URL_RETRY_DELAY>
[INFO] [stdout]           Delay between retries when pinging success/failure URLs
[INFO] [stdout]           
[INFO] [stdout]           [default: 1s]
[INFO] [stdout] 
[INFO] [stdout] Shell Completion:
[INFO] [stdout]       --output_shell_completion <OUTPUT_SHELL_COMPLETION>
[INFO] [stdout]           Output shell completion code for the specified shell
[INFO] [stdout]           
[INFO] [stdout]           [possible values: bash, elvish, fish, powershell, zsh]
[INFO] [stdout] test test_cli_help ... ok
[INFO] [stdout] test test_cli_interactive_in_pty ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53", kill_on_drop: false }`
[INFO] [stdout] f1ff1f9a6b4cb2049818edccd25ced92ae919f9632b0f7ae64e7557f37131a53
