[INFO] fetching crate usage-lib 2.3.2... [INFO] testing usage-lib-2.3.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate usage-lib 2.3.2 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate usage-lib 2.3.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded homedir v0.3.5 [INFO] [stderr] Downloaded duct v1.1.0 [INFO] [stderr] Downloaded versions v7.0.0 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.6 [INFO] [stderr] Downloaded shared_thread v0.2.0 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.6 [INFO] [stderr] Downloaded dtor v0.1.0 [INFO] [stderr] Downloaded xx v2.2.0 [INFO] [stderr] Downloaded ctor v0.5.0 [INFO] [stderr] Downloaded kdl v6.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ef2db82dc19c578705a96ccd9b39bc310f223c3495cb84a739852e734ea04e1 [INFO] running `Command { std: "docker" "start" "-a" "7ef2db82dc19c578705a96ccd9b39bc310f223c3495cb84a739852e734ea04e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef2db82dc19c578705a96ccd9b39bc310f223c3495cb84a739852e734ea04e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef2db82dc19c578705a96ccd9b39bc310f223c3495cb84a739852e734ea04e1", kill_on_drop: false }` [INFO] [stdout] 7ef2db82dc19c578705a96ccd9b39bc310f223c3495cb84a739852e734ea04e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b11b7b5fe63edec1b76bc558e2e0f201c0c009ec2329ac62e4f56bd7eb37afd [INFO] running `Command { std: "docker" "start" "-a" "5b11b7b5fe63edec1b76bc558e2e0f201c0c009ec2329ac62e4f56bd7eb37afd", 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 crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.16 [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 crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 slug v0.1.6 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling duct v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling homedir v0.3.5 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling kdl v6.5.0 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling xx v2.2.0 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling versions v7.0.0 [INFO] [stderr] Compiling globwalk v0.9.1 [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 27.99s [INFO] running `Command { std: "docker" "inspect" "5b11b7b5fe63edec1b76bc558e2e0f201c0c009ec2329ac62e4f56bd7eb37afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b11b7b5fe63edec1b76bc558e2e0f201c0c009ec2329ac62e4f56bd7eb37afd", kill_on_drop: false }` [INFO] [stdout] 5b11b7b5fe63edec1b76bc558e2e0f201c0c009ec2329ac62e4f56bd7eb37afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9189c3e9e7559aa56e814f5ddc6f0c7dc0cc90b60369fa2f9ceeab0cabdb06f [INFO] running `Command { std: "docker" "start" "-a" "f9189c3e9e7559aa56e814f5ddc6f0c7dc0cc90b60369fa2f9ceeab0cabdb06f", kill_on_drop: false }` [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling similar v2.7.0 [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 6.69s [INFO] running `Command { std: "docker" "inspect" "f9189c3e9e7559aa56e814f5ddc6f0c7dc0cc90b60369fa2f9ceeab0cabdb06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9189c3e9e7559aa56e814f5ddc6f0c7dc0cc90b60369fa2f9ceeab0cabdb06f", kill_on_drop: false }` [INFO] [stdout] f9189c3e9e7559aa56e814f5ddc6f0c7dc0cc90b60369fa2f9ceeab0cabdb06f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2bb6a3d78759c2eea92f7ed318ee5962c9bbcaf28322b4be03bbcf3eb33ecbf [INFO] running `Command { std: "docker" "start" "-a" "f2bb6a3d78759c2eea92f7ed318ee5962c9bbcaf28322b4be03bbcf3eb33ecbf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/usage-46f97796b45246bf) [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_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::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::cmd::tests::test_render_markdown_cmd ... ok [INFO] [stdout] test docs::markdown::arg::tests::test_render_markdown_arg ... 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' 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: 0x5b8849676cb2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8849676cb2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8849676cb2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8849676cb2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b88496a14d3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b88496a14d3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b8849672c83 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b8849672c83 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b8849676b02 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b8849678759 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5b884967858e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b8848e76d64 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5b8848e76d64 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b884967912e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5b884967912e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b8849678efa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b88496771a9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b8849678b8d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b884969eb20 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b884969ef86 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x5b8848dcdc43 - core::result::Result::unwrap::h40a7f07900ea4618 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5b8848dcdc43 - usage::complete::zsh::tests::test_complete_zsh::ha5fdbe108d7aa9fc [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:117:9 [INFO] [stdout] 22: 0x5b8848dcd567 - usage::complete::zsh::tests::test_complete_zsh::{{closure}}::h7de2236f44de1e01 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/zsh.rs:116:27 [INFO] [stdout] 23: 0x5b8848dee466 - core::ops::function::FnOnce::call_once::hf1bf3a79512bf52f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5b8848e7c5cb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b8848e7c5cb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b8848e7b705 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5b8848e7b705 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b8848e7b705 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b8848e7b705 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b8848e7b705 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b8848e7b705 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b8848e7b705 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b8848e3f304 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b8848e3f304 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b8848e42cda - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b8848e42cda - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b8848e42cda - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b8848e42cda - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b8848e42cda - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5b884967c13f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5b884967c13f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7fbb2dca0aa4 - [INFO] [stdout] 45: 0x7fbb2dd2da34 - 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' 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: 0x5b8849676cb2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8849676cb2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8849676cb2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8849676cb2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b88496a14d3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b88496a14d3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b8849672c83 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b8849672c83 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b8849676b02 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b8849678759 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5b884967858e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b8848e76d64 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5b8848e76d64 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b884967912e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5b884967912e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b8849678efa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b88496771a9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b8849678b8d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b884969eb20 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b884969ef86 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x5b8848d70333 - core::result::Result::unwrap::h40a7f07900ea4618 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5b8848d70333 - usage::complete::bash::tests::test_complete_bash::h17bfc8388dcb355c [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:100:9 [INFO] [stdout] 22: 0x5b8848d6fc57 - usage::complete::bash::tests::test_complete_bash::{{closure}}::h4aa8df4b2ff2acc2 [INFO] [stdout] at /opt/rustwide/workdir/src/complete/bash.rs:99:28 [INFO] [stdout] 23: 0x5b8848dee126 - core::ops::function::FnOnce::call_once::hb57b9e5692cacf39 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5b8848e7c5cb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b8848e7c5cb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b8848e7b705 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5b8848e7b705 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b8848e7b705 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b8848e7b705 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b8848e7b705 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b8848e7b705 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b8848e7b705 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b8848e3f304 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b8848e3f304 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b8848e42cda - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b8848e42cda - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b8848e42cda - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b8848e42cda - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b8848e42cda - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5b884967c13f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5b884967c13f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7fbb2dca0aa4 - [INFO] [stdout] 45: 0x7fbb2dd2da34 - 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' 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: 0x5b8849676cb2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b8849676cb2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b8849676cb2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b8849676cb2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b88496a14d3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b88496a14d3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b8849672c83 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b8849672c83 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b8849676b02 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b8849678759 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5b884967858e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b8848e76d64 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5b8848e76d64 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b884967912e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5b884967912e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b8849678efa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b88496771a9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b8849678b8d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b884969eb20 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b884969ef86 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x5b8848dcc223 - core::result::Result::unwrap::h40a7f07900ea4618 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5b8848dcc223 - usage::complete::fish::tests::test_complete_fish::hf58b313d2c09c32b [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:91:9 [INFO] [stdout] 22: 0x5b8848dcbb47 - usage::complete::fish::tests::test_complete_fish::{{closure}}::he4cd0cc89fe69b5d [INFO] [stdout] at /opt/rustwide/workdir/src/complete/fish.rs:90:28 [INFO] [stdout] 23: 0x5b8848ded5f6 - core::ops::function::FnOnce::call_once::h2024f76ab90569e7 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5b8848e7c5cb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b8848e7c5cb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b8848e7b705 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5b8848e7b705 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b8848e7b705 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b8848e7b705 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b8848e7b705 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b8848e7b705 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b8848e7b705 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b8848e3f304 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b8848e3f304 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b8848e42cda - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b8848e42cda - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b8848e42cda - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b8848e42cda - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b8848e42cda - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b8848e42cda - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5b884967c13f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5b884967c13f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7fbb2dca0aa4 - [INFO] [stdout] 45: 0x7fbb2dd2da34 - 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 2.47s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "f2bb6a3d78759c2eea92f7ed318ee5962c9bbcaf28322b4be03bbcf3eb33ecbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bb6a3d78759c2eea92f7ed318ee5962c9bbcaf28322b4be03bbcf3eb33ecbf", kill_on_drop: false }` [INFO] [stdout] f2bb6a3d78759c2eea92f7ed318ee5962c9bbcaf28322b4be03bbcf3eb33ecbf