[INFO] fetching crate rsnip 0.6.1... [INFO] testing rsnip-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rsnip 0.6.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rsnip 0.6.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rsnip 0.6.1 [INFO] tweaked toml for crates.io crate rsnip 0.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnip 0.6.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsnip 0.6.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de1bcde552f371d8388dc08a694ebe5bd81843dc97a61d2e318f150542af0af6 [INFO] running `Command { std: "docker" "start" "-a" "de1bcde552f371d8388dc08a694ebe5bd81843dc97a61d2e318f150542af0af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1bcde552f371d8388dc08a694ebe5bd81843dc97a61d2e318f150542af0af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1bcde552f371d8388dc08a694ebe5bd81843dc97a61d2e318f150542af0af6", kill_on_drop: false }` [INFO] [stdout] de1bcde552f371d8388dc08a694ebe5bd81843dc97a61d2e318f150542af0af6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2399f9ec39bef2b1a5033ca9dcabf4628222242e5d7bdc719e463208ca4b6f [INFO] running `Command { std: "docker" "start" "-a" "1d2399f9ec39bef2b1a5033ca9dcabf4628222242e5d7bdc719e463208ca4b6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling defer-drop v1.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tuikit v0.5.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling shell-quote v0.7.2 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.84 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling clap_complete v4.5.40 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling minijinja v2.6.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling which v7.0.1 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling skim v0.16.0 [INFO] [stderr] Compiling config v0.15.4 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling rsnip v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.34s [INFO] running `Command { std: "docker" "inspect" "1d2399f9ec39bef2b1a5033ca9dcabf4628222242e5d7bdc719e463208ca4b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2399f9ec39bef2b1a5033ca9dcabf4628222242e5d7bdc719e463208ca4b6f", kill_on_drop: false }` [INFO] [stdout] 1d2399f9ec39bef2b1a5033ca9dcabf4628222242e5d7bdc719e463208ca4b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d7bff17570f3a1737a6fb4f316ce9560614d71baa4d740d21d3d0102e6655e4 [INFO] running `Command { std: "docker" "start" "-a" "3d7bff17570f3a1737a6fb4f316ce9560614d71baa4d740d21d3d0102e6655e4", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsnip v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn text(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/fuzzy.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn output(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "3d7bff17570f3a1737a6fb4f316ce9560614d71baa4d740d21d3d0102e6655e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7bff17570f3a1737a6fb4f316ce9560614d71baa4d740d21d3d0102e6655e4", kill_on_drop: false }` [INFO] [stdout] 3d7bff17570f3a1737a6fb4f316ce9560614d71baa4d740d21d3d0102e6655e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96e713a5005f5a272063e6c26b7a599058c1b4ddcc0bb8f5a06ae4056a1c6075 [INFO] running `Command { std: "docker" "start" "-a" "96e713a5005f5a272063e6c26b7a599058c1b4ddcc0bb8f5a06ae4056a1c6075", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/infrastructure/fuzzy.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | fn text(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 22 | fn text(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/infrastructure/fuzzy.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | fn output(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 30 | fn output(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rsnip` (lib) generated 2 warnings (run `cargo fix --lib -p rsnip` to apply 2 suggestions) [INFO] [stderr] warning: `rsnip` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsnip-ee9b4f2529391abc) [INFO] [stderr] 2025-09-01T11:33:23.732121Z  INFO rsnip::util::testing: Test Setup complete [INFO] [stderr] 2025-09-01T11:33:23.732177Z DEBUG rsnip::util::testing: INIT: Attempting logger init from testing.rs [INFO] [stderr] 2025-09-01T11:33:23.732472Z DEBUG rsnip::util::testing: Tracing subscriber already set [INFO] [stdout] [INFO] [stderr] 2025-09-01T11:33:23.732517Z  INFO rsnip::util::testing: Test Setup complete [INFO] [stdout] running 14 tests [INFO] [stderr] 2025-09-01T11:33:23.735144Z DEBUG find_snippet_line_number{content="some content\n--- test\ncontent\n---" snippet_name="nonexistent"}: rsnip::infrastructure::edit_snippets: close time.busy=35.6µs time.idle=18.5µs [INFO] [stderr] 2025-09-01T11:33:23.735202Z DEBUG find_snippet_line_number{content="some content\n--- test\ncontent\n---" snippet_name="test"}: rsnip::infrastructure::edit_snippets: close time.busy=21.7µs time.idle=19.0µs [INFO] [stdout] test cli::args::tests::given_generate_config_flag_when_parsing_then_sets_flag ... ok [INFO] [stdout] test config::tests::given_combined_type_when_getting_sources_then_returns_source_list ... ok [INFO] [stdout] test config::tests::given_combined_type_when_getting_snippet_type_then_returns_none ... ok [INFO] [stderr] 2025-09-01T11:33:23.735579Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.33µs time.idle=10.3µs [INFO] [stdout] test config::tests::given_concrete_type_when_getting_snippet_type_then_returns_correct_type ... ok [INFO] [stderr] 2025-09-01T11:33:23.736002Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=6.80µs time.idle=10.9µs [INFO] [stdout] test infrastructure::edit_snippets::tests::given_nonexistent_snippet_when_finding_line_then_returns_none ... ok [INFO] [stderr] 2025-09-01T11:33:23.736060Z DEBUG parse{path="dummy"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "dummy" [INFO] [stdout] test infrastructure::edit_snippets::tests::given_valid_content_when_finding_snippet_then_returns_correct_line ... ok [INFO] [stderr] 2025-09-01T11:33:23.736222Z DEBUG parse{path="dummy"}: rsnip::infrastructure::parsers::default: close time.busy=163µs time.idle=9.09µs [INFO] [stdout] test util::path_utils::tests::given_absolute_path_when_expanding_then_returns_unchanged ... ok [INFO] [stderr] 2025-09-01T11:33:23.736281Z DEBUG parse{path="dummy"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "dummy" [INFO] [stdout] test util::path_utils::tests::given_path_with_tilde_when_expanding_then_replaces_with_home ... ok [INFO] [stderr] 2025-09-01T11:33:23.736329Z DEBUG parse{path="dummy"}: rsnip::infrastructure::parsers::scls: close time.busy=47.6µs time.idle=9.27µs [INFO] [stdout] test config::tests::given_concrete_type_when_getting_sources_then_returns_none ... ok [INFO] [stdout] test infrastructure::parsers::tests::given_format_when_creating_parser_then_returns_correct_implementation ... ok [INFO] [stdout] test util::path_utils::tests::given_relative_path_when_expanding_then_returns_unchanged ... ok [INFO] [stderr] 2025-09-01T11:33:23.737176Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.42µs time.idle=11.5µs [INFO] [stderr] 2025-09-01T11:33:23.737239Z DEBUG parse{path="/tmp/.tmpI3vpis"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpI3vpis" [INFO] [stderr] 2025-09-01T11:33:23.737346Z TRACE parse{path="/tmp/.tmpI3vpis"}:new{content="content"}: rsnip::domain::content: SnippetContent::new called with: content [INFO] [stderr] 2025-09-01T11:33:23.737399Z TRACE parse{path="/tmp/.tmpI3vpis"}:new{content="content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.737431Z DEBUG parse{path="/tmp/.tmpI3vpis"}:new{content="content"}: rsnip::domain::content: close time.busy=91.8µs time.idle=9.61µs [INFO] [stdout] test util::path_utils::tests::given_invalid_tilde_path_when_expanding_then_returns_error ... ok [INFO] [stderr] 2025-09-01T11:33:23.737479Z DEBUG parse{path="/tmp/.tmpI3vpis"}: rsnip::infrastructure::parsers::default: close time.busy=240µs time.idle=7.98µs [INFO] [stdout] test infrastructure::parsers::tests::given_default_format_file_when_parsing_then_succeeds ... ok [INFO] [stderr] 2025-09-01T11:33:23.737715Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=5.76µs time.idle=11.3µs [INFO] [stderr] 2025-09-01T11:33:23.737768Z DEBUG parse{path="/tmp/.tmpsveO1U"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpsveO1U" [INFO] [stderr] 2025-09-01T11:33:23.740704Z TRACE parse{path="/tmp/.tmpsveO1U"}:new{content="content"}: rsnip::domain::content: SnippetContent::new called with: content [INFO] [stderr] 2025-09-01T11:33:23.740794Z TRACE parse{path="/tmp/.tmpsveO1U"}:new{content="content"}: rsnip::domain::content: Detected as static [INFO] [stdout] test infrastructure::parsers::tests::given_scls_format_file_when_parsing_then_succeeds ... ok [INFO] [stderr] 2025-09-01T11:33:23.740845Z DEBUG parse{path="/tmp/.tmpsveO1U"}:new{content="content"}: rsnip::domain::content: close time.busy=140µs time.idle=10.3µs [INFO] [stderr] 2025-09-01T11:33:23.740941Z DEBUG parse{path="/tmp/.tmpsveO1U"}: rsnip::infrastructure::parsers::scls: close time.busy=3.17ms time.idle=8.38µs [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rsnip-d5e609f619aebf9c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::verify_cli ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_commands.rs (/opt/rustwide/target/debug/deps/test_commands-cfc20d2e9ddbccef) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test given_types_list_flag_when_execute_then_outputs_space_separated ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Running tests/test_fuzzy.rs (/opt/rustwide/target/debug/deps/test_fuzzy-6460d3ab08900612) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test given_empty_query_when_fuzzy_finder_then_shows_all ... ignored, todo fix [INFO] [stdout] test given_multiple_matches_when_fuzzy_finder_then_shows_interface ... ignored, This test is interactive via Makefile [INFO] [stdout] test given_no_matches_when_fuzzy_finder_then_shows_interface ... ignored, Interactive test requires terminal [INFO] [stdout] test given_empty_items_when_fuzzy_finder_then_returns_none ... ok [INFO] [stdout] test test_fuzzy_finder_output_is_clean ... ignored, Interactive test requires terminal [INFO] [stdout] test given_single_partial_match_when_fuzzy_finder_then_auto_selects ... ok [INFO] [stdout] test given_exact_match_when_fuzzy_finder_then_returns_immediately ... ok [INFO] [stdout] test given_snippets_when_creating_skim_items_then_returns_formatted_items ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_lib.rs (/opt/rustwide/target/debug/deps/test_lib-a60f7debe2e80fd8) [INFO] [stderr] 2025-09-01T11:33:23.792832Z  INFO rsnip::util::testing: Test Setup complete [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stderr] 2025-09-01T11:33:23.795821Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpOSv0O2 [INFO] [stderr] 2025-09-01T11:33:23.796825Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=8.83µs time.idle=11.9µs [INFO] [stderr] 2025-09-01T11:33:23.796028Z DEBUG find_completion_exact{completion_type="test" user_input=""}: rsnip::application::snippet_service: close time.busy=13.7µs time.idle=19.0µs [INFO] [stderr] 2025-09-01T11:33:23.796539Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpKHKtGD [INFO] [stderr] 2025-09-01T11:33:23.797638Z DEBUG find_completion_fuzzy{completion_type="test" user_input=""}: rsnip::application::snippet_service: close time.busy=9.11µs time.idle=12.7µs [INFO] [stderr] 2025-09-01T11:33:23.797647Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=4.66µs time.idle=13.8µs [INFO] [stderr] 2025-09-01T11:33:23.797717Z DEBUG parse{path="/tmp/.tmpth2zDn"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpth2zDn" [INFO] [stderr] 2025-09-01T11:33:23.797743Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpsE5ghm [INFO] [stderr] 2025-09-01T11:33:23.797789Z DEBUG parse{path="/tmp/.tmpth2zDn"}: rsnip::infrastructure::parsers::default: close time.busy=76.2µs time.idle=9.57µs [INFO] [stderr] 2025-09-01T11:33:23.797806Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=5.92µs time.idle=8.51µs [INFO] [stderr] 2025-09-01T11:33:23.797870Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpsE5ghm"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpsE5ghm" [INFO] [stderr] 2025-09-01T11:33:23.797999Z TRACE copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpsE5ghm"}:new{content="{{current_date|strftime('%Y-%m-%d')}}"}: rsnip::domain::content: SnippetContent::new called with: {{current_date|strftime('%Y-%m-%d')}} [INFO] [stderr] 2025-09-01T11:33:23.798057Z TRACE copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpsE5ghm"}:new{content="{{current_date|strftime('%Y-%m-%d')}}"}: rsnip::domain::content: Detected as template [INFO] [stderr] 2025-09-01T11:33:23.798114Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpsE5ghm"}:new{content="{{current_date|strftime('%Y-%m-%d')}}"}: rsnip::domain::content: close time.busy=120µs time.idle=10.9µs [INFO] [stderr] 2025-09-01T11:33:23.795885Z DEBUG get_snippets{snippet_type="test"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpLDiqZR [INFO] [stderr] 2025-09-01T11:33:23.798167Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpsE5ghm"}: rsnip::infrastructure::parsers::default: close time.busy=296µs time.idle=8.66µs [INFO] [stderr] 2025-09-01T11:33:23.797645Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.56µs time.idle=11.8µs [INFO] [stderr] 2025-09-01T11:33:23.798205Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: close time.busy=493µs time.idle=7.35µs [INFO] [stderr] 2025-09-01T11:33:23.798239Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:find_completion_exact{completion_type="test" user_input="date"}: rsnip::application::snippet_service: close time.busy=543µs time.idle=8.56µs [INFO] [stderr] 2025-09-01T11:33:23.796709Z DEBUG get_snippets{snippet_type="combined"}: rsnip::application::snippet_service: Loading combined snippets from sources: ["source1", "source2"] [INFO] [stderr] 2025-09-01T11:33:23.798253Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpKHKtGD" [INFO] [stderr] 2025-09-01T11:33:23.798282Z DEBUG get_snippets{snippet_type="combined"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpl71tQa [INFO] [stderr] 2025-09-01T11:33:23.798341Z DEBUG get_snippets{snippet_type="combined"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.72µs time.idle=10.1µs [INFO] [stderr] 2025-09-01T11:33:23.798447Z TRACE find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content"}: rsnip::domain::content: SnippetContent::new called with: Content [INFO] [stderr] 2025-09-01T11:33:23.798447Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpOSv0O2"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpOSv0O2" [INFO] [stderr] 2025-09-01T11:33:23.798503Z DEBUG get_snippets{snippet_type="test"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=8.55µs time.idle=264µs [INFO] [stderr] 2025-09-01T11:33:23.798577Z TRACE find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.798603Z DEBUG get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpLDiqZR"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpLDiqZR" [INFO] [stderr] 2025-09-01T11:33:23.798618Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content"}: rsnip::domain::content: close time.busy=172µs time.idle=12.1µs [INFO] [stderr] 2025-09-01T11:33:23.798685Z TRACE find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content2"}: rsnip::domain::content: SnippetContent::new called with: Content2 [INFO] [stderr] 2025-09-01T11:33:23.798712Z TRACE find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content2"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.798740Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}:new{content="Content2"}: rsnip::domain::content: close time.busy=53.1µs time.idle=9.74µs [INFO] [stderr] 2025-09-01T11:33:23.798777Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpKHKtGD"}: rsnip::infrastructure::parsers::default: close time.busy=524µs time.idle=10.1µs [INFO] [stderr] 2025-09-01T11:33:23.798808Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: close time.busy=2.28ms time.idle=7.31µs [INFO] [stderr] 2025-09-01T11:33:23.798887Z DEBUG find_completion_fuzzy{completion_type="test" user_input="tst"}: rsnip::application::snippet_service: close time.busy=2.38ms time.idle=11.9µs [INFO] [stderr] 2025-09-01T11:33:23.798878Z TRACE copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpOSv0O2"}:new{content="A red fruit"}: rsnip::domain::content: SnippetContent::new called with: A red fruit [INFO] [stderr] 2025-09-01T11:33:23.798926Z TRACE copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpOSv0O2"}:new{content="A red fruit"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.798967Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpOSv0O2"}:new{content="A red fruit"}: rsnip::domain::content: close time.busy=89.0µs time.idle=13.4µs [INFO] [stderr] 2025-09-01T11:33:23.799019Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpOSv0O2"}: rsnip::infrastructure::parsers::default: close time.busy=572µs time.idle=1.12ms [INFO] [stderr] 2025-09-01T11:33:23.799061Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: close time.busy=3.27ms time.idle=8.76µs [INFO] [stderr] 2025-09-01T11:33:23.799111Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}:find_completion_exact{completion_type="test" user_input="nonexistent"}: rsnip::application::snippet_service: close time.busy=3.36ms time.idle=9.38µs [INFO] [stderr] 2025-09-01T11:33:23.799153Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="nonexistent" exact=true}: rsnip::application::snippet_service: close time.busy=3.44ms time.idle=24.0µs [INFO] [stdout] test application::test_snippet_service::given_empty_input_when_finding_completion_then_returns_none ... ok [INFO] [stderr] 2025-09-01T11:33:23.800265Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpl71tQa"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpl71tQa" [INFO] [stdout] test infrastructure::parsers::test_default::given_empty_file_when_parse_then_returns_empty_vec ... ok [INFO] [stderr] 2025-09-01T11:33:23.800330Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.37µs time.idle=11.3µs [INFO] [stdout] test application::test_snippet_service::given_fuzzy_match_when_finding_completion_then_returns_best_match ... ok [INFO] [stderr] 2025-09-01T11:33:23.800381Z DEBUG parse{path="/nonexistent/file"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/nonexistent/file" [INFO] [stderr] 2025-09-01T11:33:23.800380Z TRACE get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpLDiqZR"}:new{content="Content"}: rsnip::domain::content: SnippetContent::new called with: Content [INFO] [stderr] 2025-09-01T11:33:23.800584Z TRACE get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpLDiqZR"}:new{content="Content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.800627Z DEBUG get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpLDiqZR"}:new{content="Content"}: rsnip::domain::content: close time.busy=246µs time.idle=12.4µs [INFO] [stderr] 2025-09-01T11:33:23.800670Z DEBUG get_snippets{snippet_type="test"}:parse{path="/tmp/.tmpLDiqZR"}: rsnip::infrastructure::parsers::default: close time.busy=2.07ms time.idle=8.40µs [INFO] [stderr] 2025-09-01T11:33:23.800670Z DEBUG parse{path="/nonexistent/file"}: rsnip::infrastructure::parsers::default: close time.busy=284µs time.idle=9.32µs [INFO] [stderr] 2025-09-01T11:33:23.801146Z TRACE get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpl71tQa"}:new{content="Content1"}: rsnip::domain::content: SnippetContent::new called with: Content1 [INFO] [stderr] 2025-09-01T11:33:23.801943Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.83µs time.idle=15.4µs [INFO] [stderr] 2025-09-01T11:33:23.802018Z DEBUG parse{path="/tmp/.tmpaM8buJ"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpaM8buJ" [INFO] [stderr] 2025-09-01T11:33:23.802123Z TRACE parse{path="/tmp/.tmpaM8buJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: SnippetContent::new called with: this is green [INFO] [stderr] and nothing else [INFO] [stderr] 2025-09-01T11:33:23.801698Z TRACE copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}:copy_to_clipboard{text="2025-09-01"}: rsnip::infrastructure::clipboard: close time.busy=82.3µs time.idle=12.1µs [INFO] [stdout] test application::test_snippet_service::given_nonexistent_snippet_when_copying_then_returns_none ... ok [INFO] [stderr] 2025-09-01T11:33:23.801728Z DEBUG get_snippets{snippet_type="test"}: rsnip::application::snippet_service: close time.busy=5.85ms time.idle=13.0µs [INFO] [stdout] test infrastructure::parsers::test_default::given_nonexistent_file_when_parse_then_returns_error ... ok [INFO] [stderr] 2025-09-01T11:33:23.803510Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=14.4µs time.idle=13.8µs [INFO] [stdout] test application::test_snippet_service::given_valid_snippet_file_when_getting_snippets_then_returns_snippets ... ok [INFO] [stderr] 2025-09-01T11:33:23.802171Z TRACE get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpl71tQa"}:new{content="Content1"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.802940Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=7.42µs time.idle=14.5µs [INFO] [stderr] 2025-09-01T11:33:23.808477Z DEBUG parse{path="/nonexistent/file"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/nonexistent/file" [INFO] [stderr] 2025-09-01T11:33:23.808509Z DEBUG parse{path="/tmp/.tmpPo5jh5"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpPo5jh5" [INFO] [stderr] 2025-09-01T11:33:23.808560Z DEBUG parse{path="/nonexistent/file"}: rsnip::infrastructure::parsers::scls: close time.busy=84.8µs time.idle=12.5µs [INFO] [stderr] 2025-09-01T11:33:23.808631Z DEBUG parse{path="/tmp/.tmpPo5jh5"}: rsnip::infrastructure::parsers::default: close time.busy=121µs time.idle=11.6µs [INFO] [stderr] 2025-09-01T11:33:23.803357Z TRACE parse{path="/tmp/.tmpaM8buJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.801673Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.91µs time.idle=12.4µs [INFO] [stderr] 2025-09-01T11:33:23.803600Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=7.27µs time.idle=17.1µs [INFO] [stderr] 2025-09-01T11:33:23.809128Z DEBUG parse{path="/tmp/.tmplgRf8g"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmplgRf8g" [INFO] [stderr] 2025-09-01T11:33:23.809147Z DEBUG parse{path="/tmp/.tmp7Emmxe"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmp7Emmxe" [INFO] [stderr] 2025-09-01T11:33:23.809257Z DEBUG parse{path="/tmp/.tmplgRf8g"}: rsnip::infrastructure::parsers::default: close time.busy=129µs time.idle=11.8µs [INFO] [stderr] 2025-09-01T11:33:23.809347Z DEBUG parse{path="/tmp/.tmpaM8buJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: close time.busy=7.22ms time.idle=11.2µs [INFO] [stderr] 2025-09-01T11:33:23.809417Z DEBUG parse{path="/tmp/.tmpaM8buJ"}: rsnip::infrastructure::parsers::default: close time.busy=7.40ms time.idle=10.1µs [INFO] [stderr] 2025-09-01T11:33:23.804487Z DEBUG copy_snippet_to_clipboard{completion_type="test" input="date" exact=true}: rsnip::application::snippet_service: close time.busy=6.81ms time.idle=15.3µs [INFO] [stderr] 2025-09-01T11:33:23.804601Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.47µs time.idle=15.9µs [INFO] [stderr] 2025-09-01T11:33:23.804634Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=7.38µs time.idle=14.7µs [INFO] [stderr] 2025-09-01T11:33:23.809644Z DEBUG parse{path="/tmp/.tmpxFsF9V"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpxFsF9V" [INFO] [stderr] 2025-09-01T11:33:23.811352Z TRACE parse{path="/tmp/.tmp7Emmxe"}:new{content="content"}: rsnip::domain::content: SnippetContent::new called with: content [INFO] [stderr] 2025-09-01T11:33:23.804771Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=5.57µs time.idle=10.4µs [INFO] [stderr] 2025-09-01T11:33:23.804946Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=6.39µs time.idle=16.0µs [INFO] [stderr] 2025-09-01T11:33:23.805095Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.81µs time.idle=19.3µs [INFO] [stderr] 2025-09-01T11:33:23.811565Z DEBUG parse{path="/tmp/.tmpSkthdK"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpSkthdK" [INFO] [stderr] 2025-09-01T11:33:23.811612Z DEBUG parse{path="/tmp/.tmpjG8Qjz"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpjG8Qjz" [INFO] [stderr] 2025-09-01T11:33:23.811672Z DEBUG parse{path="/tmp/.tmpSkthdK"}: rsnip::infrastructure::parsers::scls: close time.busy=103µs time.idle=11.7µs [INFO] [stderr] 2025-09-01T11:33:23.811714Z TRACE parse{path="/tmp/.tmpjG8Qjz"}:new{content="content"}: rsnip::domain::content: SnippetContent::new called with: content [INFO] [stderr] 2025-09-01T11:33:23.811749Z TRACE parse{path="/tmp/.tmpjG8Qjz"}:new{content="content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.811780Z DEBUG parse{path="/tmp/.tmpjG8Qjz"}:new{content="content"}: rsnip::domain::content: close time.busy=64.9µs time.idle=10.8µs [INFO] [stderr] 2025-09-01T11:33:23.811473Z TRACE parse{path="/tmp/.tmp7Emmxe"}:new{content="content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.811875Z DEBUG parse{path="/tmp/.tmpc2MwEs"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpc2MwEs" [INFO] [stderr] 2025-09-01T11:33:23.811948Z DEBUG parse{path="/tmp/.tmp7Emmxe"}:new{content="content"}: rsnip::domain::content: close time.busy=552µs time.idle=64.7µs [INFO] [stdout] test infrastructure::parsers::test_scls::given_nonexistent_file_when_parse_then_returns_error ... ok [INFO] [stdout] test infrastructure::parsers::test_default::given_empty_snippet_when_parse_then_returns_error ... ok [INFO] [stderr] 2025-09-01T11:33:23.806260Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=7.19µs time.idle=12.2µs [INFO] [stdout] test infrastructure::parsers::test_default::given_missing_trailing_delimiter_when_parse_then_returns_error ... ok [INFO] [stdout] test infrastructure::parsers::test_default::given_snippet_with_comments_when_parse_then_preserves_comments ... ok [INFO] [stderr] 2025-09-01T11:33:23.808705Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpl71tQa"}:new{content="Content1"}: rsnip::domain::content: close time.busy=7.56ms time.idle=11.2µs [INFO] [stderr] 2025-09-01T11:33:23.803294Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmp6PE2Fu [INFO] [stderr] 2025-09-01T11:33:23.812873Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=10.4µs time.idle=11.4µs [INFO] [stderr] 2025-09-01T11:33:23.813227Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmp6PE2Fu"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmp6PE2Fu" [INFO] [stderr] 2025-09-01T11:33:23.805248Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=6.22µs time.idle=15.3µs [INFO] [stderr] 2025-09-01T11:33:23.812778Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpl71tQa"}: rsnip::infrastructure::parsers::default: close time.busy=12.5ms time.idle=20.5µs [INFO] [stderr] 2025-09-01T11:33:23.813458Z DEBUG get_snippets{snippet_type="combined"}: rsnip::application::snippet_service: Loading snippets from /tmp/.tmpwwyukA [INFO] [stderr] 2025-09-01T11:33:23.813458Z DEBUG parse{path="/tmp/.tmpyesIyQ"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpyesIyQ" [INFO] [stderr] 2025-09-01T11:33:23.813509Z DEBUG get_snippets{snippet_type="combined"}:create{format=Default}: rsnip::infrastructure::parsers: close time.busy=5.25µs time.idle=9.81µs [INFO] [stderr] 2025-09-01T11:33:23.813547Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpwwyukA"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpwwyukA" [INFO] [stderr] 2025-09-01T11:33:23.813554Z TRACE parse{path="/tmp/.tmpyesIyQ"}:new{content="content"}: rsnip::domain::content: SnippetContent::new called with: content [INFO] [stderr] 2025-09-01T11:33:23.813584Z TRACE parse{path="/tmp/.tmpyesIyQ"}:new{content="content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.813611Z DEBUG parse{path="/tmp/.tmpyesIyQ"}:new{content="content"}: rsnip::domain::content: close time.busy=56.3µs time.idle=9.85µs [INFO] [stderr] 2025-09-01T11:33:23.813628Z TRACE get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpwwyukA"}:new{content="Content2"}: rsnip::domain::content: SnippetContent::new called with: Content2 [INFO] [stderr] 2025-09-01T11:33:23.813655Z TRACE get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpwwyukA"}:new{content="Content2"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.813682Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpwwyukA"}:new{content="Content2"}: rsnip::domain::content: close time.busy=53.1µs time.idle=9.45µs [INFO] [stderr] 2025-09-01T11:33:23.813716Z DEBUG get_snippets{snippet_type="combined"}:parse{path="/tmp/.tmpwwyukA"}: rsnip::infrastructure::parsers::default: close time.busy=167µs time.idle=6.80µs [INFO] [stderr] 2025-09-01T11:33:23.813710Z TRACE find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmp6PE2Fu"}:new{content="Content"}: rsnip::domain::content: SnippetContent::new called with: Content [INFO] [stderr] 2025-09-01T11:33:23.813747Z DEBUG get_snippets{snippet_type="combined"}: rsnip::application::snippet_service: close time.busy=17.1ms time.idle=12.4µs [INFO] [stderr] 2025-09-01T11:33:23.813743Z TRACE find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmp6PE2Fu"}:new{content="Content"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.813775Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmp6PE2Fu"}:new{content="Content"}: rsnip::domain::content: close time.busy=64.7µs time.idle=9.69µs [INFO] [stderr] 2025-09-01T11:33:23.813813Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}:parse{path="/tmp/.tmp6PE2Fu"}: rsnip::infrastructure::parsers::default: close time.busy=586µs time.idle=8.39µs [INFO] [stderr] 2025-09-01T11:33:23.813846Z DEBUG find_completion_exact{completion_type="test" user_input="test"}:get_snippets{snippet_type="test"}: rsnip::application::snippet_service: close time.busy=10.6ms time.idle=8.10µs [INFO] [stderr] 2025-09-01T11:33:23.813875Z DEBUG find_completion_exact{completion_type="test" user_input="test"}: rsnip::application::snippet_service: close time.busy=10.6ms time.idle=11.2µs [INFO] [stderr] 2025-09-01T11:33:23.814576Z DEBUG parse{path="/tmp/.tmpMDnxux"}: rsnip::infrastructure::parsers::vcode: Parsing VSCode format snippets from: "/tmp/.tmpMDnxux" [INFO] [stderr] 2025-09-01T11:33:23.814657Z DEBUG parse{path="/tmp/.tmpMDnxux"}: rsnip::infrastructure::parsers::vcode: close time.busy=80.3µs time.idle=11.7µs [INFO] [stderr] 2025-09-01T11:33:23.816642Z DEBUG parse{path="/tmp/.tmpsKU9PZ"}: rsnip::infrastructure::parsers::vcode: Parsing VSCode format snippets from: "/tmp/.tmpsKU9PZ" [INFO] [stderr] 2025-09-01T11:33:23.816814Z TRACE parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn main() {\n println!(\"Hello, world!\");\n}"}: rsnip::domain::content: SnippetContent::new called with: fn main() { [INFO] [stderr] println!("Hello, world!"); [INFO] [stderr] } [INFO] [stderr] 2025-09-01T11:33:23.816848Z TRACE parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn main() {\n println!(\"Hello, world!\");\n}"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.816877Z DEBUG parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn main() {\n println!(\"Hello, world!\");\n}"}: rsnip::domain::content: close time.busy=63.0µs time.idle=10.1µs [INFO] [stderr] 2025-09-01T11:33:23.816924Z TRACE parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn ${1:function_name}(${2:params}) -> ${3:ReturnType} {\n ${4:// function body}\n}"}: rsnip::domain::content: SnippetContent::new called with: fn ${1:function_name}(${2:params}) -> ${3:ReturnType} { [INFO] [stderr] ${4:// function body} [INFO] [stderr] } [INFO] [stderr] 2025-09-01T11:33:23.816945Z TRACE parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn ${1:function_name}(${2:params}) -> ${3:ReturnType} {\n ${4:// function body}\n}"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.816967Z DEBUG parse{path="/tmp/.tmpsKU9PZ"}:new{content="fn ${1:function_name}(${2:params}) -> ${3:ReturnType} {\n ${4:// function body}\n}"}: rsnip::domain::content: close time.busy=42.3µs time.idle=8.00µs [INFO] [stderr] 2025-09-01T11:33:23.816997Z DEBUG parse{path="/tmp/.tmpsKU9PZ"}: rsnip::infrastructure::parsers::vcode: close time.busy=358µs time.idle=11.0µs [INFO] [stderr] 2025-09-01T11:33:23.812667Z DEBUG parse{path="/tmp/.tmpAk95II"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpAk95II" [INFO] [stderr] 2025-09-01T11:33:23.809572Z DEBUG parse{path="/tmp/.tmpbMhHI3"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpbMhHI3" [INFO] [stderr] 2025-09-01T11:33:23.813165Z DEBUG parse{path="/tmp/.tmppRbFx9"}: rsnip::infrastructure::parsers::vcode: Parsing VSCode format snippets from: "/tmp/.tmppRbFx9" [INFO] [stderr] 2025-09-01T11:33:23.813238Z DEBUG parse{path="/tmp/.tmpdYlENq"}: rsnip::infrastructure::parsers::vcode: Parsing VSCode format snippets from: "/tmp/.tmpdYlENq" [INFO] [stderr] 2025-09-01T11:33:23.817847Z TRACE parse{path="/tmp/.tmpdYlENq"}:new{content="println!(\"${1:message}\");"}: rsnip::domain::content: SnippetContent::new called with: println!("${1:message}"); [INFO] [stdout] test application::test_snippet_service::given_combined_type_when_getting_snippets_then_returns_all_snippets ... ok [INFO] [stdout] test application::test_snippet_service::given_exact_match_when_finding_completion_then_returns_snippet ... ok [INFO] [stdout] test infrastructure::parsers::test_vcode::given_empty_vscode_file_when_parse_then_returns_empty_vec ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_static_content_when_rendering_then_returns_unchanged ... ok [INFO] [stdout] test infrastructure::parsers::test_vcode::given_valid_vscode_file_when_parse_then_returns_snippets ... ok [INFO] [stdout] test infrastructure::parsers::test_scls::given_empty_scls_file_when_parse_then_returns_empty_vec ... ok [INFO] [stderr] 2025-09-01T11:33:23.804653Z DEBUG create{format=Default}: rsnip::infrastructure::parsers: close time.busy=7.09µs time.idle=13.1µs [INFO] [stderr] 2025-09-01T11:33:23.817856Z TRACE parse{path="/tmp/.tmpbMhHI3"}:new{content="line"}: rsnip::domain::content: SnippetContent::new called with: line [INFO] [stdout] test infrastructure::parsers::test_default::given_extra_text_outside_snippets_when_parse_then_ignores_it ... ok [INFO] [stderr] 2025-09-01T11:33:23.813343Z DEBUG create{format=Scls}: rsnip::infrastructure::parsers: close time.busy=6.00µs time.idle=10.3µs [INFO] [stderr] 2025-09-01T11:33:23.817995Z TRACE parse{path="/tmp/.tmpbMhHI3"}:new{content="line"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.818018Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}: rsnip::infrastructure::parsers::default: Parsing default format snippets from: "/tmp/.tmpBuYNkJ" [INFO] [stderr] 2025-09-01T11:33:23.818039Z DEBUG parse{path="/tmp/.tmpbMhHI3"}:new{content="line"}: rsnip::domain::content: close time.busy=183µs time.idle=10.8µs [INFO] [stderr] 2025-09-01T11:33:23.818077Z DEBUG parse{path="/tmp/.tmpbMhHI3"}: rsnip::infrastructure::parsers::default: close time.busy=8.51ms time.idle=10.7µs [INFO] [stderr] 2025-09-01T11:33:23.818051Z DEBUG parse{path="/tmp/.tmpsoyQHW"}: rsnip::infrastructure::parsers::scls: Parsing SCLS format snippets from: "/tmp/.tmpsoyQHW" [INFO] [stderr] 2025-09-01T11:33:23.818125Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: SnippetContent::new called with: this is green [INFO] [stderr] and nothing else [INFO] [stderr] 2025-09-01T11:33:23.818159Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.818184Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green\nand nothing else"}: rsnip::domain::content: close time.busy=58.7µs time.idle=10.4µs [INFO] [stderr] 2025-09-01T11:33:23.818244Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green2"}: rsnip::domain::content: SnippetContent::new called with: this is green2 [INFO] [stderr] 2025-09-01T11:33:23.818263Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green2"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.818284Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is green2"}: rsnip::domain::content: close time.busy=39.3µs time.idle=7.69µs [INFO] [stderr] 2025-09-01T11:33:23.818331Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is yellow"}: rsnip::domain::content: SnippetContent::new called with: this is yellow [INFO] [stderr] 2025-09-01T11:33:23.818362Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is yellow"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.818491Z TRACE parse{path="/tmp/.tmpdYlENq"}:new{content="println!(\"${1:message}\");"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.818567Z DEBUG parse{path="/tmp/.tmpdYlENq"}:new{content="println!(\"${1:message}\");"}: rsnip::domain::content: close time.busy=718µs time.idle=13.7µs [INFO] [stderr] 2025-09-01T11:33:23.818634Z DEBUG parse{path="/tmp/.tmpdYlENq"}: rsnip::infrastructure::parsers::vcode: close time.busy=5.40ms time.idle=11.9µs [INFO] [stderr] 2025-09-01T11:33:23.818831Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is yellow"}: rsnip::domain::content: close time.busy=51.7µs time.idle=451µs [INFO] [stderr] 2025-09-01T11:33:23.818974Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is other"}: rsnip::domain::content: SnippetContent::new called with: this is other [INFO] [stderr] 2025-09-01T11:33:23.819057Z TRACE parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is other"}: rsnip::domain::content: Detected as static [INFO] [stderr] 2025-09-01T11:33:23.819129Z TRACE parse{path="/tmp/.tmpAk95II"}:new{content="{{ first }} {{ second }} {{ param3 }}"}: rsnip::domain::content: SnippetContent::new called with: {{ first }} {{ second }} {{ param3 }} [INFO] [stderr] 2025-09-01T11:33:23.819183Z TRACE parse{path="/tmp/.tmpAk95II"}:new{content="{{ first }} {{ second }} {{ param3 }}"}: rsnip::domain::content: Detected as template [INFO] [stderr] 2025-09-01T11:33:23.819210Z DEBUG parse{path="/tmp/.tmpAk95II"}:new{content="{{ first }} {{ second }} {{ param3 }}"}: rsnip::domain::content: close time.busy=81.7µs time.idle=10.0µs [INFO] [stderr] 2025-09-01T11:33:23.819240Z DEBUG parse{path="/tmp/.tmpAk95II"}: rsnip::infrastructure::parsers::scls: close time.busy=6.58ms time.idle=10.7µs [INFO] [stderr] 2025-09-01T11:33:23.818498Z TRACE parse{path="/tmp/.tmpxFsF9V"}:new{content="class {{ ClassName }}:\n def __init__(self):\n {{ pass }}\n"}: rsnip::domain::content: SnippetContent::new called with: class {{ ClassName }}: [INFO] [stderr] def __init__(self): [INFO] [stderr] {{ pass }} [INFO] [stderr] [INFO] [stderr] 2025-09-01T11:33:23.819600Z TRACE parse{path="/tmp/.tmpxFsF9V"}:new{content="class {{ ClassName }}:\n def __init__(self):\n {{ pass }}\n"}: rsnip::domain::content: Detected as template [INFO] [stderr] 2025-09-01T11:33:23.819647Z DEBUG parse{path="/tmp/.tmpxFsF9V"}:new{content="class {{ ClassName }}:\n def __init__(self):\n {{ pass }}\n"}: rsnip::domain::content: close time.busy=1.15ms time.idle=12.9µs [INFO] [stderr] 2025-09-01T11:33:23.819684Z DEBUG parse{path="/tmp/.tmpxFsF9V"}: rsnip::infrastructure::parsers::scls: close time.busy=10.0ms time.idle=10.1µs [INFO] [stderr] 2025-09-01T11:33:23.820834Z  INFO rsnip::infrastructure::minijinja: Executing shell command: echo hello; rm -rf / [INFO] [stderr] 2025-09-01T11:33:23.821158Z  INFO rsnip::infrastructure::minijinja: Executing shell command: echo hello | rm -rf / [INFO] [stderr] 2025-09-01T11:33:23.819134Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}:new{content="this is other"}: rsnip::domain::content: close time.busy=158µs time.idle=11.3µs [INFO] [stderr] 2025-09-01T11:33:23.821418Z TRACE parse{path="/tmp/.tmpsoyQHW"}:new{content="print({{ param1 }})"}: rsnip::domain::content: SnippetContent::new called with: print({{ param1 }}) [INFO] [stderr] 2025-09-01T11:33:23.821714Z TRACE parse{path="/tmp/.tmpsoyQHW"}:new{content="print({{ param1 }})"}: rsnip::domain::content: Detected as template [INFO] [stderr] 2025-09-01T11:33:23.821491Z  INFO rsnip::infrastructure::minijinja: Executing shell command: echo hello && rm -rf / [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_date_arithmetic_when_rendering_then_calculates_correctly ... ok [INFO] [stdout] test infrastructure::parsers::test_vcode::given_single_line_body_when_parse_then_handles_correctly ... ok [INFO] [stdout] test infrastructure::parsers::test_scls::given_snippet_with_named_placeholders_when_parse_then_converts_correctly ... ok [INFO] [stdout] test infrastructure::parsers::test_scls::given_multiline_array_body_when_parse_then_handles_correctly ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_add_days_when_rendering_then_calculates_correctly ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_env_var_when_rendering_then_substitutes_value ... ok [INFO] [stderr] 2025-09-01T11:33:23.821654Z DEBUG parse{path="/tmp/.tmpBuYNkJ"}: rsnip::infrastructure::parsers::default: close time.busy=3.63ms time.idle=12.3µs [INFO] [stderr] 2025-09-01T11:33:23.822779Z  INFO rsnip::infrastructure::minijinja: Executing shell command: nonexistent_command [INFO] [stderr] 2025-09-01T11:33:23.822885Z DEBUG parse{path="/tmp/.tmpsoyQHW"}:new{content="print({{ param1 }})"}: rsnip::domain::content: close time.busy=1.46ms time.idle=39.8µs [INFO] [stderr] 2025-09-01T11:33:23.823113Z  INFO rsnip::infrastructure::minijinja: Executing shell command: sudo echo hello [INFO] [stderr] 2025-09-01T11:33:23.823521Z  INFO rsnip::infrastructure::minijinja: Executing shell command: `echo hello` [INFO] [stderr] 2025-09-01T11:33:23.823610Z TRACE parse{path="/tmp/.tmpsoyQHW"}:new{content="def {{ name }}({{ args }}):\n {{ pass }}"}: rsnip::domain::content: SnippetContent::new called with: def {{ name }}({{ args }}): [INFO] [stderr] {{ pass }} [INFO] [stderr] 2025-09-01T11:33:23.823674Z TRACE parse{path="/tmp/.tmpsoyQHW"}:new{content="def {{ name }}({{ args }}):\n {{ pass }}"}: rsnip::domain::content: Detected as template [INFO] [stderr] 2025-09-01T11:33:23.823749Z DEBUG parse{path="/tmp/.tmpsoyQHW"}:new{content="def {{ name }}({{ args }}):\n {{ pass }}"}: rsnip::domain::content: close time.busy=137µs time.idle=12.4µs [INFO] [stderr] 2025-09-01T11:33:23.823821Z DEBUG parse{path="/tmp/.tmpsoyQHW"}: rsnip::infrastructure::parsers::scls: close time.busy=5.77ms time.idle=11.3µs [INFO] [stdout] test infrastructure::parsers::test_default::given_valid_snippet_file_when_parse_then_returns_correct_snippets ... ok [INFO] [stderr] 2025-09-01T11:33:23.823997Z  INFO rsnip::infrastructure::minijinja: Executing shell command: $(echo hello) [INFO] [stdout] test infrastructure::parsers::test_scls::given_valid_scls_file_when_parse_then_returns_snippets ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_dangerous_shell_commands_then_returns_error ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_date_when_rendering_then_formats_date ... ok [INFO] [stderr] 2025-09-01T11:33:23.832853Z  INFO rsnip::infrastructure::minijinja: Executing shell command: echo Hello [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_invalid_shell_command_when_rendering_then_returns_error ... ok [INFO] [stdout] test infrastructure::test_minijinja::given_template_with_shell_command_when_rendering_then_executes ... ok [INFO] [stderr] 2025-09-01T11:33:23.931418Z DEBUG parse{path="/tmp/.tmpjG8Qjz"}: rsnip::infrastructure::parsers::default: close time.busy=120ms time.idle=32.2µs [INFO] [stderr] 2025-09-01T11:33:23.931453Z DEBUG parse{path="/tmp/.tmp7Emmxe"}: rsnip::infrastructure::parsers::default: close time.busy=122ms time.idle=11.5µs [INFO] [stdout] test infrastructure::parsers::test_default::given_snippet_with_closing_without_opening_when_parse_then_returns_error ... ok [INFO] [stdout] test infrastructure::parsers::test_default::given_malformed_snippet_without_closing_delimiter_when_parse_then_returns_error ... ok [INFO] [stdout] test application::test_snippet_service::given_template_snippet_when_copying_then_returns_rendered_content ... FAILED [INFO] [stderr] 2025-09-01T11:33:23.932239Z DEBUG parse{path="/tmp/.tmpc2MwEs"}: rsnip::infrastructure::parsers::scls: close time.busy=120ms time.idle=14.8µs [INFO] [stdout] test infrastructure::parsers::test_scls::given_malformed_toml_when_parse_then_returns_error ... ok [INFO] [stderr] 2025-09-01T11:33:23.932622Z DEBUG parse{path="/tmp/.tmpyesIyQ"}: rsnip::infrastructure::parsers::default: close time.busy=119ms time.idle=11.3µs [INFO] [stdout] test infrastructure::parsers::test_default::given_malformed_snippet_with_extra_start_when_parse_then_returns_error ... ok [INFO] [stderr] 2025-09-01T11:33:23.932876Z DEBUG parse{path="/tmp/.tmppRbFx9"}: rsnip::infrastructure::parsers::vcode: close time.busy=120ms time.idle=10.9µs [INFO] [stdout] test infrastructure::parsers::test_vcode::given_malformed_json_when_parse_then_returns_error ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- application::test_snippet_service::given_template_snippet_when_copying_then_returns_rendered_content stdout ---- [INFO] [stdout] Error: Failed to initialize clipboard [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.95/src/context.rs:54:37 [INFO] [stdout] 2: rsnip::infrastructure::clipboard::copy_to_clipboard [INFO] [stdout] at ./src/infrastructure/clipboard.rs:7:42 [INFO] [stderr] error: test failed, to rerun pass `--test test_lib` [INFO] [stdout] 3: rsnip::application::snippet_service::SnippetService::copy_snippet_to_clipboard [INFO] [stdout] at ./src/application/snippet_service.rs:151:13 [INFO] [stdout] 4: test_lib::application::test_snippet_service::given_template_snippet_when_copying_then_returns_rendered_content [INFO] [stdout] at ./tests/application/test_snippet_service.rs:167:26 [INFO] [stdout] 5: test_lib::application::test_snippet_service::given_template_snippet_when_copying_then_returns_rendered_content::{{closure}} [INFO] [stdout] at ./tests/application/test_snippet_service.rs:157:75 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 8: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 9: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 10: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 11: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 12: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 13: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 14: test::run_test_in_process [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 16: test::run_test::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 17: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 18: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 20: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 21: std::panicking::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 22: std::panic::catch_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 23: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 24: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 26: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 27: [INFO] [stdout] 28: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] application::test_snippet_service::given_template_snippet_when_copying_then_returns_rendered_content [INFO] [stdout] [INFO] [stdout] test result: FAILED. 34 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96e713a5005f5a272063e6c26b7a599058c1b4ddcc0bb8f5a06ae4056a1c6075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e713a5005f5a272063e6c26b7a599058c1b4ddcc0bb8f5a06ae4056a1c6075", kill_on_drop: false }` [INFO] [stdout] 96e713a5005f5a272063e6c26b7a599058c1b4ddcc0bb8f5a06ae4056a1c6075