[INFO] cloning repository https://github.com/ma1rcos/rustify-route-guards
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ma1rcos/rustify-route-guards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fma1rcos%2Frustify-route-guards", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fma1rcos%2Frustify-route-guards'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6185e632bbb8b52163358a3466132d1b7d8041e0
[INFO] testing ma1rcos/rustify-route-guards against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fma1rcos%2Frustify-route-guards" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ma1rcos/rustify-route-guards
[INFO] finished tweaking git repo https://github.com/ma1rcos/rustify-route-guards
[INFO] tweaked toml for git repo https://github.com/ma1rcos/rustify-route-guards written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ma1rcos/rustify-route-guards on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ma1rcos/rustify-route-guards already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02
[INFO] running `Command { std: "docker" "start" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rustify-route-guards v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod guard;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
[INFO] [stdout]  --> src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod macros;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: functions tagged with `#[proc_macro_attribute]` must currently reside in the root of the crate
[INFO] [stdout]   --> src/macros/mod.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn guards(attr: TokenStream, item: TokenStream) -> TokenStream {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use guard::error::GuardError;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
[INFO] [stdout]  --> src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use guard::role::{has_role, set_roles};
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use macros::guards;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `syn::AttributeArgs`, `syn::NestedMeta`
[INFO] [stdout]  --> src/macros/util.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{AttributeArgs, NestedMeta};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^ no `NestedMeta` in the root
[INFO] [stdout]   |           |
[INFO] [stdout]   |           no `AttributeArgs` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 - use syn::{AttributeArgs, NestedMeta};
[INFO] [stdout] 3 + use syn::{Attribute, NestedMeta};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `syn::AttributeArgs`, `syn::NestedMeta`
[INFO] [stdout]  --> src/macros/mod.rs:5:38
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syn::{parse_macro_input, ItemFn, AttributeArgs, NestedMeta};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^  ^^^^^^^^^^ no `NestedMeta` in the root
[INFO] [stdout]   |                                      |
[INFO] [stdout]   |                                      no `AttributeArgs` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 - use syn::{parse_macro_input, ItemFn, AttributeArgs, NestedMeta};
[INFO] [stdout] 5 + use syn::{parse_macro_input, ItemFn, Attribute, NestedMeta};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]  --> src/macros/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::guard::error::GuardError;
[INFO] [stdout]   |                   ^^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]  --> src/guard/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod error;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] help: consider importing this enum through its public re-export instead
[INFO] [stdout]   |
[INFO] [stdout] 7 - use crate::guard::error::GuardError;
[INFO] [stdout] 7 + use crate::guard::GuardError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `role` is private
[INFO] [stdout]  --> src/macros/mod.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::guard::role::has_role;
[INFO] [stdout]   |                   ^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] note: the module `role` is defined here
[INFO] [stdout]  --> src/guard/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod role;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] help: consider importing this function through its public re-export instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - use crate::guard::role::has_role;
[INFO] [stdout] 8 + use crate::guard::has_role;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]  --> src/lib.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use guard::error::GuardError;
[INFO] [stdout]   |                ^^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]  --> src/guard/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod error;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] help: consider importing this enum through its public re-export instead
[INFO] [stdout]   |
[INFO] [stdout] 4 - pub use guard::error::GuardError;
[INFO] [stdout] 4 + pub use guard::GuardError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `role` is private
[INFO] [stdout]  --> src/lib.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use guard::role::{has_role, set_roles};
[INFO] [stdout]   |                ^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function through its public re-export instead:
[INFO] [stdout]       guard::has_role
[INFO] [stdout]  --> src/lib.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use guard::role::{has_role, set_roles};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout] note: the module `role` is defined here
[INFO] [stdout]  --> src/guard/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod role;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `role` is private
[INFO] [stdout]  --> src/lib.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use guard::role::{has_role, set_roles};
[INFO] [stdout]   |                ^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function through its public re-export instead:
[INFO] [stdout]       guard::set_roles
[INFO] [stdout]  --> src/lib.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use guard::role::{has_role, set_roles};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] note: the module `role` is defined here
[INFO] [stdout]  --> src/guard/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod role;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustify-route-guards` (lib) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02", kill_on_drop: false }`
[INFO] [stdout] 364389865dbcf4c1383d3206605ae6b38350a338ca625827b595cce51f2f9a02
