[INFO] fetching crate ts-webapi 0.4.11... [INFO] testing ts-webapi-0.4.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ts-webapi 0.4.11 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ts-webapi 0.4.11 [INFO] finished tweaking crates.io crate ts-webapi 0.4.11 [INFO] tweaked toml for crates.io crate ts-webapi 0.4.11 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-webapi 0.4.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ts-webapi 0.4.11 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-ansi v0.2.0 [INFO] [stderr] Downloaded ts-error v0.4.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded ts-error-derive v0.1.1 [INFO] [stderr] Downloaded ts-sql v0.9.0 [INFO] [stderr] Downloaded postgres-types v0.2.10 [INFO] [stderr] Downloaded tokio-postgres v0.7.14 [INFO] [stderr] Downloaded ed448-goldilocks v0.14.0-pre.4 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded bb8-postgres v0.9.0 [INFO] [stderr] Downloaded rfc6979 v0.5.0-rc.1 [INFO] [stderr] Downloaded hash2curve v0.14.0-rc.2 [INFO] [stderr] Downloaded p384 v0.14.0-pre.11 [INFO] [stderr] Downloaded ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Downloaded p521 v0.14.0-pre.11 [INFO] [stderr] Downloaded primeorder v0.14.0-pre.9 [INFO] [stderr] Downloaded rsa v0.10.0-rc.8 [INFO] [stderr] Downloaded sec1 v0.8.0-rc.10 [INFO] [stderr] Downloaded sha2 v0.11.0-rc.2 [INFO] [stderr] Downloaded sha3 v0.11.0-rc.3 [INFO] [stderr] Downloaded der v0.8.0-rc.9 [INFO] [stderr] Downloaded p256 v0.14.0-pre.11 [INFO] [stderr] Downloaded crypto-bigint v0.7.0-rc.7 [INFO] [stderr] Downloaded const-oid v0.10.1 [INFO] [stderr] Downloaded pem-rfc7468 v1.0.0-rc.3 [INFO] [stderr] Downloaded postgres v0.19.11 [INFO] [stderr] Downloaded base16ct v0.3.0 [INFO] [stderr] Downloaded hybrid-array v0.4.4 [INFO] [stderr] Downloaded curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Downloaded digest v0.11.0-rc.2 [INFO] [stderr] Downloaded spki v0.8.0-rc.4 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded primefield v0.14.0-pre.6 [INFO] [stderr] Downloaded ff v0.14.0-pre.0 [INFO] [stderr] Downloaded group v0.14.0-pre.0 [INFO] [stderr] Downloaded elliptic-curve v0.14.0-rc.14 [INFO] [stderr] Downloaded serdect v0.4.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.5 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.4 [INFO] [stderr] Downloaded signature v3.0.0-rc.4 [INFO] [stderr] Downloaded ts-crypto v0.3.1 [INFO] [stderr] Downloaded ts-token v0.7.3 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded ed25519 v3.0.0-rc.1 [INFO] [stderr] Downloaded ed448 v0.5.0-rc.1 [INFO] [stderr] Downloaded keccak v0.2.0-rc.0 [INFO] [stderr] Downloaded hmac v0.13.0-rc.2 [INFO] [stderr] Downloaded crypto-primes v0.7.0-pre.3 [INFO] [stderr] Downloaded pkcs1 v0.8.0-rc.4 [INFO] [stderr] Downloaded ecdsa v0.17.0-rc.7 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.7 [INFO] [stderr] Downloaded ts-webapi v0.4.10 [INFO] [stderr] Downloaded ts-io v0.6.0 [INFO] [stderr] Downloaded fiat-crypto v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07e6f1e6e24e10b2559ad13f63cb9bdbd3ea28ffe3577730455c1acf20c545b4 [INFO] running `Command { std: "docker" "start" "-a" "07e6f1e6e24e10b2559ad13f63cb9bdbd3ea28ffe3577730455c1acf20c545b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07e6f1e6e24e10b2559ad13f63cb9bdbd3ea28ffe3577730455c1acf20c545b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e6f1e6e24e10b2559ad13f63cb9bdbd3ea28ffe3577730455c1acf20c545b4", kill_on_drop: false }` [INFO] [stdout] 07e6f1e6e24e10b2559ad13f63cb9bdbd3ea28ffe3577730455c1acf20c545b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6dcf5994e82093eea070be69a062d6e2bdb711b8191b009b09bb4f456fe788 [INFO] running `Command { std: "docker" "start" "-a" "af6dcf5994e82093eea070be69a062d6e2bdb711b8191b009b09bb4f456fe788", kill_on_drop: false }` [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling ts-ansi v0.2.0 [INFO] [stderr] Compiling base64ct v1.8.0 [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 serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ts-error-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ts-error v0.4.0 [INFO] [stderr] Compiling ts-io v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling postgres v0.19.11 [INFO] [stderr] Compiling ts-sql v0.9.0 [INFO] [stderr] Compiling ts-webapi v0.4.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.14s [INFO] running `Command { std: "docker" "inspect" "af6dcf5994e82093eea070be69a062d6e2bdb711b8191b009b09bb4f456fe788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6dcf5994e82093eea070be69a062d6e2bdb711b8191b009b09bb4f456fe788", kill_on_drop: false }` [INFO] [stdout] af6dcf5994e82093eea070be69a062d6e2bdb711b8191b009b09bb4f456fe788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 921d8fe4c754abb6eb04d3db196bc289c8c84519bf9ad873576e36bd87789603 [INFO] running `Command { std: "docker" "start" "-a" "921d8fe4c754abb6eb04d3db196bc289c8c84519bf9ad873576e36bd87789603", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.10.1 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0-rc.3 [INFO] [stderr] Compiling base16ct v0.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling keccak v0.2.0-rc.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling fiat-crypto v0.3.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling ff v0.14.0-pre.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling group v0.14.0-pre.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hybrid-array v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.4 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.5 [INFO] [stderr] Compiling crypto-bigint v0.7.0-rc.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling der v0.8.0-rc.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling digest v0.11.0-rc.2 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling signature v3.0.0-rc.4 [INFO] [stderr] Compiling hmac v0.13.0-rc.2 [INFO] [stderr] Compiling sha2 v0.11.0-rc.2 [INFO] [stderr] Compiling sha3 v0.11.0-rc.3 [INFO] [stderr] Compiling rfc6979 v0.5.0-rc.1 [INFO] [stderr] Compiling ts-io v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling spki v0.8.0-rc.4 [INFO] [stderr] Compiling sec1 v0.8.0-rc.10 [INFO] [stderr] Compiling pkcs8 v0.11.0-rc.7 [INFO] [stderr] Compiling pkcs1 v0.8.0-rc.4 [INFO] [stderr] Compiling ed25519 v3.0.0-rc.1 [INFO] [stderr] Compiling ed448 v0.5.0-rc.1 [INFO] [stderr] Compiling ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Compiling elliptic-curve v0.14.0-rc.14 [INFO] [stderr] Compiling primefield v0.14.0-pre.6 [INFO] [stderr] Compiling crypto-primes v0.7.0-pre.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling ecdsa v0.17.0-rc.7 [INFO] [stderr] Compiling primeorder v0.14.0-pre.9 [INFO] [stderr] Compiling hash2curve v0.14.0-rc.2 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling ed448-goldilocks v0.14.0-pre.4 [INFO] [stderr] Compiling p256 v0.14.0-pre.11 [INFO] [stderr] Compiling p521 v0.14.0-pre.11 [INFO] [stderr] Compiling rsa v0.10.0-rc.8 [INFO] [stderr] Compiling p384 v0.14.0-pre.11 [INFO] [stderr] Compiling postgres v0.19.11 [INFO] [stderr] Compiling ts-sql v0.9.0 [INFO] [stderr] Compiling ts-webapi v0.4.10 [INFO] [stderr] Compiling ts-webapi v0.4.11 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ts-crypto v0.3.1 [INFO] [stderr] Compiling ts-token v0.7.3 [INFO] [stdout] error: couldn't read `src/middleware/../../../ts-token/tests/keys/private.ed25519.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/middleware/mod.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PEM: &str = include_str!("../../../ts-token/tests/keys/private.ed25519.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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.10/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.10/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.10/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.10/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.10/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 8 previous errors [INFO] running `Command { std: "docker" "inspect" "921d8fe4c754abb6eb04d3db196bc289c8c84519bf9ad873576e36bd87789603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921d8fe4c754abb6eb04d3db196bc289c8c84519bf9ad873576e36bd87789603", kill_on_drop: false }` [INFO] [stdout] 921d8fe4c754abb6eb04d3db196bc289c8c84519bf9ad873576e36bd87789603