[INFO] updating cached repository https://github.com/Nachasic/rtrackr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8914c3f15cc10f82da5142a53970da7e452a17e [INFO] checking Nachasic/rtrackr/b8914c3f15cc10f82da5142a53970da7e452a17e 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%2FNachasic%2Frtrackr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nachasic/rtrackr 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/Nachasic/rtrackr [INFO] finished tweaking git repo https://github.com/Nachasic/rtrackr [INFO] tweaked toml for git repo https://github.com/Nachasic/rtrackr written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nachasic/rtrackr 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 065853d6dafdf0a5ea3a15294113bc4b78f63447c87059f2b1ac5c410f0b6083 [INFO] running `Command { std: "docker" "start" "-a" "065853d6dafdf0a5ea3a15294113bc4b78f63447c87059f2b1ac5c410f0b6083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065853d6dafdf0a5ea3a15294113bc4b78f63447c87059f2b1ac5c410f0b6083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065853d6dafdf0a5ea3a15294113bc4b78f63447c87059f2b1ac5c410f0b6083", kill_on_drop: false }` [INFO] [stdout] 065853d6dafdf0a5ea3a15294113bc4b78f63447c87059f2b1ac5c410f0b6083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 39a37c845434b0ce9e3e1564a40cc74471e341a5bd2ba10fd9fefe2a5a91b3fe [INFO] running `Command { std: "docker" "start" "-a" "39a37c845434b0ce9e3e1564a40cc74471e341a5bd2ba10fd9fefe2a5a91b3fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking directories v3.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.12 [INFO] [stderr] Checking crossterm v0.17.5 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tui v0.9.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking rustbreak v2.0.0-rc3 (https://github.com/TheNeikos/rustbreak.git#20c09ef4) [INFO] [stderr] Checking trackr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `event::Key` and `utils::*` [INFO] [stdout] --> src/tui/routes/route_main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | event::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | utils::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Constraint`, `Direction`, `Layout`, and `Paragraph` [INFO] [stdout] --> src/tui/routes/route_main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | layout::{ Alignment, Constraint, Direction, Layout }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | widgets::{ Block, Borders, Paragraph, Chart, Axis, Dataset as TUIDataset, GraphType }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivityRecord` and `Archetype` [INFO] [stdout] --> src/classifier/rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ActivityRecord, Archetype [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Activity as RawActivity` and `ClassifierConfig` [INFO] [stdout] --> src/classifier/rules.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ClassifierConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Activity as RawActivity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `event::Key` and `utils::*` [INFO] [stdout] --> src/tui/routes/route_main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | event::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | utils::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Constraint`, `Direction`, `Layout`, and `Paragraph` [INFO] [stdout] --> src/tui/routes/route_main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | layout::{ Alignment, Constraint, Direction, Layout }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | widgets::{ Block, Borders, Paragraph, Chart, Axis, Dataset as TUIDataset, GraphType }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivityRecord` and `Archetype` [INFO] [stdout] --> src/classifier/rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ActivityRecord, Archetype [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Activity as RawActivity` and `ClassifierConfig` [INFO] [stdout] --> src/classifier/rules.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ClassifierConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Activity as RawActivity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/tui/components/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle_key(&mut self, event: Key) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/tui/components/mod.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn before_render(&mut self, app_state: &AppState) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/tui/components/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn handle_key(&mut self, event: Key) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/tui/components/mod.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn before_render(&mut self, app_state: &AppState) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_key` is never read [INFO] [stdout] --> src/event/event.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | /// The key that is used to exit the application. [INFO] [stdout] 17 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: associated function `new` is never used [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Events { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 48 | /// Constructs an new instance of `Events` with the default config. [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_config` is never used [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecordStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch_route` is never used [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key` is never used [INFO] [stdout] --> src/tui/components/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait StatefulTUIComponent { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] 14 | fn handle_key(&mut self, event: Key) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Route` is never used [INFO] [stdout] --> src/tui/routes/route.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Route {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_config` is never used [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `machine_name` is never read [INFO] [stdout] --> src/classifier/classifier.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Classifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 17 | pub afk_timeout: std::time::Duration, [INFO] [stdout] 18 | machine_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Classifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CLASSIFIER` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CORP` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_NAME` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [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/record_store/mod.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record_store/mod.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record_store/db.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_records(&self, date: &NaiveDate, f: F) -> Result<(), RecordStoreError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | self.db.save().map_err(RecordStoreError::from) [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/record_store/db.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_records(&self, date: &NaiveDate, f: F) -> Result<(), RecordStoreError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / self.db [INFO] [stdout] 69 | | .write(|store| { [INFO] [stdout] 70 | | if !store.contains_key(&date_record.0) { [INFO] [stdout] 71 | | store.insert(date_record.0.clone(), vec![]); [INFO] [stdout] ... | [INFO] [stdout] 77 | | }; [INFO] [stdout] 78 | | }) [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/record_store/store.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | let db = Self::try_create_file_db(config.data_dir.as_path())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | config, [INFO] [stdout] 21 | | db: DB::new(db)?, [INFO] [stdout] 22 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/record_store/utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(db.with_backend(Box::new(MemoryBackend::default()))) [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/tui/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 29 | let current_route_component = Box::new(RouteMain::from(state)); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | terminal: Terminal::new(backend)?, [INFO] [stdout] 34 | | current_route_component, [INFO] [stdout] 35 | | active_window_component [INFO] [stdout] 36 | | }) [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` 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/classifier/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut config_file = File::open(DEV_CONFIG_PATH) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | toml::from_str(&config).unwrap() [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: field `exit_key` is never read [INFO] [stdout] --> src/event/event.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EventConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | /// The key that is used to exit the application. [INFO] [stdout] 17 | pub exit_key: Key, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventConfig` 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: associated function `new` is never used [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Events { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 48 | /// Constructs an new instance of `Events` with the default config. [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_config` is never used [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RecordStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch_route` is never used [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key` is never used [INFO] [stdout] --> src/tui/components/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait StatefulTUIComponent { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] 14 | fn handle_key(&mut self, event: Key) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Route` is never used [INFO] [stdout] --> src/tui/routes/route.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Route {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_config` is never used [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `machine_name` is never read [INFO] [stdout] --> src/classifier/classifier.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Classifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 17 | pub afk_timeout: std::time::Duration, [INFO] [stdout] 18 | machine_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Classifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CLASSIFIER` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CORP` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_NAME` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [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/record_store/mod.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record_store/mod.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record_store/db.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_records(&self, date: &NaiveDate, f: F) -> Result<(), RecordStoreError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | self.db.save().map_err(RecordStoreError::from) [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/record_store/db.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_records(&self, date: &NaiveDate, f: F) -> Result<(), RecordStoreError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / self.db [INFO] [stdout] 69 | | .write(|store| { [INFO] [stdout] 70 | | if !store.contains_key(&date_record.0) { [INFO] [stdout] 71 | | store.insert(date_record.0.clone(), vec![]); [INFO] [stdout] ... | [INFO] [stdout] 77 | | }; [INFO] [stdout] 78 | | }) [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/record_store/store.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | let db = Self::try_create_file_db(config.data_dir.as_path())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | config, [INFO] [stdout] 21 | | db: DB::new(db)?, [INFO] [stdout] 22 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/record_store/utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(db.with_backend(Box::new(MemoryBackend::default()))) [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/tui/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 29 | let current_route_component = Box::new(RouteMain::from(state)); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | terminal: Terminal::new(backend)?, [INFO] [stdout] 34 | | current_route_component, [INFO] [stdout] 35 | | active_window_component [INFO] [stdout] 36 | | }) [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` 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/classifier/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut config_file = File::open(DEV_CONFIG_PATH) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | toml::from_str(&config).unwrap() [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 8 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trackr` (bin "trackr") due to 9 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trackr` (bin "trackr" test) due to 9 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39a37c845434b0ce9e3e1564a40cc74471e341a5bd2ba10fd9fefe2a5a91b3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a37c845434b0ce9e3e1564a40cc74471e341a5bd2ba10fd9fefe2a5a91b3fe", kill_on_drop: false }` [INFO] [stdout] 39a37c845434b0ce9e3e1564a40cc74471e341a5bd2ba10fd9fefe2a5a91b3fe