[INFO] fetching crate rudux 0.1.0... [INFO] testing rudux-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rudux 0.1.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rudux 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c8c84bb2dd6320d04336436a3e60222a6db143fa102b5940c3031e6ea42dfbe [INFO] running `Command { std: "docker" "start" "-a" "6c8c84bb2dd6320d04336436a3e60222a6db143fa102b5940c3031e6ea42dfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c8c84bb2dd6320d04336436a3e60222a6db143fa102b5940c3031e6ea42dfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c8c84bb2dd6320d04336436a3e60222a6db143fa102b5940c3031e6ea42dfbe", kill_on_drop: false }` [INFO] [stdout] 6c8c84bb2dd6320d04336436a3e60222a6db143fa102b5940c3031e6ea42dfbe [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f059d4a248231acca835e0da0ca020fa63a6782d1a105d176c7f2496f8ac870 [INFO] running `Command { std: "docker" "start" "-a" "8f059d4a248231acca835e0da0ca020fa63a6782d1a105d176c7f2496f8ac870", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling 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)]` 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)]` 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 [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | events: Arc>>, [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)]` 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 { [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> { [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> { [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 { [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 6.16s [INFO] running `Command { std: "docker" "inspect" "8f059d4a248231acca835e0da0ca020fa63a6782d1a105d176c7f2496f8ac870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f059d4a248231acca835e0da0ca020fa63a6782d1a105d176c7f2496f8ac870", kill_on_drop: false }` [INFO] [stdout] 8f059d4a248231acca835e0da0ca020fa63a6782d1a105d176c7f2496f8ac870 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a59a5f52abed5e9b773e8387c2313fb1c0fd412f7625ab4b9676f79702ed7e0f [INFO] running `Command { std: "docker" "start" "-a" "a59a5f52abed5e9b773e8387c2313fb1c0fd412f7625ab4b9676f79702ed7e0f", kill_on_drop: false }` [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)]` 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)]` 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 [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | events: Arc>>, [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)]` 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 { [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> { [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> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rudux v0.1.0 (/opt/rustwide/workdir) [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 { [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: `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)]` 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)]` on by default [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: 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: field `events` is never read [INFO] [stdout] --> src/store.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StoreProxy [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | events: Arc>>, [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)]` 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 { [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> { [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> { [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 { [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 `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "a59a5f52abed5e9b773e8387c2313fb1c0fd412f7625ab4b9676f79702ed7e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59a5f52abed5e9b773e8387c2313fb1c0fd412f7625ab4b9676f79702ed7e0f", kill_on_drop: false }` [INFO] [stdout] a59a5f52abed5e9b773e8387c2313fb1c0fd412f7625ab4b9676f79702ed7e0f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fea9763dbc95d0be6191a43acd1818eb35039ec6d70c513c002595a8f8665f10 [INFO] running `Command { std: "docker" "start" "-a" "fea9763dbc95d0be6191a43acd1818eb35039ec6d70c513c002595a8f8665f10", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/store.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | let state = state2.clone(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/store.rs:123:23 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn with_state(mut self, state: State) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `events` is never read [INFO] [stderr] --> src/store.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct StoreProxy [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 49 | events: Arc>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StoreProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn state(&self) -> std::sync::RwLockReadGuard { [INFO] [stderr] | ^^^^^ --------------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:198:15 [INFO] [stderr] | [INFO] [stderr] 198 | fn events(&self) -> MutexGuard> { [INFO] [stderr] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 198 | fn events(&self) -> MutexGuard<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store.rs:202:18 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn state(&self) -> std::sync::RwLockReadGuard { [INFO] [stderr] | ^^^^^ --------------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 202 | pub fn state(&self) -> std::sync::RwLockReadGuard<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rudux` (lib) generated 6 warnings (run `cargo fix --lib -p rudux` to apply 4 suggestions) [INFO] [stderr] warning: unused variable: `proxy` [INFO] [stderr] --> src/store.rs:290:53 [INFO] [stderr] | [INFO] [stderr] 290 | let store = store.add_middleware_sync(move |proxy, evt, next| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proxy` [INFO] [stderr] --> src/store.rs:303:53 [INFO] [stderr] | [INFO] [stderr] 303 | let store = store.add_middleware_sync(move |proxy, evt, next| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stderr] [INFO] [stderr] warning: variant `Decrement` is never constructed [INFO] [stderr] --> src/store.rs:260:9 [INFO] [stderr] | [INFO] [stderr] 258 | enum TestEvent { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 259 | Increment, [INFO] [stderr] 260 | Decrement, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rudux` (lib test) generated 9 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rudux-d9c9466e5add2d76) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test store::test::test_middleware ... ok [INFO] [stdout] test store::test::test_basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rudux [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fea9763dbc95d0be6191a43acd1818eb35039ec6d70c513c002595a8f8665f10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea9763dbc95d0be6191a43acd1818eb35039ec6d70c513c002595a8f8665f10", kill_on_drop: false }` [INFO] [stdout] fea9763dbc95d0be6191a43acd1818eb35039ec6d70c513c002595a8f8665f10