[INFO] cloning repository https://github.com/codeitlikemiley/rsnippet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeitlikemiley/rsnippet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeitlikemiley%2Frsnippet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeitlikemiley%2Frsnippet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d7179741648ccae94617f34cb07e17a82b16253 [INFO] testing codeitlikemiley/rsnippet/4d7179741648ccae94617f34cb07e17a82b16253 against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeitlikemiley%2Frsnippet" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codeitlikemiley/rsnippet on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codeitlikemiley/rsnippet [INFO] finished tweaking git repo https://github.com/codeitlikemiley/rsnippet [INFO] tweaked toml for git repo https://github.com/codeitlikemiley/rsnippet written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codeitlikemiley/rsnippet 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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-7-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `snip` [INFO] [stderr] * `bin` target `snip-cli` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f6a8e8e462191e8e761e613c25ea8857e2914283e1286c221fb2a225cf060f [INFO] running `Command { std: "docker" "start" "-a" "a8f6a8e8e462191e8e761e613c25ea8857e2914283e1286c221fb2a225cf060f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f6a8e8e462191e8e761e613c25ea8857e2914283e1286c221fb2a225cf060f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f6a8e8e462191e8e761e613c25ea8857e2914283e1286c221fb2a225cf060f", kill_on_drop: false }` [INFO] [stdout] a8f6a8e8e462191e8e761e613c25ea8857e2914283e1286c221fb2a225cf060f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7db98629897b85169ab290bedb724199dd49f6f730aa0deff692b7435ce208f [INFO] running `Command { std: "docker" "start" "-a" "e7db98629897b85169ab290bedb724199dd49f6f730aa0deff692b7435ce208f", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `snip` [INFO] [stderr] * `bin` target `snip-cli` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling prettytable v0.10.0 [INFO] [stderr] Compiling snip-cli v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.28s [INFO] running `Command { std: "docker" "inspect" "e7db98629897b85169ab290bedb724199dd49f6f730aa0deff692b7435ce208f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7db98629897b85169ab290bedb724199dd49f6f730aa0deff692b7435ce208f", kill_on_drop: false }` [INFO] [stdout] e7db98629897b85169ab290bedb724199dd49f6f730aa0deff692b7435ce208f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27c4ab1a71b653a7a2fd189278ad5d657abbc8ab112d0b024a71014ebccddd16 [INFO] running `Command { std: "docker" "start" "-a" "27c4ab1a71b653a7a2fd189278ad5d657abbc8ab112d0b024a71014ebccddd16", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `snip` [INFO] [stderr] * `bin` target `snip-cli` [INFO] [stderr] Compiling snip-cli v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "27c4ab1a71b653a7a2fd189278ad5d657abbc8ab112d0b024a71014ebccddd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c4ab1a71b653a7a2fd189278ad5d657abbc8ab112d0b024a71014ebccddd16", kill_on_drop: false }` [INFO] [stdout] 27c4ab1a71b653a7a2fd189278ad5d657abbc8ab112d0b024a71014ebccddd16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96076c997ec0b82668d27a04924f1de498835118fe081c8489a81a3547135460 [INFO] running `Command { std: "docker" "start" "-a" "96076c997ec0b82668d27a04924f1de498835118fe081c8489a81a3547135460", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `snip` [INFO] [stderr] * `bin` target `snip-cli` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/snip_cli-10ccc42bdb76f7d9) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test actions::create_directory_and_file::tests::test_create_directory_and_file ... ok [INFO] [stdout] test actions::edit_snippet_in_file::tests::test_edit_with_empty_fields ... ok [INFO] [stdout] test actions::edit_snippet_in_file::tests::test_edit_with_duplicate_prefix ... ok [INFO] [stdout] test actions::search_snippets::tests::test_search_snippets ... ok [INFO] [stdout] test helpers::get_app_config::tests::test_env_var_is_not_set_then_use_default_config_path ... ignored [INFO] [stdout] test actions::write_snippet_to_file::tests::test_write_with_duplicate_key ... ok [INFO] [stdout] test actions::show_snippet::tests::test_show_snippet ... ok [INFO] [stdout] test actions::write_snippet_to_file::tests::test_write_with_duplicate_prefix ... ok [INFO] [stdout] test helpers::expand_home_dir::tests::test_expand_home_dir ... ok [INFO] [stdout] test helpers::expand_home_dir::tests::test_providing_pull_path_on_expand_home_dir ... ok [INFO] [stdout] test helpers::get_app_config::tests::test_env_var_is_set_then_use_env_var_config_path ... ok [INFO] [stdout] test helpers::is_fuzzy_match::tests::test_is_fuzzy_match ... ok [INFO] [stdout] test actions::list_snippets::tests::test_list_snippets ... ok [INFO] [stdout] test actions::remove_snippet_from_file::tests::test_remove_snippet ... ok [INFO] [stdout] test actions::write_snippet_to_file::tests::test_write_snippet_to_file ... ok [INFO] [stdout] test actions::update_key_in_file::tests::test_update_key_in_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snip-cae2915b70892b91) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snip_cli-48000edc61bbf2b1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests snip_cli [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96076c997ec0b82668d27a04924f1de498835118fe081c8489a81a3547135460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96076c997ec0b82668d27a04924f1de498835118fe081c8489a81a3547135460", kill_on_drop: false }` [INFO] [stdout] 96076c997ec0b82668d27a04924f1de498835118fe081c8489a81a3547135460