[INFO] cloning repository https://github.com/Efimish/rust-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Efimish/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEfimish%2Frust-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEfimish%2Frust-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff9c96cea7235358510b0c94530e5c54d49c68f4 [INFO] checking Efimish/rust-webserver/ff9c96cea7235358510b0c94530e5c54d49c68f4 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%2FEfimish%2Frust-webserver" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Efimish/rust-webserver 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/Efimish/rust-webserver [INFO] finished tweaking git repo https://github.com/Efimish/rust-webserver [INFO] tweaked toml for git repo https://github.com/Efimish/rust-webserver written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Efimish/rust-webserver 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6631d1d8ff7a4e14a0407d6366f8b7091f4cd415918bab44613089fe62f70a31 [INFO] running `Command { std: "docker" "start" "-a" "6631d1d8ff7a4e14a0407d6366f8b7091f4cd415918bab44613089fe62f70a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6631d1d8ff7a4e14a0407d6366f8b7091f4cd415918bab44613089fe62f70a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6631d1d8ff7a4e14a0407d6366f8b7091f4cd415918bab44613089fe62f70a31", kill_on_drop: false }` [INFO] [stdout] 6631d1d8ff7a4e14a0407d6366f8b7091f4cd415918bab44613089fe62f70a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b9bfaea0a9905f2f439d771e2d1ef9d3871661085f8c7f1711790a4c03062b09 [INFO] running `Command { std: "docker" "start" "-a" "b9bfaea0a9905f2f439d771e2d1ef9d3871661085f8c7f1711790a4c03062b09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.85 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking pem v3.0.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_yaml v0.9.30 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking uaparser v0.6.3 [INFO] [stderr] Checking sqlformat v0.2.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking webserver v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `user_session::*` [INFO] [stdout] --> src/models/database_models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user_session::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/models/http_models.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_session::*` [INFO] [stdout] --> src/models/database_models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user_session::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/models/http_models.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, `password`, `display_name`, and `status` are never read [INFO] [stdout] --> src/models/http_models/user.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EditUserBody { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | pub status: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HttpErrorContext` is never used [INFO] [stdout] --> src/http.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait HttpErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_constraint` is never used [INFO] [stdout] --> src/http/error.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 191 | fn on_constraint( [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/models/timestamptz.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | serializer.collect_str(&self.0.format(&Rfc3339).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/models/http_models/auth.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | static USERNAME_REGEX: Lazy = Lazy::new(|| Regex::new(r"^\w+$").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn http_context(self, error: HttpError) -> HttpResult { [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] 21 | self.map_err(|_| error) [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:207:22 [INFO] [stdout] | [INFO] [stdout] 203 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | name: &str, [INFO] [stdout] 205 | map_err: impl FnOnce(Box) -> HttpError [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | ) -> HttpResult { [INFO] [stdout] 207 | self.map_err(|e| match e.into() { [INFO] [stdout] | ______________________^ [INFO] [stdout] 208 | | HttpError::Sqlx(sqlx::Error::Database(dbe)) if dbe.constraint() == Some(name) => { [INFO] [stdout] 209 | | map_err(dbe) [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | e => e, [INFO] [stdout] 212 | | }) [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:207:32 [INFO] [stdout] | [INFO] [stdout] 205 | map_err: impl FnOnce(Box) -> HttpError [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | ) -> HttpResult { [INFO] [stdout] 207 | self.map_err(|e| match e.into() { [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, `password`, `display_name`, and `status` are never read [INFO] [stdout] --> src/models/http_models/user.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EditUserBody { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | pub status: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HttpErrorContext` is never used [INFO] [stdout] --> src/http.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait HttpErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_constraint` is never used [INFO] [stdout] --> src/http/error.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 191 | fn on_constraint( [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/extractors/validated_json.rs:31:88 [INFO] [stdout] | [INFO] [stdout] 31 | async fn from_request(req: Request, _s: &S) -> Result { [INFO] [stdout] | ___________________________------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | | let Json(data) = Json::::from_request(req, _s) [INFO] [stdout] 33 | | .await [INFO] [stdout] 34 | | .map_err(|e| HttpError::bad_request(e.body_text()))?; [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(Self(data)) [INFO] [stdout] 39 | | } [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/models/timestamptz.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | serializer.collect_str(&self.0.format(&Rfc3339).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/models/http_models/auth.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | static USERNAME_REGEX: Lazy = Lazy::new(|| Regex::new(r"^\w+$").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/keys.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) static KEY_PAIR: Lazy = Lazy::new(|| RsaKeyPair::get("keys").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/keys.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | let private_key = RsaPrivateKey::read_pkcs8_pem_file(&private_key_file) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | .context("failed to read private key")?; [INFO] [stdout] 69 | let public_key = RsaPublicKey::read_public_key_pem_file(&public_key_file) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self{ [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | private: private_key, [INFO] [stdout] 74 | | public: public_key [INFO] [stdout] 75 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn http_context(self, error: HttpError) -> HttpResult { [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] 21 | self.map_err(|_| error) [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/utils/tokens.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | let key = KEY_PAIR.private.to_pkcs8_pem(LineEnding::default()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | EncodingKey::from_rsa_pem(key.as_bytes()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:207:22 [INFO] [stdout] | [INFO] [stdout] 203 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | name: &str, [INFO] [stdout] 205 | map_err: impl FnOnce(Box) -> HttpError [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | ) -> HttpResult { [INFO] [stdout] 207 | self.map_err(|e| match e.into() { [INFO] [stdout] | ______________________^ [INFO] [stdout] 208 | | HttpError::Sqlx(sqlx::Error::Database(dbe)) if dbe.constraint() == Some(name) => { [INFO] [stdout] 209 | | map_err(dbe) [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | e => e, [INFO] [stdout] 212 | | }) [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:207:32 [INFO] [stdout] | [INFO] [stdout] 205 | map_err: impl FnOnce(Box) -> HttpError [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | ) -> HttpResult { [INFO] [stdout] 207 | self.map_err(|e| match e.into() { [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/extractors/validated_json.rs:31:88 [INFO] [stdout] | [INFO] [stdout] 31 | async fn from_request(req: Request, _s: &S) -> Result { [INFO] [stdout] | ___________________________------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | | let Json(data) = Json::::from_request(req, _s) [INFO] [stdout] 33 | | .await [INFO] [stdout] 34 | | .map_err(|e| HttpError::bad_request(e.body_text()))?; [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(Self(data)) [INFO] [stdout] 39 | | } [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/utils/keys.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) static KEY_PAIR: Lazy = Lazy::new(|| RsaKeyPair::get("keys").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/keys.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | let private_key = RsaPrivateKey::read_pkcs8_pem_file(&private_key_file) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | .context("failed to read private key")?; [INFO] [stdout] 69 | let public_key = RsaPublicKey::read_public_key_pem_file(&public_key_file) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self{ [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | private: private_key, [INFO] [stdout] 74 | | public: public_key [INFO] [stdout] 75 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/tokens.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | let key = KEY_PAIR.private.to_pkcs8_pem(LineEnding::default()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | EncodingKey::from_rsa_pem(key.as_bytes()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webserver` (lib) due to 10 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `webserver` (lib test) due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b9bfaea0a9905f2f439d771e2d1ef9d3871661085f8c7f1711790a4c03062b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bfaea0a9905f2f439d771e2d1ef9d3871661085f8c7f1711790a4c03062b09", kill_on_drop: false }` [INFO] [stdout] b9bfaea0a9905f2f439d771e2d1ef9d3871661085f8c7f1711790a4c03062b09