[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-02-22 for beta-1.60-1 [INFO] extracting crate poem-grants-proc-macro 1.0.0-beta.1 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate poem-grants-proc-macro 1.0.0-beta.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-61/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4611fe71ca7cc075a1ce32b446dd4344b7b42d33b751e236fe0ed9dba6267f45 [INFO] running `Command { std: "docker" "start" "-a" "4611fe71ca7cc075a1ce32b446dd4344b7b42d33b751e236fe0ed9dba6267f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4611fe71ca7cc075a1ce32b446dd4344b7b42d33b751e236fe0ed9dba6267f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4611fe71ca7cc075a1ce32b446dd4344b7b42d33b751e236fe0ed9dba6267f45", kill_on_drop: false }` [INFO] [stdout] 4611fe71ca7cc075a1ce32b446dd4344b7b42d33b751e236fe0ed9dba6267f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533a231497af18486539efce7758c38dee161b24cdf53188ddab14d1d26b5330 [INFO] running `Command { std: "docker" "start" "-a" "533a231497af18486539efce7758c38dee161b24cdf53188ddab14d1d26b5330", 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 2.43s [INFO] running `Command { std: "docker" "inspect" "533a231497af18486539efce7758c38dee161b24cdf53188ddab14d1d26b5330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533a231497af18486539efce7758c38dee161b24cdf53188ddab14d1d26b5330", kill_on_drop: false }` [INFO] [stdout] 533a231497af18486539efce7758c38dee161b24cdf53188ddab14d1d26b5330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2514f5235eefc490027b945807f759abab4b2f0cd97d6b392407fad00bb828ba [INFO] running `Command { std: "docker" "start" "-a" "2514f5235eefc490027b945807f759abab4b2f0cd97d6b392407fad00bb828ba", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [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 headers v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling poem-derive v1.3.5 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling poem v1.3.5 [INFO] [stderr] Compiling poem-grants-proc-macro v1.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.11s [INFO] running `Command { std: "docker" "inspect" "2514f5235eefc490027b945807f759abab4b2f0cd97d6b392407fad00bb828ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2514f5235eefc490027b945807f759abab4b2f0cd97d6b392407fad00bb828ba", kill_on_drop: false }` [INFO] [stdout] 2514f5235eefc490027b945807f759abab4b2f0cd97d6b392407fad00bb828ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7cf2f3c6095130ab7d8d1fe3c01678c6dd78a2b3c3461ca1beefc0465620bac [INFO] running `Command { std: "docker" "start" "-a" "b7cf2f3c6095130ab7d8d1fe3c01678c6dd78a2b3c3461ca1beefc0465620bac", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/poem_grants_proc_macro-3afbf413fc928ba5) [INFO] [stdout] [INFO] [stderr] Doc-tests poem-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_any_role (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - has_permissions (line 24) ... 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] [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_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] ---- 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] [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.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b7cf2f3c6095130ab7d8d1fe3c01678c6dd78a2b3c3461ca1beefc0465620bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7cf2f3c6095130ab7d8d1fe3c01678c6dd78a2b3c3461ca1beefc0465620bac", kill_on_drop: false }` [INFO] [stdout] b7cf2f3c6095130ab7d8d1fe3c01678c6dd78a2b3c3461ca1beefc0465620bac