[INFO] fetching crate actix-web-codegen 0.4.0...
[INFO] testing actix-web-codegen-0.4.0 against 1.47.0 for beta-1.48-1
[INFO] extracting crate actix-web-codegen 0.4.0 into /workspace/builds/worker-14/source
[INFO] validating manifest of crates.io crate actix-web-codegen 0.4.0 on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate actix-web-codegen 0.4.0
[INFO] finished tweaking crates.io crate actix-web-codegen 0.4.0
[INFO] tweaked toml for crates.io crate actix-web-codegen 0.4.0 written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 25795dc982f3ab42d9901744fb1f16df8c4195503c573e755e87def1a97c5504
[INFO] running `Command { std: "docker" "start" "-a" "25795dc982f3ab42d9901744fb1f16df8c4195503c573e755e87def1a97c5504", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25795dc982f3ab42d9901744fb1f16df8c4195503c573e755e87def1a97c5504", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25795dc982f3ab42d9901744fb1f16df8c4195503c573e755e87def1a97c5504", kill_on_drop: false }`
[INFO] [stdout] 25795dc982f3ab42d9901744fb1f16df8c4195503c573e755e87def1a97c5504
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d211f1bb92761bf70a7de9c60effb3cf430263da060e502e22cf4da4e8101078
[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" "d211f1bb92761bf70a7de9c60effb3cf430263da060e502e22cf4da4e8101078", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.02s
[INFO] running `Command { std: "docker" "inspect" "d211f1bb92761bf70a7de9c60effb3cf430263da060e502e22cf4da4e8101078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d211f1bb92761bf70a7de9c60effb3cf430263da060e502e22cf4da4e8101078", kill_on_drop: false }`
[INFO] [stdout] d211f1bb92761bf70a7de9c60effb3cf430263da060e502e22cf4da4e8101078
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9704948e63a51de9a5ad60eca4a1b39fda9e163c26e81eb8d1587b0bf7f81146
[INFO] running `Command { std: "docker" "start" "-a" "9704948e63a51de9a5ad60eca4a1b39fda9e163c26e81eb8d1587b0bf7f81146", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `test_route_missing_method` is defined multiple times
[INFO] [stdout]   --> tests/trybuild.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn test_route_missing_method(t: &trybuild::TestCases) {
[INFO] [stdout]    | ----------------------------------------------------- previous definition of the value `test_route_missing_method` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | fn test_route_missing_method(t: &trybuild::TestCases) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_route_missing_method` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `test_route_missing_method` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `test_route_missing_method` is defined multiple times
[INFO] [stdout]   --> tests/trybuild.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn test_route_missing_method(t: &trybuild::TestCases) {
[INFO] [stdout]    | ----------------------------------------------------- previous definition of the value `test_route_missing_method` here
[INFO] [stdout] ...
[INFO] [stdout] 27 | fn test_route_missing_method(_t: &trybuild::TestCases) {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_route_missing_method` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `test_route_missing_method` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustversion`
[INFO] [stdout]   --> tests/trybuild.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[rustversion::stable(1.42)]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared type or module `rustversion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustversion`
[INFO] [stdout]   --> tests/trybuild.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[rustversion::not(stable(1.42))]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared type or module `rustversion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustversion`
[INFO] [stdout]   --> tests/trybuild.rs:21:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[rustversion::not(nightly)]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared type or module `rustversion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustversion`
[INFO] [stdout]   --> tests/trybuild.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[rustversion::nightly]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared type or module `rustversion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `trybuild`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `trybuild`
[INFO] [stdout]   --> tests/trybuild.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn test_route_missing_method(t: &trybuild::TestCases) {
[INFO] [stdout]    |                                  ^^^^^^^^ use of undeclared type or module `trybuild`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse, Transform};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `trybuild`
[INFO] [stdout]   --> tests/trybuild.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn test_route_missing_method(t: &trybuild::TestCases) {
[INFO] [stdout]    |                                  ^^^^^^^^ use of undeclared type or module `trybuild`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `trybuild`
[INFO] [stdout]   --> tests/trybuild.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn test_route_missing_method(_t: &trybuild::TestCases) {}
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type or module `trybuild`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::http::header::{HeaderName, HeaderValue};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]   --> tests/test_macro.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures_util::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared type or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:148:3
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared type or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:170:3
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared type or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:239:3
[INFO] [stdout]     |
[INFO] [stdout] 239 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared type or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:248:3
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared type or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[get("/config")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[put("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[patch("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[post("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[head("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[connect("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[options("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[trace("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn auto_async() -> impl Future<Output = Result<HttpResponse, actix_web::Error>> {
[INFO] [stdout]    |                                                              ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:65:61
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn auto_sync() -> impl Future<Output = Result<HttpResponse, actix_web::Error>> {
[INFO] [stdout]    |                                                             ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[put("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[delete("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | #[get("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[route("/multi", method = "GET", method = "POST", method = "HEAD")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type 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 or module `HeaderName`
[INFO] [stdout]    --> tests/test_macro.rs:135:31
[INFO] [stdout]     |
[INFO] [stdout] 135 |             let header_name = HeaderName::from_lowercase(b"custom-header").unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type or module `HeaderName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue`
[INFO] [stdout]    --> tests/test_macro.rs:136:32
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let header_value = HeaderValue::from_str("hello").unwrap();
[INFO] [stdout]     |                                ^^^^^^^^^^^ use of undeclared type or module `HeaderValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stdout]    --> tests/test_macro.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | #[get("/test/wrap", wrap = "ChangeStatusCode")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type 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:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 | async fn put_param_test(_: Path<String>) -> 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:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 | async fn delete_param_test(_: Path<String>) -> 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:80:28
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn get_param_test(_: Path<String>) -> 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:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl<S, B> Transform<S> for ChangeStatusCode
[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:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:93:53
[INFO] [stdout]    |
[INFO] [stdout] 93 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |     type Request = ServiceRequest;
[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:98:21
[INFO] [stdout]    |
[INFO] [stdout] 98 |     type Response = ServiceResponse<B>;
[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:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl<S, B> Service for ChangeStatusCodeMiddleware<S>
[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:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:115:53
[INFO] [stdout]     |
[INFO] [stdout] 115 |     S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, 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:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     type Request = ServiceRequest;
[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:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |     type Response = ServiceResponse<B>;
[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:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn call(&mut 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:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 | async fn get_wrap(_: Path<String>) -> 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 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actix-web-codegen`.
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[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: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9704948e63a51de9a5ad60eca4a1b39fda9e163c26e81eb8d1587b0bf7f81146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9704948e63a51de9a5ad60eca4a1b39fda9e163c26e81eb8d1587b0bf7f81146", kill_on_drop: false }`
[INFO] [stdout] 9704948e63a51de9a5ad60eca4a1b39fda9e163c26e81eb8d1587b0bf7f81146
