[INFO] fetching crate actix-grants-proc-macro 2.0.0-beta.4... [INFO] testing actix-grants-proc-macro-2.0.0-beta.4 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate actix-grants-proc-macro 2.0.0-beta.4 into /workspace/builds/worker-102/source [INFO] validating manifest of crates.io crate actix-grants-proc-macro 2.0.0-beta.4 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-grants-proc-macro 2.0.0-beta.4 [INFO] finished tweaking crates.io crate actix-grants-proc-macro 2.0.0-beta.4 [INFO] tweaked toml for crates.io crate actix-grants-proc-macro 2.0.0-beta.4 written to /workspace/builds/worker-102/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f346dc5ba3ba16832b437e69728b6b8a56c4d3cbe608dbf06e8a9dd724977870 [INFO] running `Command { std: "docker" "start" "-a" "f346dc5ba3ba16832b437e69728b6b8a56c4d3cbe608dbf06e8a9dd724977870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f346dc5ba3ba16832b437e69728b6b8a56c4d3cbe608dbf06e8a9dd724977870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f346dc5ba3ba16832b437e69728b6b8a56c4d3cbe608dbf06e8a9dd724977870", kill_on_drop: false }` [INFO] [stdout] f346dc5ba3ba16832b437e69728b6b8a56c4d3cbe608dbf06e8a9dd724977870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e89b89f808fa25ed21cd02f276a9cc457d8f596b7d7d48ef3a5a80d85bbadddd [INFO] running `Command { std: "docker" "start" "-a" "e89b89f808fa25ed21cd02f276a9cc457d8f596b7d7d48ef3a5a80d85bbadddd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.49s [INFO] running `Command { std: "docker" "inspect" "e89b89f808fa25ed21cd02f276a9cc457d8f596b7d7d48ef3a5a80d85bbadddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e89b89f808fa25ed21cd02f276a9cc457d8f596b7d7d48ef3a5a80d85bbadddd", kill_on_drop: false }` [INFO] [stdout] e89b89f808fa25ed21cd02f276a9cc457d8f596b7d7d48ef3a5a80d85bbadddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa2e7a7002c4ba9001a9d5fbe65652cf90c6b5c99cdb226269b4bf447b5a19c2 [INFO] running `Command { std: "docker" "start" "-a" "fa2e7a7002c4ba9001a9d5fbe65652cf90c6b5c99cdb226269b4bf447b5a19c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.5.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling actix-server v2.0.0-beta.9 [INFO] [stderr] Compiling actix-codec v0.4.1 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-http v3.0.0-beta.14 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.5 [INFO] [stderr] Compiling actix-web v4.0.0-beta.13 [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 32.37s [INFO] running `Command { std: "docker" "inspect" "fa2e7a7002c4ba9001a9d5fbe65652cf90c6b5c99cdb226269b4bf447b5a19c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2e7a7002c4ba9001a9d5fbe65652cf90c6b5c99cdb226269b4bf447b5a19c2", kill_on_drop: false }` [INFO] [stdout] fa2e7a7002c4ba9001a9d5fbe65652cf90c6b5c99cdb226269b4bf447b5a19c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6f9133696e0bf593a20759c60877b89f2cf75708bc1ec5a295323cd89c1a7a9 [INFO] running `Command { std: "docker" "start" "-a" "e6f9133696e0bf593a20759c60877b89f2cf75708bc1ec5a295323cd89c1a7a9", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_grants_proc_macro-175ba3a006364f78) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests actix-grants-proc-macro [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - has_roles (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_permission (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_role (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - has_permissions (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - has_roles (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web_grants::proc_macro::has_roles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_grants` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_roles` in this scope [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_roles["ADMIN", "MANAGER"]] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] actix_grants_proc_macro::has_roles [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - has_any_permission (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web_grants::proc_macro::has_any_permission; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_grants` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_any_permission` in this scope [INFO] [stdout] --> src/lib.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_any_permission["ROLE_ADMIN", "ROLE_MANAGER"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] actix_grants_proc_macro::has_any_permission [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - has_any_role (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web_grants::proc_macro::has_any_role; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_grants` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_any_role` in this scope [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_any_role["ADMIN", "MANAGER"]] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] actix_grants_proc_macro::has_any_role [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - has_permissions (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web_grants::proc_macro::has_permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_grants` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_permissions` in this scope [INFO] [stdout] --> src/lib.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[has_permissions["ROLE_ADMIN", "OP_GET_SECRET", secure="user_id.into_inner() == user.id"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] actix_grants_proc_macro::has_permissions [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_permissions` in this scope [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_permissions["ROLE_ADMIN", "OP_GET_SECRET"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] actix_grants_proc_macro::has_permissions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 16 | async fn macro_secured_params(user_id: web::Path, user: web::Data) -> HttpResponse { [INFO] [stdout] | ^^^ use of undeclared crate or module `web` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 16 | async fn macro_secured_params(user_id: web::Path, user: web::Data) -> HttpResponse { [INFO] [stdout] | ^^^ use of undeclared crate or module `web` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - has_any_permission (line 46) [INFO] [stdout] src/lib.rs - has_any_role (line 84) [INFO] [stdout] src/lib.rs - has_permissions (line 20) [INFO] [stdout] src/lib.rs - has_roles (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e6f9133696e0bf593a20759c60877b89f2cf75708bc1ec5a295323cd89c1a7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f9133696e0bf593a20759c60877b89f2cf75708bc1ec5a295323cd89c1a7a9", kill_on_drop: false }` [INFO] [stdout] e6f9133696e0bf593a20759c60877b89f2cf75708bc1ec5a295323cd89c1a7a9