[INFO] fetching crate spin-contrib-http 0.0.9... [INFO] testing spin-contrib-http-0.0.9 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate spin-contrib-http 0.0.9 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spin-contrib-http 0.0.9 [INFO] finished tweaking crates.io crate spin-contrib-http 0.0.9 [INFO] tweaked toml for crates.io crate spin-contrib-http 0.0.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spin-contrib-http 0.0.9 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spin-contrib-http 0.0.9 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb4b8ba9fe10e3f8efd5793c29d8f30e24e4afa1676d6420fc59d0f70f280a3 [INFO] running `Command { std: "docker" "start" "-a" "ecb4b8ba9fe10e3f8efd5793c29d8f30e24e4afa1676d6420fc59d0f70f280a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb4b8ba9fe10e3f8efd5793c29d8f30e24e4afa1676d6420fc59d0f70f280a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb4b8ba9fe10e3f8efd5793c29d8f30e24e4afa1676d6420fc59d0f70f280a3", kill_on_drop: false }` [INFO] [stdout] ecb4b8ba9fe10e3f8efd5793c29d8f30e24e4afa1676d6420fc59d0f70f280a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ccc0212d4eccc8276b6fecdb5f4d930dc3e3602e27f12499aa8e79b2fca1227 [INFO] running `Command { std: "docker" "start" "-a" "3ccc0212d4eccc8276b6fecdb5f4d930dc3e3602e27f12499aa8e79b2fca1227", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling wasmparser v0.235.0 [INFO] [stderr] Compiling wasm-encoder v0.235.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wit-bindgen-rt v0.24.0 [INFO] [stderr] Compiling wit-bindgen-rust v0.43.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.43.0 [INFO] [stderr] Compiling wit-bindgen-rt v0.43.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wasi v0.13.1+wasi-0.2.0 [INFO] [stderr] Compiling spin-sdk v5.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling routefinder v0.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling postgres_range v0.11.1 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling spin-macro v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling spin-executor v5.0.0 [INFO] [stderr] Compiling wit-parser v0.235.0 [INFO] [stderr] Compiling wasm-metadata v0.235.0 [INFO] [stderr] Compiling wit-bindgen-core v0.43.0 [INFO] [stderr] Compiling wit-component v0.235.0 [INFO] [stderr] Compiling wit-bindgen v0.43.0 [INFO] [stderr] Compiling spin-contrib-http v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.11s [INFO] running `Command { std: "docker" "inspect" "3ccc0212d4eccc8276b6fecdb5f4d930dc3e3602e27f12499aa8e79b2fca1227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccc0212d4eccc8276b6fecdb5f4d930dc3e3602e27f12499aa8e79b2fca1227", kill_on_drop: false }` [INFO] [stdout] 3ccc0212d4eccc8276b6fecdb5f4d930dc3e3602e27f12499aa8e79b2fca1227 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8000e683979f996548fe5944e82f225a3a5c4ffb3e2aaee98994bc948086d2f [INFO] running `Command { std: "docker" "start" "-a" "a8000e683979f996548fe5944e82f225a3a5c4ffb3e2aaee98994bc948086d2f", kill_on_drop: false }` [INFO] [stderr] Compiling spin-contrib-http v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "a8000e683979f996548fe5944e82f225a3a5c4ffb3e2aaee98994bc948086d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8000e683979f996548fe5944e82f225a3a5c4ffb3e2aaee98994bc948086d2f", kill_on_drop: false }` [INFO] [stdout] a8000e683979f996548fe5944e82f225a3a5c4ffb3e2aaee98994bc948086d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e22af400dfe46288001ab7a37ca9c8f798158b2ce2d992cce153f4cc51ce4065 [INFO] running `Command { std: "docker" "start" "-a" "e22af400dfe46288001ab7a37ca9c8f798158b2ce2d992cce153f4cc51ce4065", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spin_contrib_http-9282e0a9beb42968) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test cors::config::tests::cors_config_should_set_null_when_origin_is_provided_as_empty ... ok [INFO] [stdout] test cookies::tests::add_cookie_should_add_secure_flag_when_same_site_is_none ... ok [INFO] [stdout] test cors::cors::tests::is_method_allowed_tests ... ok [INFO] [stdout] test cors::cors::tests::is_origin_allowed_tests ... ok [INFO] [stdout] test cors::responsebuilder::tests::builder_with_cors_should_not_set_cors_headers_for_invalid_origin ... ok [INFO] [stdout] test cors::responsebuilder::tests::requests_without_origin_header_should_not_respond_with_cors_headers ... ok [INFO] [stdout] test cors::responsebuilder::tests::builder_with_cors_sets_origins ... ok [INFO] [stdout] test cors::responsebuilder::tests::requests_should_contain_origin_and_credentials ... ok [INFO] [stdout] test cookies::tests::add_cookie_should_set_proper_header_value ... ok [INFO] [stdout] test cors::router::tests::preflight_must_return_method_not_allowed_if_requested_method_is_not_in_cors_config ... ok [INFO] [stdout] test cors::responsebuilder::tests::vary_header_should_be_set_when_origins_are_set_explicitly ... ok [INFO] [stdout] test cors::responsebuilder::tests::vary_header_should_not_be_set_if_all_origins_are_allowed ... ok [INFO] [stdout] test request::tests::get_route_segments_should_empty_vector_for_root_url ... ok [INFO] [stdout] test cors::router::tests::preflights_with_invalid_origin_should_result_in_forbidden ... ok [INFO] [stdout] test request::tests::get_header_value_as_string_should_return_correct_values ... ok [INFO] [stdout] test response::tests::bad_request_should_set_status_code_to_400 ... ok [INFO] [stdout] test request::tests::get_route_segments_should_return_provided_segments ... ok [INFO] [stdout] test response::tests::no_content_should_set_status_code_to_204 ... ok [INFO] [stdout] test response::tests::redirect_should_set_location_header ... ok [INFO] [stdout] test response::tests::redirect_should_set_status_code_302_for_permanent ... ok [INFO] [stdout] test response::tests::redirect_should_set_status_code_307_for_temporary ... ok [INFO] [stderr] Doc-tests spin_contrib_http [INFO] [stdout] test cookies::tests::add_cookie_should_add_corresponding_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/response.rs - response::bad_request (line 42) ... ok [INFO] [stdout] test src/response.rs - response::redirect (line 14) ... ok [INFO] [stdout] test src/response.rs - response::no_content (line 60) ... ok [INFO] [stdout] test src/request.rs - request::Contrib::get_route_segments (line 12) ... ok [INFO] [stdout] test src/response.rs - response::status_code (line 82) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e22af400dfe46288001ab7a37ca9c8f798158b2ce2d992cce153f4cc51ce4065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22af400dfe46288001ab7a37ca9c8f798158b2ce2d992cce153f4cc51ce4065", kill_on_drop: false }` [INFO] [stdout] e22af400dfe46288001ab7a37ca9c8f798158b2ce2d992cce153f4cc51ce4065