[INFO] fetching crate app_ctx 0.2.0-SNAPSHOT... [INFO] checking app_ctx-0.2.0-SNAPSHOT against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate app_ctx 0.2.0-SNAPSHOT into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate app_ctx 0.2.0-SNAPSHOT on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate app_ctx 0.2.0-SNAPSHOT [INFO] finished tweaking crates.io crate app_ctx 0.2.0-SNAPSHOT [INFO] tweaked toml for crates.io crate app_ctx 0.2.0-SNAPSHOT written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8598d6b91db7c070235116fc814c2af1ee2f6e576bfa8f3352141d57cd9cc13e [INFO] running `Command { std: "docker" "start" "-a" "8598d6b91db7c070235116fc814c2af1ee2f6e576bfa8f3352141d57cd9cc13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8598d6b91db7c070235116fc814c2af1ee2f6e576bfa8f3352141d57cd9cc13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8598d6b91db7c070235116fc814c2af1ee2f6e576bfa8f3352141d57cd9cc13e", kill_on_drop: false }` [INFO] [stdout] 8598d6b91db7c070235116fc814c2af1ee2f6e576bfa8f3352141d57cd9cc13e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55cc0e38bd6ce0b1e0a3f9e1dd729334663aeead2f168523721de985b9d40027 [INFO] running `Command { std: "docker" "start" "-a" "55cc0e38bd6ce0b1e0a3f9e1dd729334663aeead2f168523721de985b9d40027", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking app_ctx v0.2.0-SNAPSHOT (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | mut 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: `m` [INFO] [stdout] --> src/error.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | if let BeanError::Custom(m, e) = self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/lib.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | .find(|(meta, bean)| !bean.initialized()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:793:26 [INFO] [stdout] | [INFO] [stdout] 793 | .filter(|(k, v)| k.type_name == type_name::()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:806:26 [INFO] [stdout] | [INFO] [stdout] 806 | .filter(|(k, v)| k.bean_name == name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:807:20 [INFO] [stdout] | [INFO] [stdout] 807 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sync_one`, `async_one`, `run_destroy_fn`, and `run_destroy_fn_async` are never used [INFO] [stdout] --> src/lib.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 193 | impl BeanWrapper { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub(crate) fn run_destroy_fn(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub(crate) async fn run_destroy_fn_async(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/event.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum EventType {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppEvent` is never constructed [INFO] [stdout] --> src/event.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::bail` [INFO] [stdout] --> src/lib.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | use anyhow::bail; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | mut 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: `m` [INFO] [stdout] --> src/error.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | if let BeanError::Custom(m, e) = self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/lib.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | .find(|(meta, bean)| !bean.initialized()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:793:26 [INFO] [stdout] | [INFO] [stdout] 793 | .filter(|(k, v)| k.type_name == type_name::()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:806:26 [INFO] [stdout] | [INFO] [stdout] 806 | .filter(|(k, v)| k.bean_name == name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:807:20 [INFO] [stdout] | [INFO] [stdout] 807 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extras` [INFO] [stdout] --> src/lib.rs:843:48 [INFO] [stdout] | [INFO] [stdout] 843 | fn build_from(ctx: &AppContextBuilder, extras: ()) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_extras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | ctx: &AppContextBuilder, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:925:29 [INFO] [stdout] | [INFO] [stdout] 925 | async fn build_from(ctx: &AppContextBuilder, extras: usize) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sync_one`, `async_one`, `run_destroy_fn`, and `run_destroy_fn_async` are never used [INFO] [stdout] --> src/lib.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 193 | impl BeanWrapper { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub(crate) fn run_destroy_fn(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub(crate) async fn run_destroy_fn_async(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/event.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum EventType {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppEvent` is never constructed [INFO] [stdout] --> src/event.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `svc_b` and `dao` are never read [INFO] [stdout] --> src/lib.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 824 | pub struct ServiceA { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 825 | svc_b: BeanRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 826 | [INFO] [stdout] 827 | dao: BeanRef, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `svc_a`, `dao`, and `config_val` are never read [INFO] [stdout] --> src/lib.rs:853:9 [INFO] [stdout] | [INFO] [stdout] 852 | pub struct ServiceB { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 853 | svc_a: BeanRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 854 | [INFO] [stdout] 855 | dao: BeanRef, [INFO] [stdout] | ^^^ [INFO] [stdout] 856 | [INFO] [stdout] 857 | config_val: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_map` is never read [INFO] [stdout] --> src/lib.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 882 | pub struct DaoC { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 883 | inner_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_vec` is never read [INFO] [stdout] --> src/lib.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct DaoD { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 908 | inner_vec: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.33s [INFO] running `Command { std: "docker" "inspect" "55cc0e38bd6ce0b1e0a3f9e1dd729334663aeead2f168523721de985b9d40027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cc0e38bd6ce0b1e0a3f9e1dd729334663aeead2f168523721de985b9d40027", kill_on_drop: false }` [INFO] [stdout] 55cc0e38bd6ce0b1e0a3f9e1dd729334663aeead2f168523721de985b9d40027 [INFO] checking app_ctx-0.2.0-SNAPSHOT against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate app_ctx 0.2.0-SNAPSHOT into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate app_ctx 0.2.0-SNAPSHOT on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate app_ctx 0.2.0-SNAPSHOT [INFO] finished tweaking crates.io crate app_ctx 0.2.0-SNAPSHOT [INFO] tweaked toml for crates.io crate app_ctx 0.2.0-SNAPSHOT written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a97ac4eb5005359c48b26a80f8de726aba3694c023cc667f8672a878ef538652 [INFO] running `Command { std: "docker" "start" "-a" "a97ac4eb5005359c48b26a80f8de726aba3694c023cc667f8672a878ef538652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a97ac4eb5005359c48b26a80f8de726aba3694c023cc667f8672a878ef538652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97ac4eb5005359c48b26a80f8de726aba3694c023cc667f8672a878ef538652", kill_on_drop: false }` [INFO] [stdout] a97ac4eb5005359c48b26a80f8de726aba3694c023cc667f8672a878ef538652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db34b5544ad3f1260d7370c8a645ebc17e4d6beeba90b18edecb009c356453be [INFO] running `Command { std: "docker" "start" "-a" "db34b5544ad3f1260d7370c8a645ebc17e4d6beeba90b18edecb009c356453be", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking app_ctx v0.2.0-SNAPSHOT (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | mut 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: `m` [INFO] [stdout] --> src/error.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | if let BeanError::Custom(m, e) = self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | if let BeanPriority::DependsOn(v) = T::priority() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/lib.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | .find(|(meta, bean)| !bean.initialized()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:793:26 [INFO] [stdout] | [INFO] [stdout] 793 | .filter(|(k, v)| k.type_name == type_name::()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:806:26 [INFO] [stdout] | [INFO] [stdout] 806 | .filter(|(k, v)| k.bean_name == name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:807:20 [INFO] [stdout] | [INFO] [stdout] 807 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sync_one`, `async_one`, `run_destroy_fn`, and `run_destroy_fn_async` are never used [INFO] [stdout] --> src/lib.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 193 | impl BeanWrapper { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub(crate) fn run_destroy_fn(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub(crate) async fn run_destroy_fn_async(&self) -> Result<(), BeanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/event.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum EventType {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppEvent` is never constructed [INFO] [stdout] --> src/event.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn empty(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | status: AtomicCell::new(BeanStatus::NotInit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn empty(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | bean: Arc::new(bean), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn empty(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | init_fn: OnceCell::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn empty(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | destroy_fn: OnceCell::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | status: AtomicCell::new(BeanStatus::PostConstruct), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | bean: Arc::new(bean), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | init_fn: OnceCell::with_value(build_init_fn::()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) fn sync_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | destroy_fn: OnceCell::with_value(build_destroy_fn::()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | status: AtomicCell::new(BeanStatus::PostConstruct), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | bean: Arc::new(bean), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | init_fn: OnceCell::with_value(build_init_fn_async::()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn async_one(bean: OnceCell, meta: BeanMetadata) -> Self [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | destroy_fn: OnceCell::with_value(build_destroy_fn_async::()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 274 | pub(crate) fn set_inner_sync(&self, bean: T) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | .map(|c| c.set(bean).ok()) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) fn set_inner_async(&self, bean: T) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | .map(|c| c.set(bean).ok()) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn build_without_init(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | self._check_init_finished()?; [INFO] [stdout] 473 | Ok(AppContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 474 | | inner: Arc::new(self.inner.into_inner().expect("unexpected lock")), [INFO] [stdout] 475 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:628:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn build_non_async(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 628 | Ok(AppContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 629 | | inner: Arc::new(self.inner.into_inner().expect("unexpected lock")), [INFO] [stdout] 630 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:644:39 [INFO] [stdout] | [INFO] [stdout] 644 | &|s| Box::pin(async {s.run_init_fn_async().await}), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 693 | CustomFnEnum::Sync(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | match r.init_self() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:708:15 [INFO] [stdout] | [INFO] [stdout] 706 | CustomFnEnum::Sync(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | match r.clean_self() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:721:18 [INFO] [stdout] | [INFO] [stdout] 720 | CustomFnEnum::Async(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 721 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 722 | | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] 723 | | match r.init_self().await { [INFO] [stdout] 724 | | Ok(_) => Ok(()), [INFO] [stdout] 725 | | Err(e) => Err(BeanError::Custom(wrap.meta.clone(), e)), [INFO] [stdout] 726 | | } [INFO] [stdout] 727 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:723:19 [INFO] [stdout] | [INFO] [stdout] 720 | CustomFnEnum::Async(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 721 | Box::pin(async move { [INFO] [stdout] 722 | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 723 | match r.init_self().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:736:18 [INFO] [stdout] | [INFO] [stdout] 735 | CustomFnEnum::Async(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 737 | | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] 738 | | match r.clean_self().await { [INFO] [stdout] 739 | | Ok(_) => Ok(()), [INFO] [stdout] 740 | | Err(e) => Err(BeanError::Custom(wrap.meta.clone(), e)), [INFO] [stdout] 741 | | } [INFO] [stdout] 742 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 735 | CustomFnEnum::Async(Arc::new(|wrap| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 736 | Box::pin(async move { [INFO] [stdout] 737 | let r = wrap.build_bean_ref::().acquire(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | match r.clean_self().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:794:27 [INFO] [stdout] | [INFO] [stdout] 794 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:807:27 [INFO] [stdout] | [INFO] [stdout] 807 | .map(|(k, v)| v.clone().build_bean_ref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app_ctx` (lib) due to 26 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "db34b5544ad3f1260d7370c8a645ebc17e4d6beeba90b18edecb009c356453be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db34b5544ad3f1260d7370c8a645ebc17e4d6beeba90b18edecb009c356453be", kill_on_drop: false }` [INFO] [stdout] db34b5544ad3f1260d7370c8a645ebc17e4d6beeba90b18edecb009c356453be