[INFO] fetching crate author 0.1.0...
[INFO] checking author-0.1.0 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] extracting crate author 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate author 0.1.0
[INFO] finished tweaking crates.io crate author 0.1.0
[INFO] tweaked toml for crates.io crate author 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate author 0.1.0 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate author 0.1.0 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6966f94176905586cc2939b461fc17f2ee2e7ddef547e34d827b577d100e55b3
[INFO] running `Command { std: "docker" "start" "-a" "6966f94176905586cc2939b461fc17f2ee2e7ddef547e34d827b577d100e55b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6966f94176905586cc2939b461fc17f2ee2e7ddef547e34d827b577d100e55b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6966f94176905586cc2939b461fc17f2ee2e7ddef547e34d827b577d100e55b3", kill_on_drop: false }`
[INFO] [stdout] 6966f94176905586cc2939b461fc17f2ee2e7ddef547e34d827b577d100e55b3
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afa5361c7ee3224727fbb9bdf6e97213513221944a2487b804b94bbfbc0142be
[INFO] running `Command { std: "docker" "start" "-a" "afa5361c7ee3224727fbb9bdf6e97213513221944a2487b804b94bbfbc0142be", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]     Checking author v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/rbac/mod.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resource_roles<Res>(&self, resource: &Res) -> HashSet<Res::Role>
[INFO] [stdout]    |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/rbac/mod.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn allowed_roles(&self, action: &Self::Action) -> HashSet<Role> {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/lib.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `subject`
[INFO] [stdout]   --> src/lib.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/lib.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ProtectedResource` is never constructed
[INFO] [stdout]   --> src/lib.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProtectedResource<R> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_yaml`
[INFO] [stdout]  --> src/rbac/config.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let config_yaml = r#"
[INFO] [stdout]   |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_yaml`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource` is never read
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProtectedResource<R> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 13 |     resource: R,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/rbac/mod.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn resource_roles<Res>(&self, resource: &Res) -> HashSet<Res::Role>
[INFO] [stdout]    |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/rbac/mod.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn allowed_roles(&self, action: &Self::Action) -> HashSet<Role> {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/lib.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `subject`
[INFO] [stdout]   --> src/lib.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/lib.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn authorise(&self, resource: &Res, subject: &Subj, action: &Res::Action) -> Result<(), Error> {
[INFO] [stdout]    |                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ProtectedResource` is never constructed
[INFO] [stdout]   --> src/lib.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProtectedResource<R> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource` is never read
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProtectedResource<R> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 13 |     resource: R,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `author` (lib) due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `author` (lib test) due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "afa5361c7ee3224727fbb9bdf6e97213513221944a2487b804b94bbfbc0142be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afa5361c7ee3224727fbb9bdf6e97213513221944a2487b804b94bbfbc0142be", kill_on_drop: false }`
[INFO] [stdout] afa5361c7ee3224727fbb9bdf6e97213513221944a2487b804b94bbfbc0142be
