[INFO] fetching crate daas 0.2.2... [INFO] checking daas-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate daas 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate daas 0.2.2 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 daas 0.2.2 [INFO] finished tweaking crates.io crate daas 0.2.2 [INFO] tweaked toml for crates.io crate daas 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate daas 0.2.2 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] 7becadd12838514fcec6d2ecb5c2cfa9d776bdcefa623a45eef99a1d43423808 [INFO] running `Command { std: "docker" "start" "-a" "7becadd12838514fcec6d2ecb5c2cfa9d776bdcefa623a45eef99a1d43423808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7becadd12838514fcec6d2ecb5c2cfa9d776bdcefa623a45eef99a1d43423808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7becadd12838514fcec6d2ecb5c2cfa9d776bdcefa623a45eef99a1d43423808", kill_on_drop: false }` [INFO] [stdout] 7becadd12838514fcec6d2ecb5c2cfa9d776bdcefa623a45eef99a1d43423808 [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] e940297082c5670cecc38c3f416f75fd82aa4ebb9deb3e5501f0c92a1039793b [INFO] running `Command { std: "docker" "start" "-a" "e940297082c5670cecc38c3f416f75fd82aa4ebb9deb3e5501f0c92a1039793b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling tokio v1.13.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking twox-hash v1.6.1 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking rust-tfidf v1.1.1 [INFO] [stderr] Checking eddie v0.4.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking kafka v0.8.0 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking actix-rt v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking pow_sha256 v0.2.1 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rusoto_credential v0.47.0 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking rusoto_signature v0.47.0 [INFO] [stderr] Checking rusoto_s3 v0.47.0 [INFO] [stderr] Checking pbd v0.4.0 [INFO] [stderr] Checking daas v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/service/processor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `err`, and `ok` [INFO] [stdout] --> src/macros.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::{err, ok, Ready}; [INFO] [stdout] | ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/macros.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/doc.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/service/processor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let mut chck: bool = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | chck = match self.validate_has_usage_agreement() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | chck = match self.validate_matching_tracker() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `latest_rev` is never read [INFO] [stdout] --> src/storage/local.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | let mut latest_rev = "0".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/macros.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | req: &HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/s3.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/processor.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 85 | client: Option, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let content: StreamingBody = msg.doc.serialize().into_bytes().into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | [INFO] [stdout] 95 | match s3_bucket [INFO] [stdout] | _______________^ [INFO] [stdout] 96 | | .unwrap() [INFO] [stdout] 97 | | .clone() [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/storage/local.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 319 | let mut file = match File::create(self.get_doc_path(file_uuid.clone())) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | Ok(f) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | match file.write_all(json_doc.as_bytes()) { [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/storage/s3.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 157 | content: StreamingBody, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | ) -> Result { [INFO] [stdout] 159 | let s3_client = S3Client::new(Region::UsEast1); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let req = PutObjectRequest { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | match rt.block_on(s3_client.put_object(req)) { [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let mut chck: bool = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | chck = match self.validate_has_usage_agreement() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chck` is never read [INFO] [stdout] --> src/doc.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | chck = match self.validate_matching_tracker() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daas` (lib) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/service/extractor.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 124 | MissingAuthorError => { [INFO] [stdout] | ------------------ matches any value [INFO] [stdout] ... [INFO] [stdout] 127 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/service/extractor.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 144 | MissingAuthorError => { [INFO] [stdout] | ------------------ matches any value [INFO] [stdout] ... [INFO] [stdout] 147 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `latest_rev` is never read [INFO] [stdout] --> src/storage/local.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | let mut latest_rev = "0".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/s3.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/processor.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 85 | client: Option, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let content: StreamingBody = msg.doc.serialize().into_bytes().into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | [INFO] [stdout] 95 | match s3_bucket [INFO] [stdout] | _______________^ [INFO] [stdout] 96 | | .unwrap() [INFO] [stdout] 97 | | .clone() [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/storage/local.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 319 | let mut file = match File::create(self.get_doc_path(file_uuid.clone())) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | Ok(f) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | match file.write_all(json_doc.as_bytes()) { [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/storage/s3.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 157 | content: StreamingBody, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | ) -> Result { [INFO] [stdout] 159 | let s3_client = S3Client::new(Region::UsEast1); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let req = PutObjectRequest { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | match rt.block_on(s3_client.put_object(req)) { [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daas` (lib test) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e940297082c5670cecc38c3f416f75fd82aa4ebb9deb3e5501f0c92a1039793b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e940297082c5670cecc38c3f416f75fd82aa4ebb9deb3e5501f0c92a1039793b", kill_on_drop: false }` [INFO] [stdout] e940297082c5670cecc38c3f416f75fd82aa4ebb9deb3e5501f0c92a1039793b