[INFO] fetching crate usage-lib 2.3.2... [INFO] testing usage-lib-2.3.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate usage-lib 2.3.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate usage-lib 2.3.2 [INFO] finished tweaking crates.io crate usage-lib 2.3.2 [INFO] tweaked toml for crates.io crate usage-lib 2.3.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate usage-lib 2.3.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate usage-lib 2.3.2 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-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3b1ddb544865abf6c1489f2f1bb5c1efd20e3587f1307633f7dd91ada437613 [INFO] running `Command { std: "docker" "start" "-a" "c3b1ddb544865abf6c1489f2f1bb5c1efd20e3587f1307633f7dd91ada437613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3b1ddb544865abf6c1489f2f1bb5c1efd20e3587f1307633f7dd91ada437613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b1ddb544865abf6c1489f2f1bb5c1efd20e3587f1307633f7dd91ada437613", kill_on_drop: false }` [INFO] [stdout] c3b1ddb544865abf6c1489f2f1bb5c1efd20e3587f1307633f7dd91ada437613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2ce2ec762d68348450d47bc7301f08a93b3fa89e50421e6732182213727adea [INFO] running `Command { std: "docker" "start" "-a" "d2ce2ec762d68348450d47bc7301f08a93b3fa89e50421e6732182213727adea", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling shared_thread v0.2.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling duct v1.1.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling homedir v0.3.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling kdl v6.5.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling xx v2.2.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling versions v7.0.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling usage-lib v2.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.83s [INFO] running `Command { std: "docker" "inspect" "d2ce2ec762d68348450d47bc7301f08a93b3fa89e50421e6732182213727adea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ce2ec762d68348450d47bc7301f08a93b3fa89e50421e6732182213727adea", kill_on_drop: false }` [INFO] [stdout] d2ce2ec762d68348450d47bc7301f08a93b3fa89e50421e6732182213727adea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3997c3f2d1215e9388806f1e198e5056087cf7174a8f4aba25034696acb7d419 [INFO] running `Command { std: "docker" "start" "-a" "3997c3f2d1215e9388806f1e198e5056087cf7174a8f4aba25034696acb7d419", kill_on_drop: false }` [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling dtor v0.1.0 [INFO] [stderr] Compiling ctor v0.5.0 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling usage-lib v2.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "3997c3f2d1215e9388806f1e198e5056087cf7174a8f4aba25034696acb7d419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3997c3f2d1215e9388806f1e198e5056087cf7174a8f4aba25034696acb7d419", kill_on_drop: false }` [INFO] [stdout] 3997c3f2d1215e9388806f1e198e5056087cf7174a8f4aba25034696acb7d419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acb4a3d9e6e8c9bb05859d8667db953b3d21abb4add2f8e06a02343e82e117c4 [INFO] running `Command { std: "docker" "start" "-a" "acb4a3d9e6e8c9bb05859d8667db953b3d21abb4add2f8e06a02343e82e117c4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/usage-20e691f6c98a8ad3) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test parse::tests::test_as_env ... ok [INFO] [stdout] test parse::tests::test_parse ... ok [INFO] [stdout] test test::test_parse ... ok [INFO] [stdout] test test::test_arg_not_required_if_default ... ok [INFO] [stdout] test test::test_flag_not_required_if_default ... ok [INFO] [stdout] test spec::flag::tests::from_str ... ok [INFO] [stdout] test spec::tests::test_display ... ok [INFO] [stdout] test spec::config::tests::test_config_defaults ... ok [INFO] [stdout] test docs::markdown::flag::tests::test_render_markdown_flag ... ok [INFO] [stdout] test docs::markdown::arg::tests::test_render_markdown_arg ... ok [INFO] [stdout] test docs::markdown::cmd::tests::test_render_markdown_cmd ... ok [INFO] [stdout] test docs::markdown::spec::tests::test_render_markdown_spec ... ok [INFO] [stdout] test complete::zsh::tests::test_complete_zsh ... FAILED [INFO] [stdout] test complete::bash::tests::test_complete_bash ... FAILED [INFO] [stdout] test complete::fish::tests::test_complete_fish ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- complete::zsh::tests::test_complete_zsh stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/complete/snapshots/usage__complete__zsh__tests__complete_zsh.snap [INFO] [stdout] Snapshot: complete_zsh [INFO] [stdout] Source: src/complete/zsh.rs:117 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: complete_zsh(&CompleteOptions [INFO] [stdout] { [INFO] [stdout] usage_bin: "usage".to_string(), shell: "zsh".to_string(), bin: [INFO] [stdout] "mycli".to_string(), cache_key: None, spec: None, usage_cmd: [INFO] [stdout] Some("mycli complete --usage".to_string()), include_bash_completion_lib: [INFO] [stdout] false, source_file: None, [INFO] [stdout] }) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │+#compdef mycli [INFO] [stdout] 2 │+# @generated by usage-cli from usage spec [INFO] [stdout] 3 │+local curcontext="$curcontext" [INFO] [stdout] 4 │+ [INFO] [stdout] 5 │+# caching config [INFO] [stdout] 6 │+_usage_mycli_cache_policy() { [INFO] [stdout] 7 │+ if [[ -z "${lifetime}" ]]; then [INFO] [stdout] 8 │+ lifetime=$((60*60*4)) # 4 hours [INFO] [stdout] 9 │+ fi [INFO] [stdout] 10 │+ local -a oldp [INFO] [stdout] 11 │+ oldp=( "$1"(Nms+${lifetime}) ) [INFO] [stdout] 12 │+ (( $#oldp )) [INFO] [stdout] 13 │+} [INFO] [stdout] 14 │+ [INFO] [stdout] 15 │+_mycli() { [INFO] [stdout] 16 │+ typeset -A opt_args [INFO] [stdout] 17 │+ local curcontext="$curcontext" cache_policy [INFO] [stdout] 18 │+ [INFO] [stdout] 19 │+ if ! type -p usage &> /dev/null; then [INFO] [stdout] 20 │+ echo >&2 [INFO] [stdout] 21 │+ echo "Error: usage CLI not found. This is required for completions to work in mycli." >&2 [INFO] [stdout] 22 │+ echo "See https://usage.jdx.dev for more information." >&2 [INFO] [stdout] 23 │+ return 1 [INFO] [stdout] 24 │+ fi [INFO] [stdout] 25 │+ [INFO] [stdout] 26 │+ local spec_file="${TMPDIR:-/tmp}/usage__usage_spec_mycli.spec" [INFO] [stdout] 27 │+ mycli complete --usage > "$spec_file" [INFO] [stdout] 28 │+ _arguments "*: :(($(command usage complete-word --shell zsh -f "$spec_file" -- "${words[@]}" )))" [INFO] [stdout] 29 │+ return 0 [INFO] [stdout] 30 │+} [INFO] [stdout] 31 │+ [INFO] [stdout] 32 │+if [ "$funcstack[1]" = "_mycli" ]; then [INFO] [stdout] 33 │+ _mycli "$@" [INFO] [stdout] 34 │+else [INFO] [stdout] 35 │+ compdef _mycli mycli [INFO] [stdout] 36 │+fi [INFO] [stdout] 37 │+ [INFO] [stdout] 38 │+# vim: noet ci pi sts=0 sw=4 ts=4 [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'complete::zsh::tests::test_complete_zsh' (26) panicked at src/complete/zsh.rs:117:9: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff5815adda2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff5815adda2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff5815adda2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ff5815adda2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ff5815c193f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ff5815c193f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ff581578f21 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff581578f21 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ff581585b82 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ff58158b66f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ff58158b501 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ff580d7747e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5ff580d7747e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff58158bd2f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5ff58158bd2f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ff58158bb8a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ff581585cb9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ff58156c13d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ff5815cc2f0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ff5815cb026 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5ff580cb69c3 - core::result::Result::unwrap::h0b20124130f3bc8e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5ff580cb69c3 - usage::complete::zsh::tests::test_complete_zsh::hbaec6aa29968dfbf [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:117:9 [INFO] [stdout] 22: 0x5ff580cb7a67 - usage::complete::zsh::tests::test_complete_zsh::{{closure}}::h526714d570deb2b7 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:116:27 [INFO] [stdout] 23: 0x5ff580cd1c56 - core::ops::function::FnOnce::call_once::h0714691aa4189dbb [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff580d7723b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff580d7723b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ff580d8cea5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ff580d8cea5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5ff580d8cea5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5ff580d8cea5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5ff580d8cea5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff580d8cea5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ff580d8cea5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ff580d63694 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ff580d63694 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ff580d66f5a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5ff580d66f5a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5ff580d66f5a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5ff580d66f5a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ff580d66f5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff581580c2f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5ff581580c2f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x723e5b091aa4 - [INFO] [stdout] 45: 0x723e5b11ea34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- complete::bash::tests::test_complete_bash stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/complete/snapshots/usage__complete__bash__tests__complete_bash.snap [INFO] [stdout] Snapshot: complete_bash [INFO] [stdout] Source: src/complete/bash.rs:100 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: complete_bash(&CompleteOptions [INFO] [stdout] { [INFO] [stdout] usage_bin: "usage".to_string(), shell: "bash".to_string(), bin: [INFO] [stdout] "mycli".to_string(), cache_key: None, spec: None, usage_cmd: [INFO] [stdout] Some("mycli complete --usage".to_string()), include_bash_completion_lib: [INFO] [stdout] false, source_file: None, [INFO] [stdout] }) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │+# @generated by usage-cli from usage spec [INFO] [stdout] 2 │+_mycli() { [INFO] [stdout] 3 │+ if ! type -p usage &> /dev/null; then [INFO] [stdout] 4 │+ echo >&2 [INFO] [stdout] 5 │+ echo "Error: usage CLI not found. This is required for completions to work in mycli." >&2 [INFO] [stdout] 6 │+ echo "See https://usage.jdx.dev for more information." >&2 [INFO] [stdout] 7 │+ return 1 [INFO] [stdout] 8 │+ fi [INFO] [stdout] 9 │+ [INFO] [stdout] 10 │+ local cur prev words cword was_split comp_args [INFO] [stdout] 11 │+ _comp_initialize -n : -- "$@" || return [INFO] [stdout] 12 │+ local spec_file="${TMPDIR:-/tmp}/usage__usage_spec_mycli.spec" [INFO] [stdout] 13 │+ mycli complete --usage > "$spec_file" [INFO] [stdout] 14 │+ # shellcheck disable=SC2207 [INFO] [stdout] 15 │+ _comp_compgen -- -W "$(command usage complete-word --shell bash -f "$spec_file" --cword="$cword" -- "${words[@]}")" [INFO] [stdout] 16 │+ _comp_ltrim_colon_completions "$cur" [INFO] [stdout] 17 │+ # shellcheck disable=SC2181 [INFO] [stdout] 18 │+ if [[ $? -ne 0 ]]; then [INFO] [stdout] 19 │+ unset COMPREPLY [INFO] [stdout] 20 │+ fi [INFO] [stdout] 21 │+ return 0 [INFO] [stdout] 22 │+} [INFO] [stdout] 23 │+ [INFO] [stdout] 24 │+if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] 25 │+ shopt -u hostcomplete && complete -o nospace -o bashdefault -o nosort -F _mycli mycli [INFO] [stdout] 26 │+else [INFO] [stdout] 27 │+ shopt -u hostcomplete && complete -o nospace -o bashdefault -F _mycli mycli [INFO] [stdout] 28 │+fi [INFO] [stdout] 29 │+# vim: noet ci pi sts=0 sw=4 ts=4 ft=sh [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'complete::bash::tests::test_complete_bash' (24) panicked at src/complete/bash.rs:100:9: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff5815adda2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff5815adda2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff5815adda2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ff5815adda2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ff5815c193f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ff5815c193f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ff581578f21 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff581578f21 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ff581585b82 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ff58158b66f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ff58158b501 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ff580d7747e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5ff580d7747e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff58158bd2f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5ff58158bd2f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ff58158bb8a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ff581585cb9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ff58156c13d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ff5815cc2f0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ff5815cb026 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5ff580cfa423 - core::result::Result::unwrap::h0b20124130f3bc8e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5ff580cfa423 - usage::complete::bash::tests::test_complete_bash::h2d74a0386fdf8fe0 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:100:9 [INFO] [stdout] 22: 0x5ff580cfb4c7 - usage::complete::bash::tests::test_complete_bash::{{closure}}::h5ec08b1f3b9778bc [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:99:28 [INFO] [stdout] 23: 0x5ff580cd26d6 - core::ops::function::FnOnce::call_once::haf8546b887a070c8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff580d7723b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff580d7723b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ff580d8cea5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ff580d8cea5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5ff580d8cea5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5ff580d8cea5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5ff580d8cea5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff580d8cea5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ff580d8cea5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ff580d63694 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ff580d63694 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ff580d66f5a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5ff580d66f5a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5ff580d66f5a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5ff580d66f5a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ff580d66f5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff581580c2f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5ff581580c2f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x723e5b091aa4 - [INFO] [stdout] 45: 0x723e5b11ea34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- complete::fish::tests::test_complete_fish stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/complete/snapshots/usage__complete__fish__tests__complete_fish.snap [INFO] [stdout] Snapshot: complete_fish [INFO] [stdout] Source: src/complete/fish.rs:91 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: complete_fish(&CompleteOptions [INFO] [stdout] { [INFO] [stdout] usage_bin: "usage".to_string(), shell: "fish".to_string(), bin: [INFO] [stdout] "mycli".to_string(), cache_key: None, spec: None, usage_cmd: [INFO] [stdout] Some("mycli complete --usage".to_string()), include_bash_completion_lib: [INFO] [stdout] false, source_file: None, [INFO] [stdout] }) [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │+# @generated by usage-cli from usage spec [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+# if "usage" is not installed show an error [INFO] [stdout] 4 │+if ! type -p usage &> /dev/null [INFO] [stdout] 5 │+ echo >&2 [INFO] [stdout] 6 │+ echo "Error: usage CLI not found. This is required for completions to work in mycli." >&2 [INFO] [stdout] 7 │+ echo "See https://usage.jdx.dev for more information." >&2 [INFO] [stdout] 8 │+ return 1 [INFO] [stdout] 9 │+end [INFO] [stdout] 10 │+set -l tmpdir (if set -q TMPDIR; echo $TMPDIR; else; echo /tmp; end) [INFO] [stdout] 11 │+set -l spec_file "$tmpdir/usage__usage_spec_mycli.spec" [INFO] [stdout] 12 │+mycli complete --usage | string collect > "$spec_file" [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+set -l tokens [INFO] [stdout] 15 │+if commandline -x >/dev/null 2>&1 [INFO] [stdout] 16 │+ complete -xc mycli -a "(command usage complete-word --shell fish -f \"$spec_file\" -- (commandline -xpc) (commandline -t))" [INFO] [stdout] 17 │+else [INFO] [stdout] 18 │+ complete -xc mycli -a "(command usage complete-word --shell fish -f \"$spec_file\" -- (commandline -opc) (commandline -t))" [INFO] [stdout] 19 │+end [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'complete::fish::tests::test_complete_fish' (25) panicked at src/complete/fish.rs:91:9: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff5815adda2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff5815adda2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff5815adda2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ff5815adda2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ff5815c193f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ff5815c193f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ff581578f21 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff581578f21 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ff581585b82 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ff58158b66f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ff58158b501 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ff580d7747e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5ff580d7747e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff58158bd2f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5ff58158bd2f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ff58158bb8a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ff581585cb9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ff58156c13d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ff5815cc2f0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ff5815cb026 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5ff580cb9303 - core::result::Result::unwrap::h0b20124130f3bc8e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5ff580cb9303 - usage::complete::fish::tests::test_complete_fish::hbe9a5858e69f9e2a [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:91:9 [INFO] [stdout] 22: 0x5ff580cba4e7 - usage::complete::fish::tests::test_complete_fish::{{closure}}::hef1766c22adc777d [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:90:28 [INFO] [stdout] 23: 0x5ff580cd2b16 - core::ops::function::FnOnce::call_once::he7b13ecbd3fc44d0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff580d7723b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff580d7723b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ff580d8cea5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ff580d8cea5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5ff580d8cea5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5ff580d8cea5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5ff580d8cea5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff580d8cea5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ff580d8cea5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ff580d63694 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ff580d63694 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ff580d66f5a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5ff580d66f5a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5ff580d66f5a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5ff580d66f5a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff580d66f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ff580d66f5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff581580c2f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5ff581580c2f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x723e5b091aa4 - [INFO] [stdout] 45: 0x723e5b11ea34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] complete::bash::tests::test_complete_bash [INFO] [stdout] complete::fish::tests::test_complete_fish [INFO] [stdout] complete::zsh::tests::test_complete_zsh [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.40s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "acb4a3d9e6e8c9bb05859d8667db953b3d21abb4add2f8e06a02343e82e117c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb4a3d9e6e8c9bb05859d8667db953b3d21abb4add2f8e06a02343e82e117c4", kill_on_drop: false }` [INFO] [stdout] acb4a3d9e6e8c9bb05859d8667db953b3d21abb4add2f8e06a02343e82e117c4