[INFO] fetching crate actix-grants-proc-macro 2.0.0... [INFO] testing actix-grants-proc-macro-2.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate actix-grants-proc-macro 2.0.0 into /workspace/builds/worker-99/source [INFO] validating manifest of crates.io crate actix-grants-proc-macro 2.0.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-grants-proc-macro 2.0.0 [INFO] finished tweaking crates.io crate actix-grants-proc-macro 2.0.0 [INFO] tweaked toml for crates.io crate actix-grants-proc-macro 2.0.0 written to /workspace/builds/worker-99/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e8dc39c4a1568647afc6393b58757be77008e4e781f488326e44fa4db2d34e [INFO] running `Command { std: "docker" "start" "-a" "39e8dc39c4a1568647afc6393b58757be77008e4e781f488326e44fa4db2d34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e8dc39c4a1568647afc6393b58757be77008e4e781f488326e44fa4db2d34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e8dc39c4a1568647afc6393b58757be77008e4e781f488326e44fa4db2d34e", kill_on_drop: false }` [INFO] [stdout] 39e8dc39c4a1568647afc6393b58757be77008e4e781f488326e44fa4db2d34e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd35ab479dc7a861e11c13bdaa73a9d7e397a19eca7568a1d35f51bbedc192c [INFO] running `Command { std: "docker" "start" "-a" "7cd35ab479dc7a861e11c13bdaa73a9d7e397a19eca7568a1d35f51bbedc192c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "7cd35ab479dc7a861e11c13bdaa73a9d7e397a19eca7568a1d35f51bbedc192c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd35ab479dc7a861e11c13bdaa73a9d7e397a19eca7568a1d35f51bbedc192c", kill_on_drop: false }` [INFO] [stdout] 7cd35ab479dc7a861e11c13bdaa73a9d7e397a19eca7568a1d35f51bbedc192c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe1ab21416fd4bd78c236b736991a4193acaeffb23cd2b15cb1f063427fcdc2 [INFO] running `Command { std: "docker" "start" "-a" "8fe1ab21416fd4bd78c236b736991a4193acaeffb23cd2b15cb1f063427fcdc2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 53.67s [INFO] running `Command { std: "docker" "inspect" "8fe1ab21416fd4bd78c236b736991a4193acaeffb23cd2b15cb1f063427fcdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe1ab21416fd4bd78c236b736991a4193acaeffb23cd2b15cb1f063427fcdc2", kill_on_drop: false }` [INFO] [stdout] 8fe1ab21416fd4bd78c236b736991a4193acaeffb23cd2b15cb1f063427fcdc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e82e16c78a01a79b480bccefef9cc1318df042af65568831c4fb09d7b588ceb [INFO] running `Command { std: "docker" "start" "-a" "6e82e16c78a01a79b480bccefef9cc1318df042af65568831c4fb09d7b588ceb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_grants_proc_macro-9a0716a727c2d01d) [INFO] [stdout] [INFO] [stderr] Doc-tests actix-grants-proc-macro [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - has_roles (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_role (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - has_permissions (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_permission (line 55) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - has_roles (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:75: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:79: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_role (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:94: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:98: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 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:23: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:41:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[has_permissions["OP_GET_SECRET", type = "MyPermissionEnum"]] [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:35: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:27: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:36: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:36: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 6 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 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:56: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:60: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - has_any_permission (line 55) [INFO] [stdout] src/lib.rs - has_any_role (line 93) [INFO] [stdout] src/lib.rs - has_permissions (line 22) [INFO] [stdout] src/lib.rs - has_roles (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6e82e16c78a01a79b480bccefef9cc1318df042af65568831c4fb09d7b588ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e82e16c78a01a79b480bccefef9cc1318df042af65568831c4fb09d7b588ceb", kill_on_drop: false }` [INFO] [stdout] 6e82e16c78a01a79b480bccefef9cc1318df042af65568831c4fb09d7b588ceb