[INFO] cloning repository https://github.com/NPCDW/traffic-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NPCDW/traffic-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNPCDW%2Ftraffic-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNPCDW%2Ftraffic-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c34292b11b850d7cf0ee080e40e51898e2f33dd1 [INFO] checking NPCDW/traffic-monitor/c34292b11b850d7cf0ee080e40e51898e2f33dd1 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%2FNPCDW%2Ftraffic-monitor" "/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/NPCDW/traffic-monitor 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/NPCDW/traffic-monitor [INFO] finished tweaking git repo https://github.com/NPCDW/traffic-monitor [INFO] tweaked toml for git repo https://github.com/NPCDW/traffic-monitor written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NPCDW/traffic-monitor 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] 4dc3f3cd755efe13f2d97f3e077239202e42176e21d9d6ff1d4cbe23de7472ef [INFO] running `Command { std: "docker" "start" "-a" "4dc3f3cd755efe13f2d97f3e077239202e42176e21d9d6ff1d4cbe23de7472ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc3f3cd755efe13f2d97f3e077239202e42176e21d9d6ff1d4cbe23de7472ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc3f3cd755efe13f2d97f3e077239202e42176e21d9d6ff1d4cbe23de7472ef", kill_on_drop: false }` [INFO] [stdout] 4dc3f3cd755efe13f2d97f3e077239202e42176e21d9d6ff1d4cbe23de7472ef [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] 472e609abf3f8c241c7c345af776f635467bc036acfb836ceb7edb62ccdc6284 [INFO] running `Command { std: "docker" "start" "-a" "472e609abf3f8c241c7c345af776f635467bc036acfb836ceb7edb62ccdc6284", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking systemstat v0.2.3 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Compiling sqlx-sqlite v0.8.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking traffic-monitor v0.5.7 (/opt/rustwide/workdir) [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/service/scheduler_svc.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 9 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | tracing::info!("开始收集监控数据"); [INFO] [stdout] 11 | sched.add(Job::new_cron_job_async_tz("0/15 * * * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 14 | | let res = statistics_svc::collect_second_data(&app_state).await; [INFO] [stdout] 15 | | if res.is_err() { [INFO] [stdout] 16 | | tracing::error!("收集秒级监控数据出错:{:?}", &res); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | }) [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/service/scheduler_svc.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sched.add(Job::new_cron_job_async_tz("0 1 * * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | let statistic_hour_time = chrono::Local::now() - chrono::Duration::hours(1); [INFO] [stdout] 26 | | let res = statistics_svc::collect_hour_data(&app_state, statistic_hour_time.naive_local()).await; [INFO] [stdout] 27 | | if res.is_err() { [INFO] [stdout] 28 | | tracing::error!("收集小时监控数据出错:{:?}", &res); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | }) [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/service/scheduler_svc.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 33 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | sched.add(Job::new_cron_job_async_tz("0 2 0 * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 37 | | let statistic_date = chrono::Local::now() - chrono::Duration::days(1); [INFO] [stdout] 38 | | let res = statistics_svc::collect_day_data(&app_state, statistic_date.date_naive()).await; [INFO] [stdout] 39 | | if res.is_err() { [INFO] [stdout] 40 | | tracing::error!("收集天监控数据出错:{:?}", &res); [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | }) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `traffic-monitor` (bin "traffic-monitor") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/service/scheduler_svc.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 9 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | tracing::info!("开始收集监控数据"); [INFO] [stdout] 11 | sched.add(Job::new_cron_job_async_tz("0/15 * * * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 14 | | let res = statistics_svc::collect_second_data(&app_state).await; [INFO] [stdout] 15 | | if res.is_err() { [INFO] [stdout] 16 | | tracing::error!("收集秒级监控数据出错:{:?}", &res); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | }) [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/service/scheduler_svc.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sched.add(Job::new_cron_job_async_tz("0 1 * * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | let statistic_hour_time = chrono::Local::now() - chrono::Duration::hours(1); [INFO] [stdout] 26 | | let res = statistics_svc::collect_hour_data(&app_state, statistic_hour_time.naive_local()).await; [INFO] [stdout] 27 | | if res.is_err() { [INFO] [stdout] 28 | | tracing::error!("收集小时监控数据出错:{:?}", &res); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | }) [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/service/scheduler_svc.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 33 | let app_state_clone = app_state.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | sched.add(Job::new_cron_job_async_tz("0 2 0 * * ? ", chrono::Local, move |_uuid, _l| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let app_state = app_state_clone.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 37 | | let statistic_date = chrono::Local::now() - chrono::Duration::days(1); [INFO] [stdout] 38 | | let res = statistics_svc::collect_day_data(&app_state, statistic_date.date_naive()).await; [INFO] [stdout] 39 | | if res.is_err() { [INFO] [stdout] 40 | | tracing::error!("收集天监控数据出错:{:?}", &res); [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | }) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `traffic-monitor` (bin "traffic-monitor" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "472e609abf3f8c241c7c345af776f635467bc036acfb836ceb7edb62ccdc6284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472e609abf3f8c241c7c345af776f635467bc036acfb836ceb7edb62ccdc6284", kill_on_drop: false }` [INFO] [stdout] 472e609abf3f8c241c7c345af776f635467bc036acfb836ceb7edb62ccdc6284