[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#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fma1rcos%2Frustify-route-guards" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ma1rcos/rustify-route-guards on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb198f4f26f9e4037471754a240835047a495d91e33ef20c15287b6605db897d [INFO] running `Command { std: "docker" "start" "-a" "bb198f4f26f9e4037471754a240835047a495d91e33ef20c15287b6605db897d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb198f4f26f9e4037471754a240835047a495d91e33ef20c15287b6605db897d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb198f4f26f9e4037471754a240835047a495d91e33ef20c15287b6605db897d", kill_on_drop: false }` [INFO] [stdout] bb198f4f26f9e4037471754a240835047a495d91e33ef20c15287b6605db897d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2452deafc6ad35c042891138e722405d1f02fa3b798e9e0bf5555ad30dcf5e80 [INFO] running `Command { std: "docker" "start" "-a" "2452deafc6ad35c042891138e722405d1f02fa3b798e9e0bf5555ad30dcf5e80", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [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" "2452deafc6ad35c042891138e722405d1f02fa3b798e9e0bf5555ad30dcf5e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2452deafc6ad35c042891138e722405d1f02fa3b798e9e0bf5555ad30dcf5e80", kill_on_drop: false }` [INFO] [stdout] 2452deafc6ad35c042891138e722405d1f02fa3b798e9e0bf5555ad30dcf5e80