[INFO] fetching crate rudux 0.1.0... [INFO] checking rudux-0.1.0 against 5f93549e108157f071a34f220b74b25690496aa1 for pr-162986 [INFO] extracting crate rudux 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rudux 0.1.0 on toolchain 5f93549e108157f071a34f220b74b25690496aa1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "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" "+5f93549e108157f071a34f220b74b25690496aa1" "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" "+5f93549e108157f071a34f220b74b25690496aa1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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] 6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc [INFO] running `Command { std: "docker" "start" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc", 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" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc", 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" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.53.3 [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] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/store.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Fn(&StoreProxy, T::Event, &Box) + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] = note: `#[forbid(unsatisfied_hrtb_arg)]` (part of `#[forbid(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/store.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Fn(&StoreProxy, T::Event, &Box) + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] = note: `#[forbid(unsatisfied_hrtb_arg)]` (part of `#[forbid(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | U: Fn(&StoreProxy, T::Event, &Box) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | U: Fn(&StoreProxy, T::Event, &Box) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [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: 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 [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)]` (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 { [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] [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] [stderr] error: could not compile `rudux` (lib) due to 2 previous errors; 6 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (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 { [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] error: could not compile `rudux` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc", kill_on_drop: false }` [INFO] [stdout] 6e4d2ab590a2b5409bf43501efe18fc65cb10d2deac60d86b485a74b36f915cc