[INFO] fetching crate actix-web-codegen 0.5.0-beta.1... [INFO] checking actix-web-codegen-0.5.0-beta.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate actix-web-codegen 0.5.0-beta.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate actix-web-codegen 0.5.0-beta.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-codegen 0.5.0-beta.1 [INFO] finished tweaking crates.io crate actix-web-codegen 0.5.0-beta.1 [INFO] tweaked toml for crates.io crate actix-web-codegen 0.5.0-beta.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b83627117fa8d4b9c32a4693ad49a958a056f9dbcb66a926221b8ba533f9c841 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b83627117fa8d4b9c32a4693ad49a958a056f9dbcb66a926221b8ba533f9c841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b83627117fa8d4b9c32a4693ad49a958a056f9dbcb66a926221b8ba533f9c841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83627117fa8d4b9c32a4693ad49a958a056f9dbcb66a926221b8ba533f9c841", kill_on_drop: false }` [INFO] [stdout] b83627117fa8d4b9c32a4693ad49a958a056f9dbcb66a926221b8ba533f9c841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a032ceea1d1989f58fdf310035ffa2d77334a08ac306e047d62e8d5ec19fc27 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a032ceea1d1989f58fdf310035ffa2d77334a08ac306e047d62e8d5ec19fc27", kill_on_drop: false }` [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking actix-web-codegen v0.5.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `trybuild` [INFO] [stdout] --> tests/trybuild.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let t = trybuild::TestCases::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-codegen` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse, Transform}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::http::header::{HeaderName, HeaderValue}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> tests/test_macro.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_macro.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::future::{self, LocalBoxFuture}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/test_macro.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::future::{self, LocalBoxFuture}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> tests/test_macro.rs:144:3 [INFO] [stdout] | [INFO] [stdout] 144 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> tests/test_macro.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> tests/test_macro.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> tests/test_macro.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[get("/config")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[put("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[patch("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[post("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[head("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[connect("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[options("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[trace("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | fn auto_async() -> impl Future> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:64:61 [INFO] [stdout] | [INFO] [stdout] 64 | fn auto_sync() -> impl Future> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[put("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | #[delete("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[get("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | #[route("/multi", method = "GET", method = "POST", method = "HEAD")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderName` [INFO] [stdout] --> tests/test_macro.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let header_name = HeaderName::from_lowercase(b"custom-header").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderValue` [INFO] [stdout] --> tests/test_macro.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let header_value = HeaderValue::from_str("hello").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeaderValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_macro.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/test/wrap", wrap = "ChangeStatusCode")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | async fn put_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | async fn delete_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | async fn get_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Transform` in this scope [INFO] [stdout] --> tests/test_macro.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Transform for ChangeStatusCode [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> tests/test_macro.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | impl Transform for ChangeStatusCode [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> tests/test_macro.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> tests/test_macro.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl Transform for ChangeStatusCode [INFO] [stdout] | - help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] 91 | where [INFO] [stdout] 92 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> tests/test_macro.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> tests/test_macro.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | type Response = ServiceResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> tests/test_macro.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Service for ChangeStatusCodeMiddleware [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> tests/test_macro.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl Service for ChangeStatusCodeMiddleware [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> tests/test_macro.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> tests/test_macro.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 111 | impl Service for ChangeStatusCodeMiddleware [INFO] [stdout] | - help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] 112 | where [INFO] [stdout] 113 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> tests/test_macro.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | S: Service, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> tests/test_macro.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | type Response = ServiceResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBoxFuture` in this scope [INFO] [stdout] --> tests/test_macro.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | type Future = LocalBoxFuture<'static, Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> tests/test_macro.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | async fn get_wrap(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5a032ceea1d1989f58fdf310035ffa2d77334a08ac306e047d62e8d5ec19fc27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a032ceea1d1989f58fdf310035ffa2d77334a08ac306e047d62e8d5ec19fc27", kill_on_drop: false }` [INFO] [stdout] 5a032ceea1d1989f58fdf310035ffa2d77334a08ac306e047d62e8d5ec19fc27