[INFO] fetching crate poem-grants-proc-macro 1.0.0-beta.3...
[INFO] testing poem-grants-proc-macro-1.0.0-beta.3 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate poem-grants-proc-macro 1.0.0-beta.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate poem-grants-proc-macro 1.0.0-beta.3 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate poem-grants-proc-macro 1.0.0-beta.3
[INFO] finished tweaking crates.io crate poem-grants-proc-macro 1.0.0-beta.3
[INFO] tweaked toml for crates.io crate poem-grants-proc-macro 1.0.0-beta.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 114 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding headers v0.3.9 (latest: v0.4.0)
[INFO] [stderr]       Adding headers-core v0.2.0 (latest: v0.3.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding nix v0.27.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding poem v1.3.59 (latest: v3.0.1)
[INFO] [stderr]       Adding poem-derive v1.3.59 (latest: v3.0.0)
[INFO] [stderr]       Adding proc-macro-crate v2.0.2 (latest: v3.1.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_datetime v0.6.3 (latest: v0.6.6)
[INFO] [stderr]       Adding toml_edit v0.20.2 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rfc7239 v0.1.1
[INFO] [stderr]   Downloaded poem-derive v1.3.59
[INFO] [stderr]   Downloaded wildmatch v2.3.4
[INFO] [stderr]   Downloaded poem v1.3.59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b9b84cdbd87e17d4d15a105428739fb28c77e234c640c28e1a6b3e25a4fe5a2
[INFO] running `Command { std: "docker" "start" "-a" "6b9b84cdbd87e17d4d15a105428739fb28c77e234c640c28e1a6b3e25a4fe5a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b9b84cdbd87e17d4d15a105428739fb28c77e234c640c28e1a6b3e25a4fe5a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b9b84cdbd87e17d4d15a105428739fb28c77e234c640c28e1a6b3e25a4fe5a2", kill_on_drop: false }`
[INFO] [stdout] 6b9b84cdbd87e17d4d15a105428739fb28c77e234c640c28e1a6b3e25a4fe5a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee7c5e90172474f5f66225bb6c723d654fb6cd24f34165f577413e741572ade3
[INFO] running `Command { std: "docker" "start" "-a" "ee7c5e90172474f5f66225bb6c723d654fb6cd24f34165f577413e741572ade3", kill_on_drop: false }`
[INFO] [stderr]    Compiling poem-grants-proc-macro v1.0.0-beta.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "ee7c5e90172474f5f66225bb6c723d654fb6cd24f34165f577413e741572ade3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee7c5e90172474f5f66225bb6c723d654fb6cd24f34165f577413e741572ade3", kill_on_drop: false }`
[INFO] [stdout] ee7c5e90172474f5f66225bb6c723d654fb6cd24f34165f577413e741572ade3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7869ae5f091caf5d299d89587e40a93f5611bef7f8e0394c919e702d36e1f66
[INFO] running `Command { std: "docker" "start" "-a" "e7869ae5f091caf5d299d89587e40a93f5611bef7f8e0394c919e702d36e1f66", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rfc7239 v0.1.1
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling wildmatch v2.3.4
[INFO] [stderr]    Compiling poem-grants-proc-macro v1.0.0-beta.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling poem-derive v1.3.59
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling poem v1.3.59
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 28.42s
[INFO] running `Command { std: "docker" "inspect" "e7869ae5f091caf5d299d89587e40a93f5611bef7f8e0394c919e702d36e1f66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7869ae5f091caf5d299d89587e40a93f5611bef7f8e0394c919e702d36e1f66", kill_on_drop: false }`
[INFO] [stdout] e7869ae5f091caf5d299d89587e40a93f5611bef7f8e0394c919e702d36e1f66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c0fc24b04441724b67d4a5f544025756c228e43e4a826744335a4c7dc55bf997
[INFO] running `Command { std: "docker" "start" "-a" "c0fc24b04441724b67d4a5f544025756c228e43e4a826744335a4c7dc55bf997", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poem_grants_proc_macro-c781ea36f0fb5079)
[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 poem_grants_proc_macro
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - open_api (line 135) ... FAILED
[INFO] [stdout] test src/lib.rs - has_roles (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - has_any_permission (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - has_any_role (line 106) ... FAILED
[INFO] [stdout] test src/lib.rs - has_permissions (line 33) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - open_api (line 135) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_openapi`
[INFO] [stdout]  --> src/lib.rs:136:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use poem_openapi::payload::PlainText;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `poem_openapi`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:140:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[poem_grants::open_api]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_openapi`
[INFO] [stdout]  --> src/lib.rs:141:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[poem_openapi::OpenApi]
[INFO] [stdout]   |   ^^^^^^^^^^^^ use of undeclared crate or module `poem_openapi`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `has_permissions` in this scope
[INFO] [stdout]   --> src/lib.rs:145:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[has_permissions("OP_READ_ADMIN_INFO")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem_grants_proc_macro::has_permissions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `oai` in this scope
[INFO] [stdout]   --> src/lib.rs:146:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[oai(path = "/admin", method = "get")]
[INFO] [stdout]    |       ^^^
[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] ---- src/lib.rs - has_roles (line 87) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:91:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_roles["ADMIN", "MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 68) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:72:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_any_permission["ROLE_ADMIN", "ROLE_MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 106) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:110:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_any_role["ADMIN", "MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 33) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]   --> src/lib.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[poem_grants::has_permissions["OP_GET_SECRET", type = "MyPermissionEnum"]]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]   --> src/lib.rs:46:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[poem_grants::has_permissions["ROLE_ADMIN", "OP_GET_SECRET", secure="*user_id == user.id"]]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:37:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_permissions["ROLE_ADMIN", "OP_GET_SECRET"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/lib.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn macro_secured_params(user_id: web::Path<i32>, user: web::Data<User>) -> Response {
[INFO] [stdout]    |                                        ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/lib.rs:48:62
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn macro_secured_params(user_id: web::Path<i32>, user: web::Data<User>) -> Response {
[INFO] [stdout]    |                                                              ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem::web;
[INFO] [stdout]    |
[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 68)
[INFO] [stdout]     src/lib.rs - has_any_role (line 106)
[INFO] [stdout]     src/lib.rs - has_permissions (line 33)
[INFO] [stdout]     src/lib.rs - has_roles (line 87)
[INFO] [stdout]     src/lib.rs - open_api (line 135)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c0fc24b04441724b67d4a5f544025756c228e43e4a826744335a4c7dc55bf997", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0fc24b04441724b67d4a5f544025756c228e43e4a826744335a4c7dc55bf997", kill_on_drop: false }`
[INFO] [stdout] c0fc24b04441724b67d4a5f544025756c228e43e4a826744335a4c7dc55bf997
[INFO] testing poem-grants-proc-macro-1.0.0-beta.3 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate poem-grants-proc-macro 1.0.0-beta.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate poem-grants-proc-macro 1.0.0-beta.3 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate poem-grants-proc-macro 1.0.0-beta.3
[INFO] finished tweaking crates.io crate poem-grants-proc-macro 1.0.0-beta.3
[INFO] tweaked toml for crates.io crate poem-grants-proc-macro 1.0.0-beta.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 114 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding headers v0.3.9 (latest: v0.4.0)
[INFO] [stderr]       Adding headers-core v0.2.0 (latest: v0.3.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding nix v0.27.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding poem v1.3.59 (latest: v3.0.1)
[INFO] [stderr]       Adding poem-derive v1.3.59 (latest: v3.0.0)
[INFO] [stderr]       Adding proc-macro-crate v2.0.2 (latest: v3.1.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_datetime v0.6.3 (latest: v0.6.6)
[INFO] [stderr]       Adding toml_edit v0.20.2 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f5b523c2cc2e7cf6e66adf15244f2b731b88953623ac762a5006581d396da4f
[INFO] running `Command { std: "docker" "start" "-a" "6f5b523c2cc2e7cf6e66adf15244f2b731b88953623ac762a5006581d396da4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f5b523c2cc2e7cf6e66adf15244f2b731b88953623ac762a5006581d396da4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f5b523c2cc2e7cf6e66adf15244f2b731b88953623ac762a5006581d396da4f", kill_on_drop: false }`
[INFO] [stdout] 6f5b523c2cc2e7cf6e66adf15244f2b731b88953623ac762a5006581d396da4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42ebb9929c12b99f641f35231f62d3e3717a955fced8afb39b4676800e8ffc6f
[INFO] running `Command { std: "docker" "start" "-a" "42ebb9929c12b99f641f35231f62d3e3717a955fced8afb39b4676800e8ffc6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling poem-grants-proc-macro v1.0.0-beta.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s
[INFO] running `Command { std: "docker" "inspect" "42ebb9929c12b99f641f35231f62d3e3717a955fced8afb39b4676800e8ffc6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42ebb9929c12b99f641f35231f62d3e3717a955fced8afb39b4676800e8ffc6f", kill_on_drop: false }`
[INFO] [stdout] 42ebb9929c12b99f641f35231f62d3e3717a955fced8afb39b4676800e8ffc6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b32db00f1f61ba2422480215c4834461e4e206b37a5a004f2c988cb5d839baa
[INFO] running `Command { std: "docker" "start" "-a" "3b32db00f1f61ba2422480215c4834461e4e206b37a5a004f2c988cb5d839baa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling rfc7239 v0.1.1
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling wildmatch v2.3.4
[INFO] [stderr]    Compiling poem-grants-proc-macro v1.0.0-beta.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling poem-derive v1.3.59
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling poem v1.3.59
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 24.25s
[INFO] running `Command { std: "docker" "inspect" "3b32db00f1f61ba2422480215c4834461e4e206b37a5a004f2c988cb5d839baa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b32db00f1f61ba2422480215c4834461e4e206b37a5a004f2c988cb5d839baa", kill_on_drop: false }`
[INFO] [stdout] 3b32db00f1f61ba2422480215c4834461e4e206b37a5a004f2c988cb5d839baa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b985763b9cc9b586fbf48322fd6007b42de7221cefcede3e77c4ccecf5b0f4c5
[INFO] running `Command { std: "docker" "start" "-a" "b985763b9cc9b586fbf48322fd6007b42de7221cefcede3e77c4ccecf5b0f4c5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poem_grants_proc_macro-c781ea36f0fb5079)
[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 poem_grants_proc_macro
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - has_any_permission (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - open_api (line 135) ... FAILED
[INFO] [stdout] test src/lib.rs - has_any_role (line 106) ... FAILED
[INFO] [stdout] test src/lib.rs - has_roles (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - has_permissions (line 33) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - has_any_permission (line 68) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:72:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_any_permission["ROLE_ADMIN", "ROLE_MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 - open_api (line 135) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_openapi`
[INFO] [stdout]  --> src/lib.rs:136:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use poem_openapi::payload::PlainText;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `poem_openapi`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:140:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[poem_grants::open_api]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_openapi`
[INFO] [stdout]  --> src/lib.rs:141:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[poem_openapi::OpenApi]
[INFO] [stdout]   |   ^^^^^^^^^^^^ use of undeclared crate or module `poem_openapi`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `has_permissions` in this scope
[INFO] [stdout]   --> src/lib.rs:145:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[has_permissions("OP_READ_ADMIN_INFO")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem_grants_proc_macro::has_permissions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `oai` in this scope
[INFO] [stdout]   --> src/lib.rs:146:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[oai(path = "/admin", method = "get")]
[INFO] [stdout]    |       ^^^
[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] ---- src/lib.rs - has_any_role (line 106) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:110:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_any_role["ADMIN", "MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 87) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:91:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_roles["ADMIN", "MANAGER"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 33) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]   --> src/lib.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[poem_grants::has_permissions["OP_GET_SECRET", type = "MyPermissionEnum"]]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]   --> src/lib.rs:46:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[poem_grants::has_permissions["ROLE_ADMIN", "OP_GET_SECRET", secure="*user_id == user.id"]]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants`
[INFO] [stdout]  --> src/lib.rs:37:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[poem_grants::has_permissions["ROLE_ADMIN", "OP_GET_SECRET"]]
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `poem_grants`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/lib.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn macro_secured_params(user_id: web::Path<i32>, user: web::Data<User>) -> Response {
[INFO] [stdout]    |                                        ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/lib.rs:48:62
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn macro_secured_params(user_id: web::Path<i32>, user: web::Data<User>) -> Response {
[INFO] [stdout]    |                                                              ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use poem::web;
[INFO] [stdout]    |
[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 68)
[INFO] [stdout]     src/lib.rs - has_any_role (line 106)
[INFO] [stdout]     src/lib.rs - has_permissions (line 33)
[INFO] [stdout]     src/lib.rs - has_roles (line 87)
[INFO] [stdout]     src/lib.rs - open_api (line 135)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b985763b9cc9b586fbf48322fd6007b42de7221cefcede3e77c4ccecf5b0f4c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b985763b9cc9b586fbf48322fd6007b42de7221cefcede3e77c4ccecf5b0f4c5", kill_on_drop: false }`
[INFO] [stdout] b985763b9cc9b586fbf48322fd6007b42de7221cefcede3e77c4ccecf5b0f4c5
