[INFO] fetching crate actix-web-codegen 0.5.0-beta.3... [INFO] checking actix-web-codegen-0.5.0-beta.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate actix-web-codegen 0.5.0-beta.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate actix-web-codegen 0.5.0-beta.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-codegen 0.5.0-beta.3 [INFO] finished tweaking crates.io crate actix-web-codegen 0.5.0-beta.3 [INFO] tweaked toml for crates.io crate actix-web-codegen 0.5.0-beta.3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 993c7150f1385a575a771d5741481acc7d8a39b4ea54aa1f6b3162c65c6894f5 [INFO] running `Command { std: "docker" "start" "-a" "993c7150f1385a575a771d5741481acc7d8a39b4ea54aa1f6b3162c65c6894f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "993c7150f1385a575a771d5741481acc7d8a39b4ea54aa1f6b3162c65c6894f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993c7150f1385a575a771d5741481acc7d8a39b4ea54aa1f6b3162c65c6894f5", kill_on_drop: false }` [INFO] [stdout] 993c7150f1385a575a771d5741481acc7d8a39b4ea54aa1f6b3162c65c6894f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19d616b2ff89e1e10426df6bc73414f0a532dc1f6aae335e2436c5fad11a5980 [INFO] running `Command { std: "docker" "start" "-a" "19d616b2ff89e1e10426df6bc73414f0a532dc1f6aae335e2436c5fad11a5980", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking actix-web-codegen v0.5.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_utils` [INFO] [stdout] --> tests/test_macro.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_utils::future::{ok, Ready}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `actix_utils` [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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{ [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_core` [INFO] [stdout] --> tests/test_macro.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_core::future::LocalBoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> tests/test_macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{ [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:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | actix_web::dev::forward_ready!(service); [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_rt` [INFO] [stdout] --> tests/test_macro.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | #[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:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | #[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:250:3 [INFO] [stdout] | [INFO] [stdout] 250 | #[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:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | #[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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[get("/config")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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 `rustversion` [INFO] [stdout] --> tests/trybuild.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[rustversion::stable(1.46)] // MSRV [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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[put("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[patch("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[post("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (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:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[head("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `head` (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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[connect("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `connect` (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:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[options("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `options` (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:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[trace("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `trace` (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:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | 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:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | 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:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[put("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (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:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | #[delete("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (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:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | #[get("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `actix_web` [INFO] [stdout] --> tests/test_macro.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[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 the attribute macro `route` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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` due to 3 previous errors [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:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[get("/custom_resource_name", name = "custom")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | async fn custom_resource_name_test<'a>(req: actix_web::HttpRequest) -> impl 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 type `HeaderName` [INFO] [stdout] --> tests/test_macro.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | 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:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | 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:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[get("/test/wrap", wrap = "ChangeStatusCode")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (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_test` [INFO] [stdout] --> tests/test_macro.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_macro.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_macro.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | let srv = actix_test::start(|| App::new().service(auto_async)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_macro.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | let srv = actix_test::start(|| App::new().service(get_wrap)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> tests/test_macro.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(response.status(), StatusCode::NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_macro.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | ok(HttpResponse::Ok().finish()) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_macro.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ok(HttpResponse::Ok().finish()) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Transform` in this scope [INFO] [stdout] --> tests/test_macro.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | 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:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | 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:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | 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:103:16 [INFO] [stdout] | [INFO] [stdout] 101 | impl Transform for ChangeStatusCode [INFO] [stdout] | - help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] 102 | where [INFO] [stdout] 103 | 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:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | 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:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | type Response = ServiceResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ready` in this scope [INFO] [stdout] --> tests/test_macro.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | type Future = Ready>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Ready; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Ready; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_macro.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | ok(ChangeStatusCodeMiddleware { service }) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> tests/test_macro.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | 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:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 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:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:16 [INFO] [stdout] | [INFO] [stdout] 122 | impl Service for ChangeStatusCodeMiddleware [INFO] [stdout] | - help: you might be missing a type parameter: `, ServiceRequest` [INFO] [stdout] 123 | where [INFO] [stdout] 124 | 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:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | 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:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | 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:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | 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:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, 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" "19d616b2ff89e1e10426df6bc73414f0a532dc1f6aae335e2436c5fad11a5980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d616b2ff89e1e10426df6bc73414f0a532dc1f6aae335e2436c5fad11a5980", kill_on_drop: false }` [INFO] [stdout] 19d616b2ff89e1e10426df6bc73414f0a532dc1f6aae335e2436c5fad11a5980