[INFO] fetching crate msg-store-http-server 0.1.5... [INFO] checking msg-store-http-server-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate msg-store-http-server 0.1.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate msg-store-http-server 0.1.5 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 crates.io crate msg-store-http-server 0.1.5 [INFO] finished tweaking crates.io crate msg-store-http-server 0.1.5 [INFO] tweaked toml for crates.io crate msg-store-http-server 0.1.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate msg-store-http-server 0.1.5 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 285d517d976e44a3a11982d40bdd9a76eaa61145db838f9d1e150532309692c9 [INFO] running `Command { std: "docker" "start" "-a" "285d517d976e44a3a11982d40bdd9a76eaa61145db838f9d1e150532309692c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "285d517d976e44a3a11982d40bdd9a76eaa61145db838f9d1e150532309692c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285d517d976e44a3a11982d40bdd9a76eaa61145db838f9d1e150532309692c9", kill_on_drop: false }` [INFO] [stdout] 285d517d976e44a3a11982d40bdd9a76eaa61145db838f9d1e150532309692c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 921f81202dd6ac4d8bf0a8ce454df044c26e6ae5d615d1bce8a92ee8656ef35a [INFO] running `Command { std: "docker" "start" "-a" "921f81202dd6ac4d8bf0a8ce454df044c26e6ae5d615d1bce8a92ee8656ef35a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling leveldb-sys v2.0.9 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking msg_store_uuid v0.1.0 [INFO] [stderr] Checking brotli v3.3.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking msg-store v0.9.1 [INFO] [stderr] Checking ffi-opaque v2.0.1 [INFO] [stderr] Checking db-key v0.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking msg_store_database_plugin v0.1.0 [INFO] [stderr] Checking msg_store_database_in_memory_plugin v0.1.0 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking leveldb v0.8.6 [INFO] [stderr] Checking msg_store_database_leveldb_plugin v0.1.0 [INFO] [stderr] Checking msg_store_server_api v0.1.1 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking actix-multipart v0.3.0 [INFO] [stderr] Checking actix-web-actors v3.0.0 [INFO] [stderr] Checking msg-store-http-server v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api/export/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Err(error) => { [INFO] [stdout] | ^^^^^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api/export/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Err(error) => { [INFO] [stdout] | ^^^^^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` 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/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 50 | let app_data = Data::new(AppData { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | / App::new() [INFO] [stdout] 61 | | // enable logger [INFO] [stdout] 62 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 63 | | .app_data(app_data.clone()) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .route("/api/stats", web::put().to(api::stats::put::http_handle)) [INFO] [stdout] 91 | | .route("/api/store", web::get().to(api::store::get::http_handle)) [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/main.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 50 | let app_data = Data::new(AppData { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | .route("/api/store", web::put().to(api::store::put::http_handle)) [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/init.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 199 | let matches = get_app().get_matches(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | if let Err(error) = create_dir_all(&configuration_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut database: Box = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let leveldb = match Leveldb::new(level_db_path) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | Ok(leveldb) => Ok(leveldb), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let msgs = match database.fetch() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | Ok(msgs) => Ok(msgs), [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut file_storage: Option = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | if let Some(file_storage_path) = &configuration.file_storage_path { [INFO] [stdout] 390 | if let Err(error) = create_dir_all(file_storage_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let mut file_storage = match FileStorage::new(file_storage_path) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | Ok(file_storage) => Ok(file_storage), [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | let uuids = match read_file_storage_direcotory(file_storage_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | Ok(index) => index, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut store = match Store::new(configuration.node_id) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | Ok(store) => Ok(store), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | let (removed_uuids, pruned_count) = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | let mut removed_uuids = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let mut add_result = match store.add_with_uuid(uuid.clone(), *msg_byte_size) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Ok(add_result) => add_result, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | Ok(InitResult { [INFO] [stdout] | ________^ [INFO] [stdout] 470 | | host: format!("{}:{}", host, port), [INFO] [stdout] 471 | | store: Mutex::new(store), [INFO] [stdout] 472 | | db: Mutex::new(database), [INFO] [stdout] ... | [INFO] [stdout] 479 | | stats: Mutex::new(stats) [INFO] [stdout] 480 | | }) [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] | | 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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `msg-store-http-server` (bin "msg-store-http-server") due to 4 previous errors; 1 warning emitted [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/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 50 | let app_data = Data::new(AppData { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | / App::new() [INFO] [stdout] 61 | | // enable logger [INFO] [stdout] 62 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 63 | | .app_data(app_data.clone()) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .route("/api/stats", web::put().to(api::stats::put::http_handle)) [INFO] [stdout] 91 | | .route("/api/store", web::get().to(api::store::get::http_handle)) [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/main.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 50 | let app_data = Data::new(AppData { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | .route("/api/store", web::put().to(api::store::put::http_handle)) [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/init.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 199 | let matches = get_app().get_matches(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | if let Err(error) = create_dir_all(&configuration_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut database: Box = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let leveldb = match Leveldb::new(level_db_path) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | Ok(leveldb) => Ok(leveldb), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let msgs = match database.fetch() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | Ok(msgs) => Ok(msgs), [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut file_storage: Option = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | if let Some(file_storage_path) = &configuration.file_storage_path { [INFO] [stdout] 390 | if let Err(error) = create_dir_all(file_storage_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let mut file_storage = match FileStorage::new(file_storage_path) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | Ok(file_storage) => Ok(file_storage), [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | let uuids = match read_file_storage_direcotory(file_storage_path) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | Ok(index) => index, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut store = match Store::new(configuration.node_id) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | Ok(store) => Ok(store), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | let (removed_uuids, pruned_count) = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | let mut removed_uuids = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let mut add_result = match store.add_with_uuid(uuid.clone(), *msg_byte_size) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Ok(add_result) => add_result, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | Ok(InitResult { [INFO] [stdout] | ________^ [INFO] [stdout] 470 | | host: format!("{}:{}", host, port), [INFO] [stdout] 471 | | store: Mutex::new(store), [INFO] [stdout] 472 | | db: Mutex::new(database), [INFO] [stdout] ... | [INFO] [stdout] 479 | | stats: Mutex::new(stats) [INFO] [stdout] 480 | | }) [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] | | 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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `msg-store-http-server` (bin "msg-store-http-server" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "921f81202dd6ac4d8bf0a8ce454df044c26e6ae5d615d1bce8a92ee8656ef35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921f81202dd6ac4d8bf0a8ce454df044c26e6ae5d615d1bce8a92ee8656ef35a", kill_on_drop: false }` [INFO] [stdout] 921f81202dd6ac4d8bf0a8ce454df044c26e6ae5d615d1bce8a92ee8656ef35a