[INFO] fetching crate actix-web-macros 0.1.0... [INFO] checking actix-web-macros-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate actix-web-macros 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate actix-web-macros 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-macros 0.1.0 [INFO] finished tweaking crates.io crate actix-web-macros 0.1.0 [INFO] tweaked toml for crates.io crate actix-web-macros 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44835662b1332f2cce3c90f3aa31a965d5c1eea725ff35586675c81bd62be712 [INFO] running `Command { std: "docker" "start" "-a" "44835662b1332f2cce3c90f3aa31a965d5c1eea725ff35586675c81bd62be712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44835662b1332f2cce3c90f3aa31a965d5c1eea725ff35586675c81bd62be712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44835662b1332f2cce3c90f3aa31a965d5c1eea725ff35586675c81bd62be712", kill_on_drop: false }` [INFO] [stdout] 44835662b1332f2cce3c90f3aa31a965d5c1eea725ff35586675c81bd62be712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73120f2cded486c0d46fc40f2cf9a64ec28b7501d9d38ecdbbaeafa3760315d6 [INFO] running `Command { std: "docker" "start" "-a" "73120f2cded486c0d46fc40f2cf9a64ec28b7501d9d38ecdbbaeafa3760315d6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-web-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stdout] error[E0432]: unresolved import `actix_web_codegen` [INFO] [stdout] --> tests/test_macro.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web_codegen::{connect, delete, get, head, options, patch, post, put, trace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_codegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[get("/config")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[get("/test")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `put` [INFO] [stdout] --> tests/test_macro.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[put("/test")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `patch` [INFO] [stdout] --> tests/test_macro.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[patch("/test")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `post` [INFO] [stdout] --> tests/test_macro.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/test")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `head` [INFO] [stdout] --> tests/test_macro.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[head("/test")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `connect` [INFO] [stdout] --> tests/test_macro.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[connect("/test")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `options` [INFO] [stdout] --> tests/test_macro.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[options("/test")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `trace` [INFO] [stdout] --> tests/test_macro.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[trace("/test")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[get("/test")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[get("/test")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `put` [INFO] [stdout] --> tests/test_macro.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[put("/test/{param}")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `delete` [INFO] [stdout] --> tests/test_macro.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[delete("/test/{param}")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[get("/test/{param}")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> tests/test_macro.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | #[get("/test/wrap", wrap = "ChangeStatusCode")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Path) -> impl futures::Future {get_param_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | .service(get_param_test) [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Path) -> impl futures::Future {get_param_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Path) -> impl futures::Future {put_param_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | .service(put_param_test) [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Path) -> impl futures::Future {put_param_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Path) -> impl futures::Future {delete_param_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | .service(delete_param_test) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Path) -> impl futures::Future {delete_param_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {post_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | .service(post_test) [INFO] [stdout] | ^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {post_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {put_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | .service(put_test) [INFO] [stdout] | ^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {put_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {head_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | .service(head_test) [INFO] [stdout] | ^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {head_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {connect_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | .service(connect_test) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {connect_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {options_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | .service(options_test) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {options_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {trace_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | .service(trace_test) [INFO] [stdout] | ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {trace_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {patch_test}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | .service(patch_test) [INFO] [stdout] | ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {patch_test}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {test_handler}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | .service(test_handler) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {test_handler}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl futures::Future {auto_async}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:216:49 [INFO] [stdout] | [INFO] [stdout] 216 | let srv = test::start(|| App::new().service(auto_async)); [INFO] [stdout] | ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl futures::Future {auto_async}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Path) -> impl futures::Future {get_warp}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> tests/test_macro.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | .service(get_warp) [INFO] [stdout] | ^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Path) -> impl futures::Future {get_warp}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-macros` due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "73120f2cded486c0d46fc40f2cf9a64ec28b7501d9d38ecdbbaeafa3760315d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73120f2cded486c0d46fc40f2cf9a64ec28b7501d9d38ecdbbaeafa3760315d6", kill_on_drop: false }` [INFO] [stdout] 73120f2cded486c0d46fc40f2cf9a64ec28b7501d9d38ecdbbaeafa3760315d6