[INFO] fetching crate poem-grants-proc-macro 1.0.0-beta.1... [INFO] testing poem-grants-proc-macro-1.0.0-beta.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate poem-grants-proc-macro 1.0.0-beta.1 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate poem-grants-proc-macro 1.0.0-beta.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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.1 [INFO] finished tweaking crates.io crate poem-grants-proc-macro 1.0.0-beta.1 [INFO] tweaked toml for crates.io crate poem-grants-proc-macro 1.0.0-beta.1 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35f8dfd40e12ca1628b162df43c6b08fc4733f21704e1718e5ed3c02e6af561b [INFO] running `Command { std: "docker" "start" "-a" "35f8dfd40e12ca1628b162df43c6b08fc4733f21704e1718e5ed3c02e6af561b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35f8dfd40e12ca1628b162df43c6b08fc4733f21704e1718e5ed3c02e6af561b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f8dfd40e12ca1628b162df43c6b08fc4733f21704e1718e5ed3c02e6af561b", kill_on_drop: false }` [INFO] [stdout] 35f8dfd40e12ca1628b162df43c6b08fc4733f21704e1718e5ed3c02e6af561b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca49c86a2df844736ace34a0c4a42d06d443d2b3155b547daad7bb9160250b62 [INFO] running `Command { std: "docker" "start" "-a" "ca49c86a2df844736ace34a0c4a42d06d443d2b3155b547daad7bb9160250b62", kill_on_drop: false }` [INFO] [stderr] Compiling poem-grants-proc-macro v1.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "ca49c86a2df844736ace34a0c4a42d06d443d2b3155b547daad7bb9160250b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca49c86a2df844736ace34a0c4a42d06d443d2b3155b547daad7bb9160250b62", kill_on_drop: false }` [INFO] [stdout] ca49c86a2df844736ace34a0c4a42d06d443d2b3155b547daad7bb9160250b62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9939d0d01c27fc80cc3c9c193b72d70b0c5516e413d0c0fc94128070d980b46b [INFO] running `Command { std: "docker" "start" "-a" "9939d0d01c27fc80cc3c9c193b72d70b0c5516e413d0c0fc94128070d980b46b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling poem-derive v1.3.25 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling poem v1.3.25 [INFO] [stderr] Compiling poem-grants-proc-macro v1.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.00s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/poem_grants_proc_macro-1ecf8dd3143f7071) [INFO] running `Command { std: "docker" "inspect" "9939d0d01c27fc80cc3c9c193b72d70b0c5516e413d0c0fc94128070d980b46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9939d0d01c27fc80cc3c9c193b72d70b0c5516e413d0c0fc94128070d980b46b", kill_on_drop: false }` [INFO] [stdout] 9939d0d01c27fc80cc3c9c193b72d70b0c5516e413d0c0fc94128070d980b46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b57358f3c6acdab9cd4acf6969e857803bbd781255be64c0ffc687e08d0626af [INFO] running `Command { std: "docker" "start" "-a" "b57358f3c6acdab9cd4acf6969e857803bbd781255be64c0ffc687e08d0626af", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poem_grants_proc_macro-1ecf8dd3143f7071) [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 4 tests [INFO] [stdout] test src/lib.rs - has_any_role (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - has_any_permission (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - has_roles (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - has_permissions (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - has_any_role (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants` [INFO] [stdout] --> src/lib.rs:96: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 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 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants` [INFO] [stdout] --> src/lib.rs:60: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 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 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants` [INFO] [stdout] --> src/lib.rs:78: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 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 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `poem_grants` [INFO] [stdout] --> src/lib.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[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:36:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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:28: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:37:40 [INFO] [stdout] | [INFO] [stdout] 15 | async fn macro_secured_params(user_id: web::Path, user: web::Data) -> Response { [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:37:62 [INFO] [stdout] | [INFO] [stdout] 15 | async fn macro_secured_params(user_id: web::Path, user: web::Data) -> Response { [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 56) [INFO] [stdout] src/lib.rs - has_any_role (line 92) [INFO] [stdout] src/lib.rs - has_permissions (line 24) [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 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b57358f3c6acdab9cd4acf6969e857803bbd781255be64c0ffc687e08d0626af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57358f3c6acdab9cd4acf6969e857803bbd781255be64c0ffc687e08d0626af", kill_on_drop: false }` [INFO] [stdout] b57358f3c6acdab9cd4acf6969e857803bbd781255be64c0ffc687e08d0626af