[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 try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fma1rcos%2Frustify-route-guards" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ma1rcos/rustify-route-guards on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d0adbc2621fe6bfbd3e128b99b7bac9119c54224e6ebc85d9b7fac4785278dc [INFO] running `Command { std: "docker" "start" "-a" "7d0adbc2621fe6bfbd3e128b99b7bac9119c54224e6ebc85d9b7fac4785278dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d0adbc2621fe6bfbd3e128b99b7bac9119c54224e6ebc85d9b7fac4785278dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0adbc2621fe6bfbd3e128b99b7bac9119c54224e6ebc85d9b7fac4785278dc", kill_on_drop: false }` [INFO] [stdout] 7d0adbc2621fe6bfbd3e128b99b7bac9119c54224e6ebc85d9b7fac4785278dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f71863b723e8dec4cce94397d3f5e8ea44d8bcbf173e88c3873e73f2b5df1c49 [INFO] running `Command { std: "docker" "start" "-a" "f71863b723e8dec4cce94397d3f5e8ea44d8bcbf173e88c3873e73f2b5df1c49", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror-impl 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] | help: a similar name exists in the module: `Attribute` [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] | help: a similar name exists in the module: `Attribute` [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] [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 crate::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] 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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "f71863b723e8dec4cce94397d3f5e8ea44d8bcbf173e88c3873e73f2b5df1c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71863b723e8dec4cce94397d3f5e8ea44d8bcbf173e88c3873e73f2b5df1c49", kill_on_drop: false }` [INFO] [stdout] f71863b723e8dec4cce94397d3f5e8ea44d8bcbf173e88c3873e73f2b5df1c49