[INFO] fetching crate actix-grants-proc-macro 2.0.0-beta.2... [INFO] testing actix-grants-proc-macro-2.0.0-beta.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate actix-grants-proc-macro 2.0.0-beta.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate actix-grants-proc-macro 2.0.0-beta.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-beta.2 [INFO] finished tweaking crates.io crate actix-grants-proc-macro 2.0.0-beta.2 [INFO] tweaked toml for crates.io crate actix-grants-proc-macro 2.0.0-beta.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 442984d3209e0969e12c1b5112f6ab3bcb7c4f051e3601e18b07432ac918512e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "442984d3209e0969e12c1b5112f6ab3bcb7c4f051e3601e18b07432ac918512e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "442984d3209e0969e12c1b5112f6ab3bcb7c4f051e3601e18b07432ac918512e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442984d3209e0969e12c1b5112f6ab3bcb7c4f051e3601e18b07432ac918512e", kill_on_drop: false }` [INFO] [stdout] 442984d3209e0969e12c1b5112f6ab3bcb7c4f051e3601e18b07432ac918512e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7382a5e141ae29382afc332c976ac08270d75d23bbd4edcf29058cc2a3ef5bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7382a5e141ae29382afc332c976ac08270d75d23bbd4edcf29058cc2a3ef5bf", kill_on_drop: false }` [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "c7382a5e141ae29382afc332c976ac08270d75d23bbd4edcf29058cc2a3ef5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7382a5e141ae29382afc332c976ac08270d75d23bbd4edcf29058cc2a3ef5bf", kill_on_drop: false }` [INFO] [stdout] c7382a5e141ae29382afc332c976ac08270d75d23bbd4edcf29058cc2a3ef5bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 726818e4674742ede17c5fda55c8a5dbb6a6c47651699afb7423f1e7a21ef917 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "726818e4674742ede17c5fda55c8a5dbb6a6c47651699afb7423f1e7a21ef917", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.4 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling actix-http v3.0.0-beta.10 [INFO] [stderr] Compiling actix-web v4.0.0-beta.9 [INFO] [stderr] Compiling actix-grants-proc-macro v2.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.27s [INFO] running `Command { std: "docker" "inspect" "726818e4674742ede17c5fda55c8a5dbb6a6c47651699afb7423f1e7a21ef917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726818e4674742ede17c5fda55c8a5dbb6a6c47651699afb7423f1e7a21ef917", kill_on_drop: false }` [INFO] [stdout] 726818e4674742ede17c5fda55c8a5dbb6a6c47651699afb7423f1e7a21ef917 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", 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] 44940cd40ddc99ae1f54691962491d013f8c42c11b936fff7e0312d94d16a9dd [INFO] running `Command { std: "docker" "start" "-a" "44940cd40ddc99ae1f54691962491d013f8c42c11b936fff7e0312d94d16a9dd", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_grants_proc_macro-d8bc2d135156f89b) [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 21) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_role (line 84) ... FAILED [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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - has_permissions (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_grants` [INFO] [stdout] --> src/lib.rs:22: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:34:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[has_permissions["ROLE_ADMIN", "OP_GET_SECRET", secure="user_id==user.id"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `has_permissions` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[has_permissions["ROLE_ADMIN", "OP_GET_SECRET"]] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn macro_secured_params(web::Path(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:35:51 [INFO] [stdout] | [INFO] [stdout] 16 | async fn macro_secured_params(web::Path(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:35:73 [INFO] [stdout] | [INFO] [stdout] 16 | async fn macro_secured_params(web::Path(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_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] 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 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] 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] 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 46) [INFO] [stdout] src/lib.rs - has_any_role (line 84) [INFO] [stdout] src/lib.rs - has_permissions (line 21) [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.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "44940cd40ddc99ae1f54691962491d013f8c42c11b936fff7e0312d94d16a9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44940cd40ddc99ae1f54691962491d013f8c42c11b936fff7e0312d94d16a9dd", kill_on_drop: false }` [INFO] [stdout] 44940cd40ddc99ae1f54691962491d013f8c42c11b936fff7e0312d94d16a9dd