[INFO] fetching crate zrl 0.2.1...
[INFO] checking zrl-0.2.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] extracting crate zrl 0.2.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate zrl 0.2.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate zrl 0.2.1
[INFO] tweaked toml for crates.io crate zrl 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate zrl 0.2.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate zrl 0.2.1 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] deb7dfe6b5b2ba6daf6703f84d3be6c67cb99c297a97055a172b0d5d38d5f795
[INFO] running `Command { std: "docker" "start" "-a" "deb7dfe6b5b2ba6daf6703f84d3be6c67cb99c297a97055a172b0d5d38d5f795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "deb7dfe6b5b2ba6daf6703f84d3be6c67cb99c297a97055a172b0d5d38d5f795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "deb7dfe6b5b2ba6daf6703f84d3be6c67cb99c297a97055a172b0d5d38d5f795", kill_on_drop: false }`
[INFO] [stdout] deb7dfe6b5b2ba6daf6703f84d3be6c67cb99c297a97055a172b0d5d38d5f795
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b485a051fbdfa32830b1c228ea75fcf45c08bfe7b693d2b306e52e52cd17831
[INFO] running `Command { std: "docker" "start" "-a" "1b485a051fbdfa32830b1c228ea75fcf45c08bfe7b693d2b306e52e52cd17831", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling alloca v0.4.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking page_size v0.6.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking criterion-plot v0.8.1
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zrl-proc-macros v0.1.0
[INFO] [stderr]     Checking zrl v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Stopwatch` is never constructed
[INFO] [stdout]  --> src/time.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Stopwatch {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/time.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Stopwatch {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn start(&mut self) -> bool {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn stop(&mut self) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn lap(&mut self) -> Option<Duration> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn laps(&self) -> &[Duration] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn elapsed(&self) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/bus.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Event: Send + Sync + 'static {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventBus` is never constructed
[INFO] [stdout]   --> src/bus.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct EventBus {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, `publish`, and `subscriber_count` are never used
[INFO] [stdout]   --> src/bus.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl EventBus {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn subscribe<E: Event>(&self) -> Receiver<Arc<E>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn publish<E: Event>(&self, event: E) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn subscriber_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InvalidTransition` is never constructed
[INFO] [stdout]  --> src/fsm.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct InvalidTransition;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FSM` is never constructed
[INFO] [stdout]  --> src/fsm.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FSM<S, E>
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_transition`, `trigger`, `current_state`, `can_trigger`, and `reset` are never used
[INFO] [stdout]   --> src/fsm.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | / impl<S, E> FSM<S, E>
[INFO] [stdout] 18 | | where
[INFO] [stdout] 19 | |     S: Eq + Hash + Clone,
[INFO] [stdout] 20 | |     E: Eq + Hash + Clone,
[INFO] [stdout]    | |_________________________- associated items in this implementation
[INFO] [stdout] 21 |   {
[INFO] [stdout] 22 |       pub fn new(initial: S) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |       pub fn add_transition(mut self, from: S, event: E, to: S) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |       pub fn trigger(&mut self, event: E) -> Result<S, InvalidTransition> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |       pub fn current_state(&self) -> &S {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |       pub fn can_trigger(&self, event: E) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |       pub fn reset(&mut self) {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:70:24
[INFO] [stdout]     |
[INFO] [stdout]  70 |       pub fn is_acquired(&self) -> bool {
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D inherent-method-on-receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:75:20
[INFO] [stdout]     |
[INFO] [stdout]  75 |       pub fn release(&mut self) {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:83:17
[INFO] [stdout]     |
[INFO] [stdout]  83 |       pub fn leak(mut self) -> T {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:89:16
[INFO] [stdout]     |
[INFO] [stdout]  89 |       pub fn get(&self) -> Option<&T> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:94:20
[INFO] [stdout]     |
[INFO] [stdout]  94 |       pub fn get_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:99:22
[INFO] [stdout]     |
[INFO] [stdout]  99 |       pub fn try_clone(&self) -> Option<Resource<T, impl FnOnce(&mut T)>>
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:109:22
[INFO] [stdout]     |
[INFO] [stdout] 109 |       pub fn map<U, F>(mut self, f: F) -> Resource<U, impl FnOnce(&mut U)>
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/utils.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn replace(&mut self, new_value: T) -> T
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 | / impl<T, C> Deref for Resource<T, C>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     C: FnOnce(&mut T),
[INFO] [stdout]     | |______________________- trait implemented here
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zrl` (lib) due to 8 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1b485a051fbdfa32830b1c228ea75fcf45c08bfe7b693d2b306e52e52cd17831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b485a051fbdfa32830b1c228ea75fcf45c08bfe7b693d2b306e52e52cd17831", kill_on_drop: false }`
[INFO] [stdout] 1b485a051fbdfa32830b1c228ea75fcf45c08bfe7b693d2b306e52e52cd17831
