[INFO] cloning repository https://github.com/DAC098/rust-file-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DAC098/rust-file-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eccd01f018f1ec4bf2d3ff58ee0639f09e491c1c [INFO] checking DAC098/rust-file-server/eccd01f018f1ec4bf2d3ff58ee0639f09e491c1c 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%2FDAC098%2Frust-file-server" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DAC098/rust-file-server 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/DAC098/rust-file-server [INFO] finished tweaking git repo https://github.com/DAC098/rust-file-server [INFO] tweaked toml for git repo https://github.com/DAC098/rust-file-server written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DAC098/rust-file-server 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 199eabc5674bab420092a902d30f3f720652fb0c5396356a5e0adb914b505a7c [INFO] running `Command { std: "docker" "start" "-a" "199eabc5674bab420092a902d30f3f720652fb0c5396356a5e0adb914b505a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "199eabc5674bab420092a902d30f3f720652fb0c5396356a5e0adb914b505a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199eabc5674bab420092a902d30f3f720652fb0c5396356a5e0adb914b505a7c", kill_on_drop: false }` [INFO] [stdout] 199eabc5674bab420092a902d30f3f720652fb0c5396356a5e0adb914b505a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f06fa972614ebf4f8fba111667d0d9ac19a228ef0a654654aaa488444a636284 [INFO] running `Command { std: "docker" "start" "-a" "f06fa972614ebf4f8fba111667d0d9ac19a228ef0a654654aaa488444a636284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking phf v0.10.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking inotify v0.9.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking shape-rs v0.1.0 (https://github.com/dac098/shape-rs#a26c0920) [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking urlencoding v2.1.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking postgres-protocol v0.6.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking otp v0.1.0 (/opt/rustwide/workdir/otp) [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking bb8 v0.7.1 [INFO] [stderr] Checking tokio-tar v0.3.0 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking notify v5.0.0-pre.13 [INFO] [stderr] Checking handlebars v4.1.4 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking tokio-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking bb8-postgres v0.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking rust-file-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `enable`, `from`, `username`, `password`, and `relay` are never read [INFO] [stdout] --> src/config/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub relay: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secure`, `origin`, and `name` are never read [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ServerInfoConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | pub origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerInfoConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable`, `key`, and `cert` are never read [INFO] [stdout] --> src/config/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SslConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 137 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | pub cert: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SslConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable` is never read [INFO] [stdout] --> src/config/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct WatcherConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 164 | pub enable: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WatcherConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret` is never read [INFO] [stdout] --> src/config/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct SecurityConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 267 | pub secret: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 292 | pub threads: usize, [INFO] [stdout] 293 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 294 | pub max_connection_rate: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub email: EmailConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | pub info: ServerInfoConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] 299 | pub ssl: SslConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | pub template: TemplateConfig, [INFO] [stdout] 301 | pub watcher: WatcherConfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 302 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/record/users.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvalidAlgorithm(i16); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:73:17 [INFO] [stdout] | [INFO] [stdout] 67 | let rt = tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | rt.block_on(main_runtime(conf, rt.handle().clone())) [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] | [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/config/shape.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] 271 + let mut with_root = conf_dir.to_owned(); [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/http/error.rs:39:73 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(status: u16, name: N, msg: M) -> Error [INFO] [stdout] | ------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Error { status, name: name.into(), message: msg.into(), source: None } [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/http/error.rs:48:73 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_source(status: u16, name: N, msg: M, source: S) -> Error [INFO] [stdout] | ------- ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 48 | Error { status, name: name.into(), message: msg.into(), source: Some(source.into()) } [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/http/response.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(status: S) -> JsonResponseBuilder [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | builder: build().status(status), [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/http/response.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn payload_response(self, payload: T) -> error::Result [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | / self.builder.header("content-type", "application/json") [INFO] [stdout] 113 | | .body(serde_json::to_vec(&json)?.into()) [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/http/response.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn response(self) -> error::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / self.builder.header("content-type", "application/json") [INFO] [stdout] 128 | | .body(serde_json::to_vec(&json)?.into()) [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/http/response.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn redirect_response

