[INFO] fetching crate actix-web-macros 0.1.0... [INFO] testing actix-web-macros-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate actix-web-macros 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate actix-web-macros 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] f6c3d9764ec760f7eb3ab1b39d277ea2057d8ea2248634737464c0bc10811056 [INFO] running `Command { std: "docker" "start" "-a" "f6c3d9764ec760f7eb3ab1b39d277ea2057d8ea2248634737464c0bc10811056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c3d9764ec760f7eb3ab1b39d277ea2057d8ea2248634737464c0bc10811056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c3d9764ec760f7eb3ab1b39d277ea2057d8ea2248634737464c0bc10811056", kill_on_drop: false }` [INFO] [stdout] f6c3d9764ec760f7eb3ab1b39d277ea2057d8ea2248634737464c0bc10811056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--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] dd8e6002c7f334ca9dcf5328faf9cb08474a1ec64651f73651a546ddd0671051 [INFO] running `Command { std: "docker" "start" "-a" "dd8e6002c7f334ca9dcf5328faf9cb08474a1ec64651f73651a546ddd0671051", kill_on_drop: false }` [INFO] [stderr] Compiling actix-web-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "dd8e6002c7f334ca9dcf5328faf9cb08474a1ec64651f73651a546ddd0671051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8e6002c7f334ca9dcf5328faf9cb08474a1ec64651f73651a546ddd0671051", kill_on_drop: false }` [INFO] [stdout] dd8e6002c7f334ca9dcf5328faf9cb08474a1ec64651f73651a546ddd0671051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] 7babcbe484bebcb188d2213e2d08e45d1612c2893fb54fc7dda4497a883882bf [INFO] running `Command { std: "docker" "start" "-a" "7babcbe484bebcb188d2213e2d08e45d1612c2893fb54fc7dda4497a883882bf", kill_on_drop: false }` [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-web-macros v0.1.0 (/opt/rustwide/workdir) [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" "7babcbe484bebcb188d2213e2d08e45d1612c2893fb54fc7dda4497a883882bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7babcbe484bebcb188d2213e2d08e45d1612c2893fb54fc7dda4497a883882bf", kill_on_drop: false }` [INFO] [stdout] 7babcbe484bebcb188d2213e2d08e45d1612c2893fb54fc7dda4497a883882bf