[INFO] fetching crate actix-web-utils 0.2.20... [INFO] testing actix-web-utils-0.2.20 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate actix-web-utils 0.2.20 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate actix-web-utils 0.2.20 [INFO] finished tweaking crates.io crate actix-web-utils 0.2.20 [INFO] tweaked toml for crates.io crate actix-web-utils 0.2.20 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-web-utils 0.2.20 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92bcfb9738ad339bd0efe84630c8b2db05ab080cfb3aa4ccf79e787b0fe5282f [INFO] running `Command { std: "docker" "start" "-a" "92bcfb9738ad339bd0efe84630c8b2db05ab080cfb3aa4ccf79e787b0fe5282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92bcfb9738ad339bd0efe84630c8b2db05ab080cfb3aa4ccf79e787b0fe5282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bcfb9738ad339bd0efe84630c8b2db05ab080cfb3aa4ccf79e787b0fe5282f", kill_on_drop: false }` [INFO] [stdout] 92bcfb9738ad339bd0efe84630c8b2db05ab080cfb3aa4ccf79e787b0fe5282f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e17de0fce070dc0e442ad7b5fee0f59f6cbd3f966013a6b5da56f0a4dbe005 [INFO] running `Command { std: "docker" "start" "-a" "c6e17de0fce070dc0e442ad7b5fee0f59f6cbd3f966013a6b5da56f0a4dbe005", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-web-utils v0.2.20 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "c6e17de0fce070dc0e442ad7b5fee0f59f6cbd3f966013a6b5da56f0a4dbe005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e17de0fce070dc0e442ad7b5fee0f59f6cbd3f966013a6b5da56f0a4dbe005", kill_on_drop: false }` [INFO] [stdout] c6e17de0fce070dc0e442ad7b5fee0f59f6cbd3f966013a6b5da56f0a4dbe005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1af0775faadb1fbc7850a9fec0bc1b96c80f3dcfbd7e8e601e4d54e1a0ec44d [INFO] running `Command { std: "docker" "start" "-a" "b1af0775faadb1fbc7850a9fec0bc1b96c80f3dcfbd7e8e601e4d54e1a0ec44d", kill_on_drop: false }` [INFO] [stderr] Compiling actix-web-utils v0.2.20 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "b1af0775faadb1fbc7850a9fec0bc1b96c80f3dcfbd7e8e601e4d54e1a0ec44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1af0775faadb1fbc7850a9fec0bc1b96c80f3dcfbd7e8e601e4d54e1a0ec44d", kill_on_drop: false }` [INFO] [stdout] b1af0775faadb1fbc7850a9fec0bc1b96c80f3dcfbd7e8e601e4d54e1a0ec44d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dffc5d94b3341065972672e551c0b3de66e5d2763ac999ae44ec3735ca65733b [INFO] running `Command { std: "docker" "start" "-a" "dffc5d94b3341065972672e551c0b3de66e5d2763ac999ae44ec3735ca65733b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [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/lib.rs (/opt/rustwide/target/debug/deps/actix_web_utils-e39f733ca78abdb9) [INFO] [stderr] Doc-tests actix_web_utils [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/extensions/typed_response.rs - extensions::typed_response::TypedHttpResponse (line 7) ... FAILED [INFO] [stdout] test src/extensions/generic_error.rs - extensions::generic_error::GenericError (line 5) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/extensions/typed_response.rs - extensions::typed_response::TypedHttpResponse::return_standard_response (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/extensions/typed_response.rs - extensions::typed_response::TypedHttpResponse (line 7) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/extensions/typed_response.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 12 | return TypedHttpResponse::return_standard_response(StatusCode::OK, String::from("This is my test response!")); [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^ expected `u16`, found `StatusCode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/typed_response.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn return_standard_response(status_code: u16, body: B) -> TypedHttpResponse{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `StatusCode` into `u16` [INFO] [stdout] | [INFO] [stdout] 12 | return TypedHttpResponse::return_standard_response(StatusCode::OK.into(), String::from("This is my test response!")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/extensions/typed_response.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 14 | TypedHttpResponse::return_empty_response(StatusCode::BAD_REQUEST) [INFO] [stdout] | ---------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `StatusCode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/extensions/typed_response.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn return_empty_response(status_code: u16) -> TypedHttpResponse{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `StatusCode` into `u16` [INFO] [stdout] | [INFO] [stdout] 14 | TypedHttpResponse::return_empty_response(StatusCode::BAD_REQUEST.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/extensions/typed_response.rs - extensions::typed_response::TypedHttpResponse (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dffc5d94b3341065972672e551c0b3de66e5d2763ac999ae44ec3735ca65733b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffc5d94b3341065972672e551c0b3de66e5d2763ac999ae44ec3735ca65733b", kill_on_drop: false }` [INFO] [stdout] dffc5d94b3341065972672e551c0b3de66e5d2763ac999ae44ec3735ca65733b