[INFO] fetching crate usage-lib 2.3.1... [INFO] testing usage-lib-2.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate usage-lib 2.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate usage-lib 2.3.1 [INFO] finished tweaking crates.io crate usage-lib 2.3.1 [INFO] tweaked toml for crates.io crate usage-lib 2.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate usage-lib 2.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate usage-lib 2.3.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57f8524c3100345257cc835080c1e12a2693b4fc15605c7b0b75460bf9f96c1f [INFO] running `Command { std: "docker" "start" "-a" "57f8524c3100345257cc835080c1e12a2693b4fc15605c7b0b75460bf9f96c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57f8524c3100345257cc835080c1e12a2693b4fc15605c7b0b75460bf9f96c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f8524c3100345257cc835080c1e12a2693b4fc15605c7b0b75460bf9f96c1f", kill_on_drop: false }` [INFO] [stdout] 57f8524c3100345257cc835080c1e12a2693b4fc15605c7b0b75460bf9f96c1f [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72bdee1ec8f924d9fa74b497d6b25436369a2bb273accc4617b25c15b72892dc [INFO] running `Command { std: "docker" "start" "-a" "72bdee1ec8f924d9fa74b497d6b25436369a2bb273accc4617b25c15b72892dc", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling shared_thread v0.2.0 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling duct v1.1.0 [INFO] [stderr] Compiling homedir v0.3.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling kdl v6.5.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling versions v7.0.0 [INFO] [stderr] Compiling xx v2.2.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling usage-lib v2.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.42s [INFO] running `Command { std: "docker" "inspect" "72bdee1ec8f924d9fa74b497d6b25436369a2bb273accc4617b25c15b72892dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72bdee1ec8f924d9fa74b497d6b25436369a2bb273accc4617b25c15b72892dc", kill_on_drop: false }` [INFO] [stdout] 72bdee1ec8f924d9fa74b497d6b25436369a2bb273accc4617b25c15b72892dc [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36835b3e6481b9ebdef9938a3f5e3cbdc3871b816f8d25734f5cf53a8134cf8d [INFO] running `Command { std: "docker" "start" "-a" "36835b3e6481b9ebdef9938a3f5e3cbdc3871b816f8d25734f5cf53a8134cf8d", kill_on_drop: false }` [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [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.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "36835b3e6481b9ebdef9938a3f5e3cbdc3871b816f8d25734f5cf53a8134cf8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36835b3e6481b9ebdef9938a3f5e3cbdc3871b816f8d25734f5cf53a8134cf8d", kill_on_drop: false }` [INFO] [stdout] 36835b3e6481b9ebdef9938a3f5e3cbdc3871b816f8d25734f5cf53a8134cf8d [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e186838f275f266605d48e1d5da0bbd329a61939b2df35eb6556d112bd1c74e [INFO] running `Command { std: "docker" "start" "-a" "2e186838f275f266605d48e1d5da0bbd329a61939b2df35eb6556d112bd1c74e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/usage-168c6f785271c901) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test parse::tests::test_parse ... ok [INFO] [stdout] test parse::tests::test_as_env ... ok [INFO] [stdout] test test::test_arg_not_required_if_default ... ok [INFO] [stdout] test test::test_parse ... 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::config::tests::test_config_defaults ... ok [INFO] [stdout] test spec::tests::test_display ... 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:120 [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 │+# @generated by usage-cli from usage spec [INFO] [stdout] 2 │+ [INFO] [stdout] 3 │+#compdef mycli [INFO] [stdout] 4 │+local curcontext="$curcontext" [INFO] [stdout] 5 │+ [INFO] [stdout] 6 │+# caching config [INFO] [stdout] 7 │+_usage_mycli_cache_policy() { [INFO] [stdout] 8 │+ if [[ -z "${lifetime}" ]]; then [INFO] [stdout] 9 │+ lifetime=$((60*60*4)) # 4 hours [INFO] [stdout] 10 │+ fi [INFO] [stdout] 11 │+ local -a oldp [INFO] [stdout] 12 │+ oldp=( "$1"(Nms+${lifetime}) ) [INFO] [stdout] 13 │+ (( $#oldp )) [INFO] [stdout] 14 │+} [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+_mycli() { [INFO] [stdout] 17 │+ typeset -A opt_args [INFO] [stdout] 18 │+ local curcontext="$curcontext" cache_policy [INFO] [stdout] 19 │+ [INFO] [stdout] 20 │+ if ! type -p usage &> /dev/null; then [INFO] [stdout] 21 │+ echo >&2 [INFO] [stdout] 22 │+ echo "Error: usage CLI not found. This is required for completions to work in mycli." >&2 [INFO] [stdout] 23 │+ echo "See https://usage.jdx.dev for more information." >&2 [INFO] [stdout] 24 │+ return 1 [INFO] [stdout] 25 │+ fi [INFO] [stdout] 26 │+ [INFO] [stdout] 27 │+ local spec_file="${TMPDIR:-/tmp}/usage__usage_spec_mycli.spec" [INFO] [stdout] 28 │+ mycli complete --usage > "$spec_file" [INFO] [stdout] 29 │+ _arguments "*: :(($(command usage complete-word --shell zsh -f "$spec_file" -- "${words[@]}" )))" [INFO] [stdout] 30 │+ return 0 [INFO] [stdout] 31 │+} [INFO] [stdout] 32 │+ [INFO] [stdout] 33 │+if [ "$funcstack[1]" = "_mycli" ]; then [INFO] [stdout] 34 │+ _mycli "$@" [INFO] [stdout] 35 │+else [INFO] [stdout] 36 │+ compdef _mycli mycli [INFO] [stdout] 37 │+fi [INFO] [stdout] 38 │+ [INFO] [stdout] 39 │+# vim: noet ci pi sts=0 sw=4 ts=4 [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'complete::zsh::tests::test_complete_zsh' (27) panicked at src/complete/zsh.rs:120: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: 0x616912616052 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x616912616052 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x616912616052 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x616912616052 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x616912629c4f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x616912629c4f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6169125e0a51 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6169125e0a51 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6169125ed9c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6169125f34bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6169125f3351 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x616911deafce - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x616911deafce - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6169125f3b7f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6169125f3b7f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6169125f39da - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6169125edaf9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6169125d3f0d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x616912634600 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x616912633336 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x616911d155f3 - core::result::Result::unwrap::h6d7029ed01c719eb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x616911d155f3 - usage::complete::zsh::tests::test_complete_zsh::hb2a612b1becff23c [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:120:9 [INFO] [stdout] 22: 0x616911d16877 - usage::complete::zsh::tests::test_complete_zsh::{{closure}}::had7501ea9033905d [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:119:27 [INFO] [stdout] 23: 0x616911d6d496 - core::ops::function::FnOnce::call_once::h4d72229f789285bf [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x616911deadab - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x616911deadab - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x616911e009d5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x616911e009d5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x616911e009d5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x616911e009d5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x616911e009d5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x616911e009d5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x616911e009d5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x616911dd71e4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x616911dd71e4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x616911ddab8a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x616911ddab8a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x616911ddab8a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x616911ddab8a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x616911ddab8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6169125e8a4f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6169125e8a4f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72233f919aa4 - [INFO] [stdout] 45: 0x72233f9a6a34 - 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' (25) 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: 0x616912616052 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x616912616052 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x616912616052 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x616912616052 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x616912629c4f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x616912629c4f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6169125e0a51 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6169125e0a51 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6169125ed9c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6169125f34bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6169125f3351 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x616911deafce - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x616911deafce - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6169125f3b7f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6169125f3b7f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6169125f39da - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6169125edaf9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6169125d3f0d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x616912634600 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x616912633336 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x616911d281d3 - core::result::Result::unwrap::h6d7029ed01c719eb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x616911d281d3 - usage::complete::bash::tests::test_complete_bash::h62a7b1f606edf950 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:100:9 [INFO] [stdout] 22: 0x616911d29457 - usage::complete::bash::tests::test_complete_bash::{{closure}}::hd7cf2e21920f51ac [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:99:28 [INFO] [stdout] 23: 0x616911d6d1d6 - core::ops::function::FnOnce::call_once::h240b5d08cbd6e0cb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x616911deadab - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x616911deadab - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x616911e009d5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x616911e009d5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x616911e009d5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x616911e009d5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x616911e009d5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x616911e009d5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x616911e009d5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x616911dd71e4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x616911dd71e4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x616911ddab8a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x616911ddab8a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x616911ddab8a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x616911ddab8a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x616911ddab8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6169125e8a4f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6169125e8a4f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72233f919aa4 - [INFO] [stdout] 45: 0x72233f9a6a34 - 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' (26) 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: 0x616912616052 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x616912616052 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x616912616052 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x616912616052 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x616912629c4f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x616912629c4f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6169125e0a51 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6169125e0a51 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6169125ed9c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6169125f34bf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6169125f3351 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x616911deafce - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x616911deafce - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6169125f3b7f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6169125f3b7f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6169125f39da - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6169125edaf9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6169125d3f0d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x616912634600 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x616912633336 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x616911d2ab13 - core::result::Result::unwrap::h6d7029ed01c719eb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x616911d2ab13 - usage::complete::fish::tests::test_complete_fish::h6d79c43e5a4fae81 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:91:9 [INFO] [stdout] 22: 0x616911d2bcf7 - usage::complete::fish::tests::test_complete_fish::{{closure}}::hbaae480f11eb15c9 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:90:28 [INFO] [stdout] 23: 0x616911d6d086 - core::ops::function::FnOnce::call_once::h09f6bc7b7d8f6be7 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x616911deadab - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x616911deadab - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x616911e009d5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x616911e009d5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x616911e009d5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x616911e009d5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x616911e009d5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x616911e009d5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x616911e009d5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x616911dd71e4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x616911dd71e4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x616911ddab8a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x616911ddab8a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x616911ddab8a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x616911ddab8a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x616911ddab8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x616911ddab8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6169125e8a4f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6169125e8a4f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72233f919aa4 - [INFO] [stdout] 45: 0x72233f9a6a34 - 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 0.44s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "2e186838f275f266605d48e1d5da0bbd329a61939b2df35eb6556d112bd1c74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e186838f275f266605d48e1d5da0bbd329a61939b2df35eb6556d112bd1c74e", kill_on_drop: false }` [INFO] [stdout] 2e186838f275f266605d48e1d5da0bbd329a61939b2df35eb6556d112bd1c74e