[INFO] fetching crate ts-webapi 0.4.7... [INFO] building ts-webapi-0.4.7 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ts-webapi 0.4.7 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ts-webapi 0.4.7 [INFO] finished tweaking crates.io crate ts-webapi 0.4.7 [INFO] tweaked toml for crates.io crate ts-webapi 0.4.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-webapi 0.4.7 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] crate crates.io crate ts-webapi 0.4.7 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded ts-error v0.3.2 [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded postgres v0.19.10 [INFO] [stderr] Downloaded bb8 v0.9.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded bb8-postgres v0.9.0 [INFO] [stderr] Downloaded ts-webapi v0.4.6 [INFO] [stderr] Downloaded ts-ansi v0.2.0 [INFO] [stderr] Downloaded ts-token v0.5.2 [INFO] [stderr] Downloaded ts-sql v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 83ade868c7427fd66c45eecaf59e9b6defab6e275303f13e642dcaa7abed4734 [INFO] running `Command { std: "docker" "start" "-a" "83ade868c7427fd66c45eecaf59e9b6defab6e275303f13e642dcaa7abed4734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83ade868c7427fd66c45eecaf59e9b6defab6e275303f13e642dcaa7abed4734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ade868c7427fd66c45eecaf59e9b6defab6e275303f13e642dcaa7abed4734", kill_on_drop: false }` [INFO] [stdout] 83ade868c7427fd66c45eecaf59e9b6defab6e275303f13e642dcaa7abed4734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 08ab0e60750aaa45e134fc3f350a9e61453b59d3ab35c17eadacaaf9ff6945cc [INFO] running `Command { std: "docker" "start" "-a" "08ab0e60750aaa45e134fc3f350a9e61453b59d3ab35c17eadacaaf9ff6945cc", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ts-ansi v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ts-error v0.3.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling ts-sql v0.8.3 [INFO] [stderr] Compiling ts-webapi v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.36s [INFO] running `Command { std: "docker" "inspect" "08ab0e60750aaa45e134fc3f350a9e61453b59d3ab35c17eadacaaf9ff6945cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ab0e60750aaa45e134fc3f350a9e61453b59d3ab35c17eadacaaf9ff6945cc", kill_on_drop: false }` [INFO] [stdout] 08ab0e60750aaa45e134fc3f350a9e61453b59d3ab35c17eadacaaf9ff6945cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aa288c35e3ffd13f8cef3e06670fa6ef56acf7fc05c7870bb21e7e5b294ff907 [INFO] running `Command { std: "docker" "start" "-a" "aa288c35e3ffd13f8cef3e06670fa6ef56acf7fc05c7870bb21e7e5b294ff907", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling ts-sql v0.8.3 [INFO] [stderr] Compiling ts-webapi v0.4.6 [INFO] [stderr] Compiling ts-webapi v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ts-token v0.5.2 [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/api_key.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | use crate::{middleware::api_key::ApiKeyAuth, test::ResponseTestExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `ts_webapi::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 16 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/middleware/authorization.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | test::ResponseTestExt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `ts_webapi::test` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 16 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_status` found for struct `Response` in the current scope [INFO] [stdout] --> src/middleware/api_key.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 129 | / router [INFO] [stdout] 130 | | .oneshot( [INFO] [stdout] 131 | | Request::builder() [INFO] [stdout] 132 | | .uri("/") [INFO] [stdout] ... | [INFO] [stdout] 137 | | .unwrap() [INFO] [stdout] 138 | | .expect_status(StatusCode::UNAUTHORIZED); [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `Response` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ts-webapi-0.4.6/src/test/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn expect_status(self, status: StatusCode) -> Self; [INFO] [stdout] | ------------- the method is available for `Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResponseTestExt` which provides `expect_status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 105 + use ts_webapi::test::ResponseTestExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_status` found for struct `Response` in the current scope [INFO] [stdout] --> src/middleware/api_key.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 153 | / service [INFO] [stdout] 154 | | .ready() [INFO] [stdout] 155 | | .await [INFO] [stdout] 156 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 159 | | .unwrap() [INFO] [stdout] 160 | | .expect_status(StatusCode::UNAUTHORIZED); [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `Response>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ts-webapi-0.4.6/src/test/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn expect_status(self, status: StatusCode) -> Self; [INFO] [stdout] | ------------- the method is available for `Response>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResponseTestExt` which provides `expect_status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 105 + use ts_webapi::test::ResponseTestExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_status` found for struct `Response` in the current scope [INFO] [stdout] --> src/middleware/api_key.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 178 | / service [INFO] [stdout] 179 | | .ready() [INFO] [stdout] 180 | | .await [INFO] [stdout] 181 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 184 | | .unwrap() [INFO] [stdout] 185 | | .expect_status(StatusCode::FORBIDDEN); [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `Response>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ts-webapi-0.4.6/src/test/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn expect_status(self, status: StatusCode) -> Self; [INFO] [stdout] | ------------- the method is available for `Response>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResponseTestExt` which provides `expect_status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 105 + use ts_webapi::test::ResponseTestExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_status` found for struct `Response` in the current scope [INFO] [stdout] --> src/middleware/api_key.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 203 | / service [INFO] [stdout] 204 | | .ready() [INFO] [stdout] 205 | | .await [INFO] [stdout] 206 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 209 | | .unwrap() [INFO] [stdout] 210 | | .expect_status(StatusCode::OK); [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `Response>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ts-webapi-0.4.6/src/test/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn expect_status(self, status: StatusCode) -> Self; [INFO] [stdout] | ------------- the method is available for `Response>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResponseTestExt` which provides `expect_status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 105 + use ts_webapi::test::ResponseTestExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_status` found for struct `Response` in the current scope [INFO] [stdout] --> src/middleware/authorization.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 147 | / Router::new() [INFO] [stdout] 148 | | .route("/resource/id", get(|| async move { StatusCode::OK })) [INFO] [stdout] 149 | | .layer(auth) [INFO] [stdout] 150 | | .oneshot(request) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | .unwrap() [INFO] [stdout] 153 | | .expect_status(StatusCode::OK); [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `Response` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ts-webapi-0.4.6/src/test/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn expect_status(self, status: StatusCode) -> Self; [INFO] [stdout] | ------------- the method is available for `Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResponseTestExt` which provides `expect_status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 127 + use ts_webapi::test::ResponseTestExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-webapi` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "aa288c35e3ffd13f8cef3e06670fa6ef56acf7fc05c7870bb21e7e5b294ff907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa288c35e3ffd13f8cef3e06670fa6ef56acf7fc05c7870bb21e7e5b294ff907", kill_on_drop: false }` [INFO] [stdout] aa288c35e3ffd13f8cef3e06670fa6ef56acf7fc05c7870bb21e7e5b294ff907