[INFO] fetching crate omaha_client 0.2.1... [INFO] checking omaha_client-0.2.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate omaha_client 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate omaha_client 0.2.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate omaha_client 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate omaha_client 0.2.1 [INFO] tweaked toml for crates.io crate omaha_client 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate omaha_client 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eed4e42948d5319d76ad4da84a2efceddc7abd07c1ded777be82e5465b222c6c [INFO] running `Command { std: "docker" "start" "-a" "eed4e42948d5319d76ad4da84a2efceddc7abd07c1ded777be82e5465b222c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eed4e42948d5319d76ad4da84a2efceddc7abd07c1ded777be82e5465b222c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed4e42948d5319d76ad4da84a2efceddc7abd07c1ded777be82e5465b222c6c", kill_on_drop: false }` [INFO] [stdout] eed4e42948d5319d76ad4da84a2efceddc7abd07c1ded777be82e5465b222c6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f67055c0da9d1bb2fa28f4c53b965c45b78f7f534779296f1602d6c0f27f06 [INFO] running `Command { std: "docker" "start" "-a" "b8f67055c0da9d1bb2fa28f4c53b965c45b78f7f534779296f1602d6c0f27f06", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-timer v0.3.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.25.0 [INFO] [stderr] Checking omaha_client v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/http_request/mock.rs (1 fix) [INFO] [stderr] Fixed src/common.rs (2 fixes) [INFO] [stderr] Fixed src/state_machine.rs (7 fixes) [INFO] [stderr] Fixed src/state_machine/update_check.rs (1 fix) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 125 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 90 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_option_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_time<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_time<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 139 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | fn remove_or_log<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, ()> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state_machine.rs:1056:23 [INFO] [stdout] | [INFO] [stdout] 1056 | while let Some(progress) = recv.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/state_machine.rs:1059:17 [INFO] [stdout] | [INFO] [stdout] 1059 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/state_machine.rs (2 fixes) [INFO] [stderr] Migrating examples/hello-world/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 125 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_string<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_int<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_bool<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | fn remove<'a>(&'a mut self, _key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 90 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_option_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_time<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_time<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 139 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | fn remove_or_log<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, ()> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state_machine.rs:1056:23 [INFO] [stdout] | [INFO] [stdout] 1056 | while let Some(progress) = recv.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/state_machine.rs:1059:17 [INFO] [stdout] | [INFO] [stdout] 1059 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/state_machine.rs:4039:72 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/state_machine.rs:4039:20 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state_machine.rs:4043:23 [INFO] [stdout] | [INFO] [stdout] 4043 | while let Some(event) = s.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/state_machine.rs:4047:17 [INFO] [stdout] | [INFO] [stdout] 4047 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/state_machine.rs:4054:14 [INFO] [stdout] | [INFO] [stdout] 4054 | ) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/state_machine.rs:4052:13 [INFO] [stdout] | [INFO] [stdout] 4052 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state_machine.rs:4058:23 [INFO] [stdout] | [INFO] [stdout] 4058 | while let Some(event) = s.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/state_machine.rs:4066:17 [INFO] [stdout] | [INFO] [stdout] 4066 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_string<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_int<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bool<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 59 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | fn remove<'a>(&'a mut self, _key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VbMetadata` and `ChannelConfig` are never constructed [INFO] [stdout] --> examples/hello-world/app_set.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AppIdSource { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | VbMetadata, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | ChannelConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppIdSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_app_metadata` is never read [INFO] [stdout] --> examples/hello-world/app_set.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MinimalAppSet { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | system_app: App, [INFO] [stdout] 26 | system_app_metadata: AppMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_system_product_id`, `get_system_current_channel`, `get_system_target_channel`, `set_system_target_channel`, and `get_system_app_metadata` are never used [INFO] [stdout] --> examples/hello-world/app_set.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MinimalAppSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_system_product_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_system_current_channel(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_system_target_channel(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_system_target_channel(&mut self, channel: Option, id: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_system_app_metadata(&self) -> &AppMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics` is never read [INFO] [stdout] --> examples/hello-world/policy.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MinimalPolicyEngine { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 86 | time_source: T, [INFO] [stdout] 87 | metrics: MinimalMetricsReporter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/hello-world/main.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | while let Some(event) = state_machine.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/hello-world/main.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.07s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking omaha_client v0.2.1 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 125 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 90 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_option_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_time<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_time<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 139 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | fn remove_or_log<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, ()> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 125 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/memory.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_string<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_int<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_bool<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage/stub.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | fn remove<'a>(&'a mut self, _key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_string<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_int<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_bool<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 90 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 94 | ) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | fn remove<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>>; [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_option_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_time<'a>(&'a self, key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_time<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 139 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/storage.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | fn remove_or_log<'a>(&'a mut self, key: &'a str) -> BoxFuture<'_, ()> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_string<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_int<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bool<'a>(&'a self, _key: &'a str) -> BoxFuture<'_, Option> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn set_string<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_int<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn set_bool<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 59 | ) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> examples/hello-world/storage.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | fn remove<'a>(&'a mut self, _key: &'a str) -> BoxFuture<'_, Result<(), Self::Error>> { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VbMetadata` and `ChannelConfig` are never constructed [INFO] [stdout] --> examples/hello-world/app_set.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AppIdSource { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | VbMetadata, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | ChannelConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppIdSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_app_metadata` is never read [INFO] [stdout] --> examples/hello-world/app_set.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MinimalAppSet { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | system_app: App, [INFO] [stdout] 26 | system_app_metadata: AppMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_system_product_id`, `get_system_current_channel`, `get_system_target_channel`, `set_system_target_channel`, and `get_system_app_metadata` are never used [INFO] [stdout] --> examples/hello-world/app_set.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MinimalAppSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_system_product_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_system_current_channel(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_system_target_channel(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_system_target_channel(&mut self, channel: Option, id: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_system_app_metadata(&self) -> &AppMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics` is never read [INFO] [stdout] --> examples/hello-world/policy.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MinimalPolicyEngine { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 86 | time_source: T, [INFO] [stdout] 87 | metrics: MinimalMetricsReporter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3530:26 [INFO] [stdout] | [INFO] [stdout] 3528 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3529 | spawner [INFO] [stdout] 3530 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3542 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3574:26 [INFO] [stdout] | [INFO] [stdout] 3572 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3573 | spawner [INFO] [stdout] 3574 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3596 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3622:26 [INFO] [stdout] | [INFO] [stdout] 3620 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3621 | spawner [INFO] [stdout] 3622 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3634 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3669:26 [INFO] [stdout] | [INFO] [stdout] 3667 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3668 | spawner [INFO] [stdout] 3669 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3712 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3759:26 [INFO] [stdout] | [INFO] [stdout] 3757 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3758 | spawner [INFO] [stdout] 3759 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3816 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3863:26 [INFO] [stdout] | [INFO] [stdout] 3861 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3862 | spawner [INFO] [stdout] 3863 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3977 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4094:26 [INFO] [stdout] | [INFO] [stdout] 4092 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4093 | spawner [INFO] [stdout] 4094 | .spawn_local(observer.observe_until_terminal(state_machine)) [INFO] [stdout] | ^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4122 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4147:26 [INFO] [stdout] | [INFO] [stdout] 4145 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4146 | spawner [INFO] [stdout] 4147 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4193 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4219:26 [INFO] [stdout] | [INFO] [stdout] 4217 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4218 | spawner [INFO] [stdout] 4219 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4238 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4378:26 [INFO] [stdout] | [INFO] [stdout] 4376 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4377 | spawner [INFO] [stdout] 4378 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4399 | } [INFO] [stdout] | - `observer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `omaha_client` (lib test) due to 11 previous errors; 25 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b8f67055c0da9d1bb2fa28f4c53b965c45b78f7f534779296f1602d6c0f27f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f67055c0da9d1bb2fa28f4c53b965c45b78f7f534779296f1602d6c0f27f06", kill_on_drop: false }` [INFO] [stdout] b8f67055c0da9d1bb2fa28f4c53b965c45b78f7f534779296f1602d6c0f27f06