[INFO] cloning repository https://github.com/isaacadams/hat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isaacadams/hat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacadams%2Fhat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacadams%2Fhat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 452bd578411b70423dda99a0225dca98db4aa8b6 [INFO] testing isaacadams/hat against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacadams%2Fhat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/isaacadams/hat [INFO] finished tweaking git repo https://github.com/isaacadams/hat [INFO] tweaked toml for git repo https://github.com/isaacadams/hat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/isaacadams/hat on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/isaacadams/hat 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86e8bcf451007efbe9c87bae0f825276778e8c17194b7f7728b6075b7563dfbe [INFO] running `Command { std: "docker" "start" "-a" "86e8bcf451007efbe9c87bae0f825276778e8c17194b7f7728b6075b7563dfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e8bcf451007efbe9c87bae0f825276778e8c17194b7f7728b6075b7563dfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e8bcf451007efbe9c87bae0f825276778e8c17194b7f7728b6075b7563dfbe", kill_on_drop: false }` [INFO] [stdout] 86e8bcf451007efbe9c87bae0f825276778e8c17194b7f7728b6075b7563dfbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b129eaa135e2e6ac0d26e9ee74704b42381776c2584fff7c0af88823029cc6bd [INFO] running `Command { std: "docker" "start" "-a" "b129eaa135e2e6ac0d26e9ee74704b42381776c2584fff7c0af88823029cc6bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling gjson v0.8.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling evalexpr v11.3.0 [INFO] [stderr] Compiling ureq v2.9.7 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling hat v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/store.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 - fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] 13 + fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "b129eaa135e2e6ac0d26e9ee74704b42381776c2584fff7c0af88823029cc6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b129eaa135e2e6ac0d26e9ee74704b42381776c2584fff7c0af88823029cc6bd", kill_on_drop: false }` [INFO] [stdout] b129eaa135e2e6ac0d26e9ee74704b42381776c2584fff7c0af88823029cc6bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad8d86f037f4a317ff17bbc41ebb9828151cc3709639f9954c7c49dbde0ee33c [INFO] running `Command { std: "docker" "start" "-a" "ad8d86f037f4a317ff17bbc41ebb9828151cc3709639f9954c7c49dbde0ee33c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling snapbox-macros v0.3.9 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling jaq-parse v0.10.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling snapbox v0.4.17 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling hifijson v0.2.1 [INFO] [stderr] Compiling trycmd v0.14.21 [INFO] [stderr] Compiling jaq-core v0.10.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling hat v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/store.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 - fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] 13 + fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/store.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 - fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] 13 + fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.59s [INFO] running `Command { std: "docker" "inspect" "ad8d86f037f4a317ff17bbc41ebb9828151cc3709639f9954c7c49dbde0ee33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8d86f037f4a317ff17bbc41ebb9828151cc3709639f9954c7c49dbde0ee33c", kill_on_drop: false }` [INFO] [stdout] ad8d86f037f4a317ff17bbc41ebb9828151cc3709639f9954c7c49dbde0ee33c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8737091a0582491b262fc1890ce010cb46ce3509a8e25c7db21a875b9779fa4 [INFO] running `Command { std: "docker" "start" "-a" "b8737091a0582491b262fc1890ce010cb46ce3509a8e25c7db21a875b9779fa4", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/store.rs:13:67 [INFO] [stderr] | [INFO] [stderr] 13 | fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 13 - fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stderr] 13 + fn fetch_value<'a>(&'a self, key: &'a str) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hat` (lib) generated 1 warning (run `cargo fix --lib -p hat` to apply 1 suggestion) [INFO] [stderr] warning: `hat` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hat-a0f66ea67d0aab9a) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test http_file::endpoint::test::endpoint_parsing_works ... ok [INFO] [stdout] test http_file::parser::test::http_errors_when_empty ... ok [INFO] [stdout] test http_file::parser::test::http_with_body_only ... ok [INFO] [stdout] test http_file::parser::test::http_with_single_header ... ok [INFO] [stdout] test http_file::parser::test::http_multiline_errors_when_header_name_is_missing_colon ... ok [INFO] [stdout] test http_file::parser::test::http_with_many_headers_and_body ... ok [INFO] [stdout] test http_file::parser::test::http_single_line ... ok [INFO] [stdout] test http_file::request_builder::test::host_header_builder_works ... ok [INFO] [stdout] test http_file::parser::test::throws_error_on_missing_url ... ok [INFO] [stdout] test query::test::basic_json_field_query ... ok [INFO] [stdout] test query::test::headers_as_json ... ok [INFO] [stdout] test query::test::status_codes_as_json ... ok [INFO] [stdout] test http_file::parser::test::http_with_headers_and_many_header_values ... ok [INFO] [stdout] test http_file::parser::test::http_with_many_headers ... ok [INFO] [stdout] test store::test::check_multiline ... ok [INFO] [stdout] test store::test::json_array_variable_replacement_works ... ok [INFO] [stdout] test query::test::nested_json_field_query ... ok [INFO] [stdout] test store::test::variable_replacement_works ... ok [INFO] [stdout] test test::v2 ... ok [INFO] [stdout] test test::jq_test ... ok [INFO] [stdout] test test::jq_test_2 ... ok [INFO] [stdout] test test::verify_cli ... ok [INFO] [stdout] test store::test::json_variable_replacement_works ... ok [INFO] [stdout] test store::test::key_split ... ok [INFO] [stdout] test query::test::nested_json_array_query ... ok [INFO] [stdout] test http_file::parser::test::http_multiline_errors_when_last_line_is_not_only_newline ... ok [INFO] [stderr] Testing README.md:10 ... ok [INFO] [stderr] Testing example/local/local.md:2 ... failed [INFO] [stderr] Expected success, was 1 [INFO] [stderr] [INFO] [stderr] ---- expected: stdout [INFO] [stderr] ++++ actual: stdout [INFO] [stderr]  1 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/200: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  1  2 |  [INFO] [stderr]  2 - ✅ 200 OK GET http://localhost:5000/200 HTTP/1.1 [INFO] [stderr]  3 - 📌 status only, no headers or body [INFO] [stderr]  4 -  [INFO] [stderr]  5 -  ✅ 200 == 200 [INFO] [stderr]   3 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/message: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  6  4 |  [INFO] [stderr]  7 -  [INFO] [stderr]  8 - ✅ 200 OK GET http://localhost:5000/message HTTP/1.1 [INFO] [stderr]  9 - 📌 status + json body, no headers [INFO] [stderr]  10 -  [INFO] [stderr]  11 -  ✅ 200 == 200 [INFO] [stderr]  12 -  ✅ "hello world!" == "hello world!" [INFO] [stderr]   5 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/message: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  13  6 |  [INFO] [stderr]   7 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/%7B%7BnextRoute%7D%7D: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  14  8 |  [INFO] [stderr]  15 - ✅ 200 OK POST http://localhost:5000/message HTTP/1.1 [INFO] [stderr]  16 - 📌 post message w/ header [INFO] [stderr]   9 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/posts/1: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  17  10 |  [INFO] [stderr]  18 -  ✅ 200 == 200 [INFO] [stderr]  19 -  ✅ 2 == 2 [INFO] [stderr]  20 -  ✅ "application/json" == "application/json" [INFO] [stderr]  21 -  ✅ "hello, a second time" == "hello, a second time" [INFO] [stderr]  22 -  ✅ "posts" == "posts" [INFO] [stderr]  23 -  [INFO] [stderr]  24 -  [INFO] [stderr]  25 - ✅ 200 OK GET http://localhost:5000/posts HTTP/1.1 [INFO] [stderr]  26 - 📌 show example of querying arrays in response [INFO] [stderr]  27 -  [INFO] [stderr]  28 -  ✅ 200 == 200 [INFO] [stderr]  29 -  ✅ 175 > 0 [INFO] [stderr]  30 -  ✅ "how to build a CLI program in rust" == "how to build a CLI program in rust" [INFO] [stderr]  31 -  ✅ "why you might need a vacation after build a CLI program in rust" == "why you might need a vacation after build a CLI program in rust" [INFO] [stderr]  32 -  ✅ "reasons for drinking beer while writing a rust CLI program" == "reasons for drinking beer while writing a rust CLI program" [INFO] [stderr]  33 -  [INFO] [stderr]  34 -  [INFO] [stderr]  35 - ✅ 200 OK GET http://localhost:5000/posts/1 HTTP/1.1 [INFO] [stderr]  36 - 📌 text body works [INFO] [stderr]  37 -  [INFO] [stderr]  38 -  ✅ 200 == 200 [INFO] [stderr]  39 -  ✅ "how to build a CLI program in rust" == "how to build a CLI program in rust" [INFO] [stderr]  40 -  [INFO] [stderr]  41 -  [INFO] [stderr]  42 - ✅ 201 Created POST http://localhost:5000/posts HTTP/1.1 [INFO] [stderr]  43 - 📌 show example of querying arrays in response [INFO] [stderr]  44 -  [INFO] [stderr]  45 -  ✅ 201 == 201 [INFO] [stderr]   11 + ❌ test failed to build before execution, cause: response failed: http://localhost:5000/posts: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr] stderr: [INFO] [stderr]  [INFO] [stderr] Testing example/fail/fail.md:2 ... ok [INFO] [stderr] Testing example/pastebin/pastebin.md:2 ... failed [INFO] [stderr] Expected success, was 1 [INFO] [stderr] [INFO] [stderr] ---- expected: stdout [INFO] [stderr] ++++ actual: stdout [INFO] [stderr]  1 -  [INFO] [stderr]  2 - ✅ 200 OK POST http://localhost:7777/documents HTTP/1.1 [INFO] [stderr]  3 -  [INFO] [stderr]  4 -  ✅ 200 == 200 [INFO] [stderr]  5 -  [INFO] [stderr]  6 -  [INFO] [stderr]  7 - ✅ 200 OK GET http://localhost:7777/raw/[..] HTTP/1.1 [INFO] [stderr]   1 + ❌ test failed to build before execution, cause: response failed: http://localhost:7777/documents: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr]  8  2 |  [INFO] [stderr]  9 -  ✅ 200 == 200 [INFO] [stderr]  10 -  ✅ "I was created by hat." == "I was created by hat." [INFO] [stderr]   3 + ❌ test failed to build before execution, cause: response failed: http://localhost:7777/raw/%7B%7Bid%7D%7D: Connection Failed: Connect error: Connection refused (os error 111) [INFO] [stderr] stderr: [INFO] [stderr]  [INFO] [stderr] Update snapshots with `TRYCMD=overwrite` [INFO] [stderr] Debug output with `TRYCMD=dump` [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test test::cli_tests ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::cli_tests stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::cli_tests' (39) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trycmd-0.14.21/src/runner.rs:104:17: [INFO] [stdout] 2 of 4 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58b8e4eb337a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58b8e4eb337a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58b8e4eb337a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58b8e4eb337a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58b8e4ecb2ca - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58b8e4ecb2ca - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x58b8e4eb8602 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58b8e4eb8602 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x58b8e4e8d3af - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58b8e4e8d3af - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58b8e4ea9619 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58b8e492586c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x58b8e492586c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58b8e4ea9892 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x58b8e4ea9892 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58b8e4e8d468 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58b8e4e84459 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58b8e4e8e3cd - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58b8e4ecbb3c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58b8e4670524 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trycmd-0.14.21/src/runner.rs:104:17 [INFO] [stdout] 20: 0x58b8e45d951f - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trycmd-0.14.21/src/cases.rs:165:16 [INFO] [stdout] 21: 0x58b8e45da22a - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trycmd-0.14.21/src/cases.rs:175:18 [INFO] [stdout] 22: 0x58b8e45d67e7 - core[6aaeda2c7ad07a48]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/mod.rs:809:1 [INFO] [stdout] 23: 0x58b8e45a1afe - hat[4ee6a9eb3cc6917e]::test::cli_tests [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:16:27 [INFO] [stdout] 24: 0x58b8e459f707 - hat[4ee6a9eb3cc6917e]::test::cli_tests::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:13:15 [INFO] [stdout] 25: 0x58b8e45a3436 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58b8e491994b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x58b8e491994b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x58b8e492633b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x58b8e492633b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 30: 0x58b8e492633b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x58b8e492633b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x58b8e492633b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x58b8e492633b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x58b8e492633b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x58b8e4921a54 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x58b8e4921a54 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x58b8e4928f42 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x58b8e4928f42 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 39: 0x58b8e4928f42 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x58b8e4928f42 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x58b8e4928f42 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x58b8e4928f42 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x58b8e4928f42 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x58b8e4eb23af - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 45: 0x58b8e4eb23af - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 46: 0x7030e502faa4 - [INFO] [stdout] 47: 0x7030e50bca64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::cli_tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 26 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8737091a0582491b262fc1890ce010cb46ce3509a8e25c7db21a875b9779fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8737091a0582491b262fc1890ce010cb46ce3509a8e25c7db21a875b9779fa4", kill_on_drop: false }` [INFO] [stdout] b8737091a0582491b262fc1890ce010cb46ce3509a8e25c7db21a875b9779fa4