[INFO] fetching crate actix-web-codegen 0.4.0... [INFO] checking actix-web-codegen-0.4.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate actix-web-codegen 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate actix-web-codegen 0.4.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 322bb6fe93aa7118b9d57d249a31326f523b4425e54ccabf4470398730b77d57 [INFO] running `Command { std: "docker" "start" "-a" "322bb6fe93aa7118b9d57d249a31326f523b4425e54ccabf4470398730b77d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "322bb6fe93aa7118b9d57d249a31326f523b4425e54ccabf4470398730b77d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322bb6fe93aa7118b9d57d249a31326f523b4425e54ccabf4470398730b77d57", kill_on_drop: false }` [INFO] [stdout] 322bb6fe93aa7118b9d57d249a31326f523b4425e54ccabf4470398730b77d57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae038c14e1f6cdb2d6059d262bd2ee905463dad53c5b62f5bfb2cf7f49f9e400 [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" "ae038c14e1f6cdb2d6059d262bd2ee905463dad53c5b62f5bfb2cf7f49f9e400", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Checking 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 crate or module `rustversion` [INFO] [stdout] --> tests/trybuild.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[rustversion::stable(1.42)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rustversion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `rustversion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustversion` [INFO] [stdout] --> tests/trybuild.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[rustversion::not(nightly)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rustversion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustversion` [INFO] [stdout] --> tests/trybuild.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[rustversion::nightly] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rustversion` [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::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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `futures_util` [INFO] [stdout] --> tests/test_macro.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::future; [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:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[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:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | #[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:239:3 [INFO] [stdout] | [INFO] [stdout] 239 | #[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:248:3 [INFO] [stdout] | [INFO] [stdout] 248 | #[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:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[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 `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[E0433]: failed to resolve: use of undeclared crate 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 crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `trybuild` [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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[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:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[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:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[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:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[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:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[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:60:62 [INFO] [stdout] | [INFO] [stdout] 60 | 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:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[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:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[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:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[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:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `HeaderName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `HeaderValue` [INFO] [stdout] [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:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | #[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:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | 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:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | 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:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | 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:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Transform 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, 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, 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, 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; [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 Service for ChangeStatusCodeMiddleware [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, 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, 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, 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; [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) -> 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] [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" "ae038c14e1f6cdb2d6059d262bd2ee905463dad53c5b62f5bfb2cf7f49f9e400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae038c14e1f6cdb2d6059d262bd2ee905463dad53c5b62f5bfb2cf7f49f9e400", kill_on_drop: false }` [INFO] [stdout] ae038c14e1f6cdb2d6059d262bd2ee905463dad53c5b62f5bfb2cf7f49f9e400