[INFO] cloning repository https://github.com/jfding/localhost
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfding/localhost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfding%2Flocalhost", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfding%2Flocalhost'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b955b4a551131dd3196e23a8f077bb54b28ec0e
[INFO] testing jfding/localhost against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfding%2Flocalhost" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jfding/localhost
[INFO] finished tweaking git repo https://github.com/jfding/localhost
[INFO] tweaked toml for git repo https://github.com/jfding/localhost written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jfding/localhost on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jfding/localhost already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269
[INFO] running `Command { std: "docker" "start" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling log v0.4.32
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling arc-swap v1.9.1
[INFO] [stderr]    Compiling uuid v1.23.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling localhost v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling localhost v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.76s
[INFO] running `Command { std: "docker" "inspect" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/localhost-b05d318105011ac7)
[INFO] [stdout] 
[INFO] [stdout] running 49 tests
[INFO] [stdout] test config::tests::applies_defaults ... ok
[INFO] [stdout] test config::tests::accepts_valid_names ... ok
[INFO] [stdout] test config::tests::parses_socks5_field ... ok
[INFO] [stdout] test config::tests::accepts_socks5h_with_auth ... ok
[INFO] [stdout] test config::tests::rejects_empty_target ... ok
[INFO] [stdout] test config::tests::parses_full_example ... ok
[INFO] [stdout] test config::tests::rejects_host_with_port ... ok
[INFO] [stdout] test config::tests::rejects_host_with_scheme ... ok
[INFO] [stdout] test error::tests::status_codes_match_spec ... ok
[INFO] [stdout] test config::tests::rejects_slash_in_name ... ok
[INFO] [stdout] test error::tests::response_includes_x_localhost_error_header ... ok
[INFO] [stdout] test headers::tests::inject_overrides_existing ... ok
[INFO] [stdout] test config::tests::rejects_socks5_with_bad_scheme ... ok
[INFO] [stdout] test config::tests::leaves_lone_dollar_alone ... ok
[INFO] [stdout] test config::tests::interpolates_var ... ok
[INFO] [stdout] test config::tests::fail_fast_on_missing_var ... ok
[INFO] [stdout] test headers::tests::origin_rewrite_preserves_referer_fragment ... ok
[INFO] [stdout] test config::tests::escapes_dollar_brace ... ok
[INFO] [stdout] test config::tests::interpolate_all_applies_to_socks5 ... ok
[INFO] [stdout] test config::tests::interpolate_all_applies_to_target_and_headers ... ok
[INFO] [stdout] test headers::tests::rewrite_absolute_upstream_location ... ok
[INFO] [stdout] test config::tests::rejects_underscore_prefix ... ok
[INFO] [stdout] test headers::tests::rewrite_external_redirect_left_alone ... ok
[INFO] [stdout] test headers::tests::origin_rewrite_drops_default_port ... ok
[INFO] [stdout] test headers::tests::origin_rewrite_skips_absent_headers ... ok
[INFO] [stdout] test config::tests::rejects_socks5_without_host ... ok
[INFO] [stdout] test headers::tests::rewrite_handles_default_ports ... ok
[INFO] [stdout] test headers::tests::set_cookie_drops_secure_on_http ... ok
[INFO] [stdout] test headers::tests::set_cookie_handles_value_with_equals ... ok
[INFO] [stdout] test headers::tests::set_cookie_keeps_secure_on_https ... ok
[INFO] [stdout] test headers::tests::set_cookie_strips_domain_attr ... ok
[INFO] [stdout] test headers::tests::set_cookie_preserves_other_attrs ... ok
[INFO] [stdout] test headers::tests::strips_standard_hop_by_hop ... ok
[INFO] [stdout] test headers::tests::xff_appends_when_present ... ok
[INFO] [stdout] test headers::tests::strips_names_listed_in_connection_header ... ok
[INFO] [stdout] test headers::tests::xff_creates_when_absent ... ok
[INFO] [stdout] test loader::tests::cli_arg_wins ... ok
[INFO] [stdout] test loader::tests::env_used_when_no_cli ... ok
[INFO] [stdout] test headers::tests::rewrite_preserves_fragment ... ok
[INFO] [stdout] test headers::tests::rewrite_relative_location_left_alone ... ok
[INFO] [stdout] test headers::tests::rewrite_path_only_location_left_alone ... ok
[INFO] [stdout] test loader::tests::errors_when_nothing_found ... ok
[INFO] [stdout] test headers::tests::origin_rewritten_to_upstream ... ok
[INFO] [stdout] test upstream::tests::rejects_bad_target_at_build ... ok
[INFO] [stdout] test upstream::tests::builds_client_with_socks5_proxy ... ok
[INFO] [stdout] test upstream::tests::rejects_duplicate_host ... ok
[INFO] [stdout] test upstream::tests::builds_clients_and_host_index ... ok
[INFO] [stdout] test loader::tests_reload::reload_swaps_active_config ... ok
[INFO] [stdout] test loader::tests_reload::bad_reload_preserves_previous ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/localhost-ca30c099216b6df7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-fb1aba3533f631fd)
[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] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test backend_down_returns_502 ... ok
[INFO] [stdout] test no_rule_returns_404_with_error_header ... ok
[INFO] [stdout] test upgrade_request_returns_501 ... ok
[INFO] [stdout] test rewrites_set_cookie_and_forwards_cookie ... ok
[INFO] [stdout] test rewrite_origin_replaces_origin_and_referer ... ok
[INFO] [stdout] test happy_path_forwards_path_and_injects_header ... ok
[INFO] [stdout] test rewrites_location_header_on_3xx ... ok
[INFO] [stdout] test rewrite_origin_off_forwards_verbatim ... ok
[INFO] [stdout] test host_lookup_ignores_port_and_case ... ok
[INFO] [stdout] test hot_reload_picks_up_new_rules ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests localhost
[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" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269", kill_on_drop: false }`
[INFO] [stdout] f45391477a646700babfe072d5e2c9bc1aa777cfce2b8e32a555969e6604e269