(new_path: P) -> error::Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | / build() [INFO] [stdout] 160 | | .status(302) [INFO] [stdout] 161 | | .header("location", new_path) [INFO] [stdout] 162 | | .body(Body::empty()) [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/template/shared_state.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(hb: Handlebars<'a>) -> ArcTemplateState<'a> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Arc::new(TemplateState { hb }) [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/event.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 65 | let db = state.db.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | error_wrapper(async move { [INFO] [stdout] | ___________________^ [INFO] [stdout] 68 | | let conn = db.pool.get().await?; [INFO] [stdout] 69 | | let result = conn.query( [INFO] [stdout] 70 | | "\ [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }) [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/event.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 108 | let db = state.db.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | error_wrapper(async move { [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | let conn = db.pool.get().await?; [INFO] [stdout] 112 | | let result = conn.query( [INFO] [stdout] 113 | | "\ [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(()) [INFO] [stdout] 150 | | }) [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/components/html.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn response_index_html_parts(template: ArcTemplateState) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(build() [INFO] [stdout] | ________^ [INFO] [stdout] 36 | | .status(200) [INFO] [stdout] 37 | | .header("content-type", "text/html") [INFO] [stdout] 38 | | .body(render.into())?) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________| [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/routing/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn testing_response(req: Request) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | / JsonResponseBuilder::new(200) [INFO] [stdout] 55 | | .set_message("testing response") [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/routing/mod.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut connection = self.connection.clone(); [INFO] [stdout] 197 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | [INFO] [stdout] 199 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | if let Some(ip_header) = copy_header_value(req.headers(), "x-forwarded-for") { [INFO] [stdout] 201 | | let ip_str = ip_header.map_err(|v| Error::from(v))?; [INFO] [stdout] ... | [INFO] [stdout] 210 | | Self::handle_route(state, req).await [INFO] [stdout] 211 | | }) [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/routing/mod.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 195 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut connection = self.connection.clone(); [INFO] [stdout] 197 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Self::handle_route(state, req).await [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/routing/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 235 | let router = Router { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let svc = ServiceBuilder::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 246 | | Ok(svc) [INFO] [stdout] 247 | | }) [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/routing/layer/log.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn call(&mut self, req: http::Request) -> Self::Future { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let future = self.inner.call(req); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | let response = future.await; [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | if let Some(info) = info { [INFO] [stdout] ... | [INFO] [stdout] 112 | | response [INFO] [stdout] 113 | | }) [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/routing/layer/error.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn call(&mut self, req: http::Request) -> Self::Future { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let fut = self.inner.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 52 | | let result = fut.await; [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | if let Err(error) = result.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable`, `from`, `username`, `password`, and `relay` are never read [INFO] [stdout] --> src/config/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub relay: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secure`, `origin`, and `name` are never read [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ServerInfoConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | pub origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerInfoConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable`, `key`, and `cert` are never read [INFO] [stdout] --> src/config/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SslConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 137 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | pub cert: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SslConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable` is never read [INFO] [stdout] --> src/config/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct WatcherConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 164 | pub enable: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WatcherConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret` is never read [INFO] [stdout] --> src/config/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct SecurityConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 267 | pub secret: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 292 | pub threads: usize, [INFO] [stdout] 293 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 294 | pub max_connection_rate: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub email: EmailConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | pub info: ServerInfoConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] 299 | pub ssl: SslConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | pub template: TemplateConfig, [INFO] [stdout] 301 | pub watcher: WatcherConfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 302 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/record/users.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvalidAlgorithm(i16); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:73:17 [INFO] [stdout] | [INFO] [stdout] 67 | let rt = tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | rt.block_on(main_runtime(conf, rt.handle().clone())) [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] | [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/config/shape.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] 271 + let mut with_root = conf_dir.to_owned(); [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/http/error.rs:39:73 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(status: u16, name: N, msg: M) -> Error [INFO] [stdout] | ------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Error { status, name: name.into(), message: msg.into(), source: None } [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/http/error.rs:48:73 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_source(status: u16, name: N, msg: M, source: S) -> Error [INFO] [stdout] | ------- ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 48 | Error { status, name: name.into(), message: msg.into(), source: Some(source.into()) } [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/http/response.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(status: S) -> JsonResponseBuilder [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | builder: build().status(status), [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/http/response.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn payload_response(self, payload: T) -> error::Result [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | / self.builder.header("content-type", "application/json") [INFO] [stdout] 113 | | .body(serde_json::to_vec(&json)?.into()) [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/http/response.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn response(self) -> error::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / self.builder.header("content-type", "application/json") [INFO] [stdout] 128 | | .body(serde_json::to_vec(&json)?.into()) [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/http/response.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn redirect_response

(new_path: P) -> error::Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | / build() [INFO] [stdout] 160 | | .status(302) [INFO] [stdout] 161 | | .header("location", new_path) [INFO] [stdout] 162 | | .body(Body::empty()) [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 17 previous errors; 8 warnings emitted [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/template/shared_state.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(hb: Handlebars<'a>) -> ArcTemplateState<'a> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Arc::new(TemplateState { hb }) [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/event.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 65 | let db = state.db.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | error_wrapper(async move { [INFO] [stdout] | ___________________^ [INFO] [stdout] 68 | | let conn = db.pool.get().await?; [INFO] [stdout] 69 | | let result = conn.query( [INFO] [stdout] 70 | | "\ [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | }) [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/event.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 108 | let db = state.db.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | error_wrapper(async move { [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | let conn = db.pool.get().await?; [INFO] [stdout] 112 | | let result = conn.query( [INFO] [stdout] 113 | | "\ [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(()) [INFO] [stdout] 150 | | }) [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/components/html.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn response_index_html_parts(template: ArcTemplateState) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(build() [INFO] [stdout] | ________^ [INFO] [stdout] 36 | | .status(200) [INFO] [stdout] 37 | | .header("content-type", "text/html") [INFO] [stdout] 38 | | .body(render.into())?) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________| [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/routing/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn testing_response(req: Request) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | / JsonResponseBuilder::new(200) [INFO] [stdout] 55 | | .set_message("testing response") [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/routing/mod.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut connection = self.connection.clone(); [INFO] [stdout] 197 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | [INFO] [stdout] 199 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | if let Some(ip_header) = copy_header_value(req.headers(), "x-forwarded-for") { [INFO] [stdout] 201 | | let ip_str = ip_header.map_err(|v| Error::from(v))?; [INFO] [stdout] ... | [INFO] [stdout] 210 | | Self::handle_route(state, req).await [INFO] [stdout] 211 | | }) [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/routing/mod.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 195 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut connection = self.connection.clone(); [INFO] [stdout] 197 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Self::handle_route(state, req).await [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/routing/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 235 | let router = Router { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let svc = ServiceBuilder::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 246 | | Ok(svc) [INFO] [stdout] 247 | | }) [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/routing/layer/log.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn call(&mut self, req: http::Request) -> Self::Future { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let future = self.inner.call(req); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | let response = future.await; [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | if let Some(info) = info { [INFO] [stdout] ... | [INFO] [stdout] 112 | | response [INFO] [stdout] 113 | | }) [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/routing/layer/error.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn call(&mut self, req: http::Request) -> Self::Future { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let fut = self.inner.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 52 | | let result = fut.await; [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | if let Err(error) = result.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | }) [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] [stderr] error: could not compile `rust-file-server` (bin "rust-file-server") due to 18 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-file-server` (bin "rust-file-server" test) due to 18 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f06fa972614ebf4f8fba111667d0d9ac19a228ef0a654654aaa488444a636284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06fa972614ebf4f8fba111667d0d9ac19a228ef0a654654aaa488444a636284", kill_on_drop: false }` [INFO] [stdout] f06fa972614ebf4f8fba111667d0d9ac19a228ef0a654654aaa488444a636284