[INFO] fetching crate actix-grants-proc-macro 2.0.0-beta.1... [INFO] testing actix-grants-proc-macro-2.0.0-beta.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate actix-grants-proc-macro 2.0.0-beta.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate actix-grants-proc-macro 2.0.0-beta.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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.1 [INFO] finished tweaking crates.io crate actix-grants-proc-macro 2.0.0-beta.1 [INFO] tweaked toml for crates.io crate actix-grants-proc-macro 2.0.0-beta.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c94b17b2777228135231585262a67bbbc229545051ec69514af492098b82bc8 [INFO] running `Command { std: "docker" "start" "-a" "8c94b17b2777228135231585262a67bbbc229545051ec69514af492098b82bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c94b17b2777228135231585262a67bbbc229545051ec69514af492098b82bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c94b17b2777228135231585262a67bbbc229545051ec69514af492098b82bc8", kill_on_drop: false }` [INFO] [stdout] 8c94b17b2777228135231585262a67bbbc229545051ec69514af492098b82bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da1ae788923ba0da00eca896edc748eb1dc6f3a36ca673b9ff18caf91765ff22 [INFO] running `Command { std: "docker" "start" "-a" "da1ae788923ba0da00eca896edc748eb1dc6f3a36ca673b9ff18caf91765ff22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "da1ae788923ba0da00eca896edc748eb1dc6f3a36ca673b9ff18caf91765ff22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1ae788923ba0da00eca896edc748eb1dc6f3a36ca673b9ff18caf91765ff22", kill_on_drop: false }` [INFO] [stdout] da1ae788923ba0da00eca896edc748eb1dc6f3a36ca673b9ff18caf91765ff22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bddaf994986f3da773a537d41bd086f87585ee12ab17efb53cc3f8f5a96cb544 [INFO] running `Command { std: "docker" "start" "-a" "bddaf994986f3da773a537d41bd086f87585ee12ab17efb53cc3f8f5a96cb544", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.3 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling actix-service v2.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [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.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.5 [INFO] [stderr] Compiling actix-codec v0.4.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling actix-http v3.0.0-beta.8 [INFO] [stderr] Compiling actix-web v4.0.0-beta.8 [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 48.60s [INFO] running `Command { std: "docker" "inspect" "bddaf994986f3da773a537d41bd086f87585ee12ab17efb53cc3f8f5a96cb544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddaf994986f3da773a537d41bd086f87585ee12ab17efb53cc3f8f5a96cb544", kill_on_drop: false }` [INFO] [stdout] bddaf994986f3da773a537d41bd086f87585ee12ab17efb53cc3f8f5a96cb544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c09a53b7d5e67a9d21132ead841226ff0b78c9e42c56397c1233f49584562dab [INFO] running `Command { std: "docker" "start" "-a" "c09a53b7d5e67a9d21132ead841226ff0b78c9e42c56397c1233f49584562dab", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_grants_proc_macro-745343e6bc70854c) [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_permissions (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - has_roles (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_role (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_permission (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - has_permissions (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:20: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:24:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_permissions["ROLE_ADMIN", "OP_GET_SECRET"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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_roles (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:57: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:61:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_roles["ADMIN", "MANAGER"]] [INFO] [stdout] | ^^^^^^^^^ [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 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:76: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:80:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_any_role["ADMIN", "MANAGER"]] [INFO] [stdout] | ^^^^^^^^^^^^ [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 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:38: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:42:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_any_permission["ROLE_ADMIN", "ROLE_MANAGER"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - has_any_permission (line 37) [INFO] [stdout] src/lib.rs - has_any_role (line 75) [INFO] [stdout] src/lib.rs - has_permissions (line 19) [INFO] [stdout] src/lib.rs - has_roles (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c09a53b7d5e67a9d21132ead841226ff0b78c9e42c56397c1233f49584562dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09a53b7d5e67a9d21132ead841226ff0b78c9e42c56397c1233f49584562dab", kill_on_drop: false }` [INFO] [stdout] c09a53b7d5e67a9d21132ead841226ff0b78c9e42c56397c1233f49584562dab