[INFO] fetching crate snipr 0.1.0... [INFO] testing snipr-0.1.0 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] extracting crate snipr 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate snipr 0.1.0 [INFO] finished tweaking crates.io crate snipr 0.1.0 [INFO] tweaked toml for crates.io crate snipr 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate snipr 0.1.0 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate snipr 0.1.0 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0561b53021f395f9cfe462ecf1a80f452c0a04ace52f99c11bfbf5a329dd175 [INFO] running `Command { std: "docker" "start" "-a" "a0561b53021f395f9cfe462ecf1a80f452c0a04ace52f99c11bfbf5a329dd175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0561b53021f395f9cfe462ecf1a80f452c0a04ace52f99c11bfbf5a329dd175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0561b53021f395f9cfe462ecf1a80f452c0a04ace52f99c11bfbf5a329dd175", kill_on_drop: false }` [INFO] [stdout] a0561b53021f395f9cfe462ecf1a80f452c0a04ace52f99c11bfbf5a329dd175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c7f9972e0257be222ff4a465e3ad616ecc31d52c600d8d8ff6ef66c102890e [INFO] running `Command { std: "docker" "start" "-a" "e7c7f9972e0257be222ff4a465e3ad616ecc31d52c600d8d8ff6ef66c102890e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling autocfg v1.1.0 [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 bitflags v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling fastrand v2.0.1 [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 dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [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 socket2 v0.5.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling syn v2.0.41 [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 clap_derive v4.4.7 [INFO] [stderr] Compiling tokio-macros v2.2.0 [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 snipr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.27s [INFO] running `Command { std: "docker" "inspect" "e7c7f9972e0257be222ff4a465e3ad616ecc31d52c600d8d8ff6ef66c102890e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c7f9972e0257be222ff4a465e3ad616ecc31d52c600d8d8ff6ef66c102890e", kill_on_drop: false }` [INFO] [stdout] e7c7f9972e0257be222ff4a465e3ad616ecc31d52c600d8d8ff6ef66c102890e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84bd9c945bc822883e98055827116044ce0e4db7d36254157b18463d88d2e106 [INFO] running `Command { std: "docker" "start" "-a" "84bd9c945bc822883e98055827116044ce0e4db7d36254157b18463d88d2e106", kill_on_drop: false }` [INFO] [stderr] Compiling snipr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "84bd9c945bc822883e98055827116044ce0e4db7d36254157b18463d88d2e106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84bd9c945bc822883e98055827116044ce0e4db7d36254157b18463d88d2e106", kill_on_drop: false }` [INFO] [stdout] 84bd9c945bc822883e98055827116044ce0e4db7d36254157b18463d88d2e106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd481f66a4018b8b0904e6f5fc0879197301bd607322fdcf9c803024c44efda7 [INFO] running `Command { std: "docker" "start" "-a" "bd481f66a4018b8b0904e6f5fc0879197301bd607322fdcf9c803024c44efda7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/snipr-baca94714d156c6e) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snipr-4a3d9b1947995f6b) [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_duplicate_prefix ... 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_prefix ... ok [INFO] [stdout] test actions::show_snippet::tests::test_show_snippet ... 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::search_snippets::tests::test_search_snippets ... ok [INFO] [stdout] test actions::edit_snippet_in_file::tests::test_edit_with_empty_fields ... 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::update_key_in_file::tests::test_update_key_in_file ... ok [INFO] [stdout] test actions::write_snippet_to_file::tests::test_write_with_duplicate_key ... ok [INFO] [stdout] test actions::list_snippets::tests::test_list_snippets ... 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] [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 snipr [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" "bd481f66a4018b8b0904e6f5fc0879197301bd607322fdcf9c803024c44efda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd481f66a4018b8b0904e6f5fc0879197301bd607322fdcf9c803024c44efda7", kill_on_drop: false }` [INFO] [stdout] bd481f66a4018b8b0904e6f5fc0879197301bd607322fdcf9c803024c44efda7