[INFO] cloning repository https://github.com/Noah2610/hello-yew-redux-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah2610/hello-yew-redux-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah2610%2Fhello-yew-redux-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah2610%2Fhello-yew-redux-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6f99100738a2498d0da1ab113fe66861f40dad5 [INFO] checking Noah2610/hello-yew-redux-rs/a6f99100738a2498d0da1ab113fe66861f40dad5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah2610%2Fhello-yew-redux-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Noah2610/hello-yew-redux-rs on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Noah2610/hello-yew-redux-rs [INFO] finished tweaking git repo https://github.com/Noah2610/hello-yew-redux-rs [INFO] tweaked toml for git repo https://github.com/Noah2610/hello-yew-redux-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Noah2610/hello-yew-redux-rs 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c507e04c3d666b88ad23991dbb7bc8b34cd1d060c40627c08b3451d73068f8f2 [INFO] running `Command { std: "docker" "start" "-a" "c507e04c3d666b88ad23991dbb7bc8b34cd1d060c40627c08b3451d73068f8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c507e04c3d666b88ad23991dbb7bc8b34cd1d060c40627c08b3451d73068f8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c507e04c3d666b88ad23991dbb7bc8b34cd1d060c40627c08b3451d73068f8f2", kill_on_drop: false }` [INFO] [stdout] c507e04c3d666b88ad23991dbb7bc8b34cd1d060c40627c08b3451d73068f8f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0480a3b94ddf9b08f00bd977beddd2779c0f51e504518195ef29034b6634f436 [INFO] running `Command { std: "docker" "start" "-a" "0480a3b94ddf9b08f00bd977beddd2779c0f51e504518195ef29034b6634f436", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling base-x v0.2.4 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking redux-rs v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling stdweb v0.4.17 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Checking yew v0.6.0 [INFO] [stderr] Checking hello_yew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::entry::Msg as EntryMsg` [INFO] [stdout] --> src/components/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::entry::Msg as EntryMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::entry::Msg as EntryMsg` [INFO] [stdout] --> src/components/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::entry::Msg as EntryMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::entry_list::Msg as EntryListMsg` [INFO] [stdout] --> src/components/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::entry_list::Msg as EntryListMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::entry_list::Msg as EntryListMsg` [INFO] [stdout] --> src/components/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::entry_list::Msg as EntryListMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::entry_list::Props as EntryListProps` [INFO] [stdout] --> src/components/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::entry_list::Props as EntryListProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::entry_list::Props as EntryListProps` [INFO] [stdout] --> src/components/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::entry_list::Props as EntryListProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntryProps` [INFO] [stdout] --> src/components/entry_list.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::{Entry, EntryProps}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntryProps` [INFO] [stdout] --> src/components/entry_list.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::{Entry, EntryProps}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::EntryId` [INFO] [stdout] --> src/entry_data.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::EntryId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::EntryId` [INFO] [stdout] --> src/entry_data.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::EntryId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::state::prelude::*` [INFO] [stdout] --> src/store/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::state::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::state::prelude::*` [INFO] [stdout] --> src/store/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::state::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Action` [INFO] [stdout] --> src/store/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::Action; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Action` [INFO] [stdout] --> src/store/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::Action; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecvError` [INFO] [stdout] --> src/store/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Receiver, RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecvError` [INFO] [stdout] --> src/store/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Receiver, RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// Start root model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | yew::start_app::(); [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | /// Initialize redux store [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | let store_handle = store::initialize_store(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// Start root model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | yew::start_app::(); [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | /// Create actual root component [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | / Self { [INFO] [stdout] 65 | | store_handle: store_handle, [INFO] [stdout] 66 | | console: ConsoleService::new(), [INFO] [stdout] 67 | | entries: Vec::new(), [INFO] [stdout] 68 | | input_new_todo: String::new(), [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | /// Initialize redux store [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | let store_handle = store::initialize_store(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | /// Create actual root component [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | / Self { [INFO] [stdout] 65 | | store_handle: store_handle, [INFO] [stdout] 66 | | console: ConsoleService::new(), [INFO] [stdout] 67 | | entries: Vec::new(), [INFO] [stdout] 68 | | input_new_todo: String::new(), [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `store_handle` and `console` are never read [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 50 | store_handle: StoreHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `store`, `tx`, `rx`, and `thread` are never read [INFO] [stdout] --> src/store/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StoreHandle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub store: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub rx: Arc>>, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pub thread: JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AddEntryWithName` and `Noop` are never constructed [INFO] [stdout] --> src/store/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | /// Add a new entry, with only the name given [INFO] [stdout] 30 | AddEntryWithName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Noop, // TODO [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/store/state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 18 | pub fn builder() -> StateBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_entries` is never used [INFO] [stdout] --> src/store/state.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl StateBuilder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_entries(mut self, entries: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `store_handle` and `console` are never read [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 50 | store_handle: StoreHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/store/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | store: Arc>>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> JoinHandle<()> { [INFO] [stdout] 53 | thread::spawn(move || match rx.lock().unwrap().recv() { [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | Ok(action) => (*store).lock().unwrap().dispatch(action), [INFO] [stdout] 55 | | Err(err) => panic!(format!( [INFO] [stdout] 56 | | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | | err [INFO] [stdout] 58 | | )), [INFO] [stdout] 59 | | }) [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/store/mod.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Arc>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | store: Arc>>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> JoinHandle<()> { [INFO] [stdout] 53 | thread::spawn(move || match rx.lock().unwrap().recv() { [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] warning: fields `store`, `tx`, `rx`, and `thread` are never read [INFO] [stdout] --> src/store/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StoreHandle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub store: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub rx: Arc>>, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pub thread: JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/store/mod.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Err(err) => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 56 | | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | | err [INFO] [stdout] 58 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ Err(err) => panic!( [INFO] [stdout] 56 | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | err [INFO] [stdout] 58 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AddEntryWithName` and `Noop` are never constructed [INFO] [stdout] --> src/store/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | /// Add a new entry, with only the name given [INFO] [stdout] 30 | AddEntryWithName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Noop, // TODO [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/store/state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 18 | pub fn builder() -> StateBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_entries` is never used [INFO] [stdout] --> src/store/state.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl StateBuilder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_entries(mut self, entries: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [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/store/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | store: Arc>>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> JoinHandle<()> { [INFO] [stdout] 53 | thread::spawn(move || match rx.lock().unwrap().recv() { [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | Ok(action) => (*store).lock().unwrap().dispatch(action), [INFO] [stdout] 55 | | Err(err) => panic!(format!( [INFO] [stdout] 56 | | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | | err [INFO] [stdout] 58 | | )), [INFO] [stdout] 59 | | }) [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/store/mod.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Arc>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | store: Arc>>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> JoinHandle<()> { [INFO] [stdout] 53 | thread::spawn(move || match rx.lock().unwrap().recv() { [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] warning: panic message is not a string literal [INFO] [stdout] --> src/store/mod.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Err(err) => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 56 | | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | | err [INFO] [stdout] 58 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ Err(err) => panic!( [INFO] [stdout] 56 | "Store thread got error from `rx.recv()`: {:?}", [INFO] [stdout] 57 | err [INFO] [stdout] 58 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_yew` (lib test) due to 3 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello_yew` (lib) due to 3 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0480a3b94ddf9b08f00bd977beddd2779c0f51e504518195ef29034b6634f436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0480a3b94ddf9b08f00bd977beddd2779c0f51e504518195ef29034b6634f436", kill_on_drop: false }` [INFO] [stdout] 0480a3b94ddf9b08f00bd977beddd2779c0f51e504518195ef29034b6634f436