[INFO] fetching crate rudux 0.1.0...
[INFO] checking rudux-0.1.0 against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] extracting crate rudux 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate rudux 0.1.0
[INFO] finished tweaking crates.io crate rudux 0.1.0
[INFO] tweaked toml for crates.io crate rudux 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rudux 0.1.0 on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 17 packages to highest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63
[INFO] running `Command { std: "docker" "start" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63", 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" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]     Checking futures-core v0.3.34
[INFO] [stderr]     Checking futures-sink v0.3.34
[INFO] [stderr]     Checking futures-io v0.3.34
[INFO] [stderr]     Checking tokio v1.53.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]     Checking futures-channel v0.3.34
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]     Checking futures-executor v0.3.34
[INFO] [stderr]     Checking futures v0.3.34
[INFO] [stderr]     Checking rudux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/store.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let state = state2.clone();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store.rs:123:23
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn with_state(mut self, state: State) -> Self {
[INFO] [stdout]     |                       ----^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/store.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let state = state2.clone();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store.rs:123:23
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn with_state(mut self, state: State) -> Self {
[INFO] [stdout]     |                       ----^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `events` is never read
[INFO] [stdout]   --> src/store.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct StoreProxy<State, Event>
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     events: Arc<Mutex<Vec<Event>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StoreProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/store.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn state(&self) -> std::sync::RwLockReadGuard<State> {
[INFO] [stdout]    |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/store.rs:198:15
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn events(&self) -> MutexGuard<Vec<Event>> {
[INFO] [stdout]     |               ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn events(&self) -> MutexGuard<'_, Vec<Event>> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/store.rs:202:18
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn state(&self) -> std::sync::RwLockReadGuard<State> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `proxy`
[INFO] [stdout]    --> src/store.rs:303:53
[INFO] [stdout]     |
[INFO] [stdout] 303 |         let store = store.add_middleware_sync(move |proxy, evt, next| {
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `proxy`
[INFO] [stdout]    --> src/store.rs:290:53
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let store = store.add_middleware_sync(move |proxy, evt, next| {
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `events` is never read
[INFO] [stdout]   --> src/store.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct StoreProxy<State, Event>
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     events: Arc<Mutex<Vec<Event>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StoreProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Decrement` is never constructed
[INFO] [stdout]    --> src/store.rs:260:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |     enum TestEvent {
[INFO] [stdout]     |          --------- variant in this enum
[INFO] [stdout] 259 |         Increment,
[INFO] [stdout] 260 |         Decrement,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TestEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/store.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn state(&self) -> std::sync::RwLockReadGuard<State> {
[INFO] [stdout]    |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/store.rs:198:15
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn events(&self) -> MutexGuard<Vec<Event>> {
[INFO] [stdout]     |               ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn events(&self) -> MutexGuard<'_, Vec<Event>> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/store.rs:202:18
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn state(&self) -> std::sync::RwLockReadGuard<State> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s
[INFO] running `Command { std: "docker" "inspect" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63", kill_on_drop: false }`
[INFO] [stdout] 87d160e6ae6f4414313ac9a5ea76e820b069e905661d08e33ee333b0590b9d63
