[INFO] cloning repository https://github.com/cyobero/drosmokers-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyobero/drosmokers-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyobero%2Fdrosmokers-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyobero%2Fdrosmokers-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68916fbb8ea61e0d6082bdfa9bc564f4962fd171 [INFO] checking cyobero/drosmokers-api/68916fbb8ea61e0d6082bdfa9bc564f4962fd171 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%2Fcyobero%2Fdrosmokers-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyobero/drosmokers-api 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/cyobero/drosmokers-api [INFO] finished tweaking git repo https://github.com/cyobero/drosmokers-api [INFO] tweaked toml for git repo https://github.com/cyobero/drosmokers-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cyobero/drosmokers-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b20ef530b87251ff83d619859fdf75009a6e747cbe85c68bda0fe3c7460cbb19 [INFO] running `Command { std: "docker" "start" "-a" "b20ef530b87251ff83d619859fdf75009a6e747cbe85c68bda0fe3c7460cbb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b20ef530b87251ff83d619859fdf75009a6e747cbe85c68bda0fe3c7460cbb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20ef530b87251ff83d619859fdf75009a6e747cbe85c68bda0fe3c7460cbb19", kill_on_drop: false }` [INFO] [stdout] b20ef530b87251ff83d619859fdf75009a6e747cbe85c68bda0fe3c7460cbb19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c5437b05b96cf1edad2a7dda70d80243dced42190e04aa2e272cae2b8c848b0 [INFO] running `Command { std: "docker" "start" "-a" "3c5437b05b96cf1edad2a7dda70d80243dced42190e04aa2e272cae2b8c848b0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking tracing-core v0.1.25 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking drosmokers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cbd_content`, `final_test_date`, `grower_id`, `harvest_date`, `id as bid`, `package_date`, `strain_id`, and `thc_content` [INFO] [stdout] --> src/db.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | batches, cbd_content, final_test_date, grower_id, harvest_date, id as bid, package_date, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 4 | strain_id, thc_content, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name as grower_name` [INFO] [stdout] --> src/db.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use super::schema::growers::dsl::{growers, id as gid, name as grower_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name` [INFO] [stdout] --> src/db.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use super::schema::strains::dsl::{id as sid, name, species, strains}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queryable` [INFO] [stdout] --> src/db.rs:16:74 [INFO] [stdout] | [INFO] [stdout] 16 | sql_query, Connection, ConnectionError, ExpressionMethods, QueryDsl, Queryable, RunQueryDsl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id as gid` [INFO] [stdout] --> src/handlers.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use super::schema::growers::dsl::{growers, id as gid}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id as sid` [INFO] [stdout] --> src/handlers.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use super::schema::strains::dsl::{id as sid, strains}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExpressionMethods` [INFO] [stdout] --> src/handlers.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::{ExpressionMethods, QueryDsl, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_query` [INFO] [stdout] --> src/handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::sql_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/handlers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/handlers.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::deserialize::FromSql` [INFO] [stdout] --> src/models.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::deserialize::FromSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryDsl` and `RunQueryDsl` [INFO] [stdout] --> src/models.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::{QueryDsl, Queryable, QueryableByName, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cbd_content`, `final_test_date`, `grower_id`, `harvest_date`, `id as bid`, `package_date`, `strain_id`, and `thc_content` [INFO] [stdout] --> src/db.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | batches, cbd_content, final_test_date, grower_id, harvest_date, id as bid, package_date, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 4 | strain_id, thc_content, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name as grower_name` [INFO] [stdout] --> src/db.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use super::schema::growers::dsl::{growers, id as gid, name as grower_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `name` [INFO] [stdout] --> src/db.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use super::schema::strains::dsl::{id as sid, name, species, strains}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id as gid` [INFO] [stdout] --> src/handlers.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use super::schema::growers::dsl::{growers, id as gid}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id as sid` [INFO] [stdout] --> src/handlers.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use super::schema::strains::dsl::{id as sid, strains}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExpressionMethods` [INFO] [stdout] --> src/handlers.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::{ExpressionMethods, QueryDsl, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_query` [INFO] [stdout] --> src/handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::sql_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/handlers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/handlers.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpServer}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::deserialize::FromSql` [INFO] [stdout] --> src/models.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::deserialize::FromSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryDsl` and `RunQueryDsl` [INFO] [stdout] --> src/models.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::{QueryDsl, Queryable, QueryableByName, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exports::*` [INFO] [stdout] --> src/schema.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::exports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpServer}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queryable` [INFO] [stdout] --> src/db.rs:16:74 [INFO] [stdout] | [INFO] [stdout] 16 | sql_query, Connection, ConnectionError, ExpressionMethods, QueryDsl, Queryable, RunQueryDsl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grower` [INFO] [stdout] --> src/db.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let grower = new.create(&conn); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id`, `FinalTestDate`, `PackageDate`, `THCContent`, and `CBDContent` are never constructed [INFO] [stdout] --> src/db.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum BatchField<'b> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 23 | Id(i32), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 27 | FinalTestDate(NaiveDate), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | PackageDate(NaiveDate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | THCContent(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | CBDContent(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BatchField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/db.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GrowerField { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 37 | Id(I), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowerField` has derived impls for the traits `Clone` and `Debug`, but these are 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:39:9 [INFO] [stdout] | [INFO] [stdout] 31 | let pool = r2d2::Pool::builder() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | / App::new() [INFO] [stdout] 40 | | .data(pool.clone()) [INFO] [stdout] 41 | | .service(get_strains_by_id) [INFO] [stdout] 42 | | .service(post_new_strain) [INFO] [stdout] ... | [INFO] [stdout] 48 | | .service(get_all_batches) [INFO] [stdout] 49 | | .service(get_batches_by_strain_id) [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/handlers.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | HttpResponse::InternalServerError() [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/handlers.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|g| HttpResponse::Ok().json(json!({ "data": g, "status code": 201 }))) [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/handlers.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | HttpResponse::InternalServerError() [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/handlers.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | HttpResponse::InternalServerError() [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/handlers.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | HttpResponse::NotFound().json(json!({"message": e.to_string(), "status code": 404 })) [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/handlers.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 123 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | HttpResponse::InternalServerError() [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/handlers.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|b| HttpResponse::Ok().json(json!({ "data": b, "status code": 201 }))) [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/handlers.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 136 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | HttpResponse::InternalServerError() [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/handlers.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | HttpResponse::InternalServerError() [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/handlers.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | .map(|s| HttpResponse::Ok().json(json!({ "data": s, "status code": 201 }))) [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/handlers.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 165 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | HttpResponse::InternalServerError() [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/handlers.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 177 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | HttpResponse::NotFound().json(json!({"message": e.to_string(), "status code": 404 })) [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/handlers.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 194 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | HttpResponse::InternalServerError() [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.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, DbEnum, Deserialize, Serialize, PartialEq)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/db.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum BatchField<'b> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 23 | Id(i32), [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Strain(&'b str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | StrainID(i32), [INFO] [stdout] 26 | HarvestDate(NaiveDate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | FinalTestDate(NaiveDate), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | PackageDate(NaiveDate), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | GrowerID(i32), [INFO] [stdout] 30 | Grower(&'b str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | THCContent(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | CBDContent(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BatchField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/db.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GrowerField { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 37 | Id(I), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowerField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/db.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum StrainField { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 43 | Id(I), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrainField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_connection` is never used [INFO] [stdout] --> src/db.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn establish_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/db.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Deletable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn delete(&self, conn: &C) -> Result; [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/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 31 | let pool = r2d2::Pool::builder() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | / App::new() [INFO] [stdout] 40 | | .data(pool.clone()) [INFO] [stdout] 41 | | .service(get_strains_by_id) [INFO] [stdout] 42 | | .service(post_new_strain) [INFO] [stdout] ... | [INFO] [stdout] 48 | | .service(get_all_batches) [INFO] [stdout] 49 | | .service(get_batches_by_strain_id) [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/handlers.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | HttpResponse::InternalServerError() [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/handlers.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|g| HttpResponse::Ok().json(json!({ "data": g, "status code": 201 }))) [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/handlers.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | HttpResponse::InternalServerError() [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/handlers.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | HttpResponse::InternalServerError() [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/handlers.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | HttpResponse::NotFound().json(json!({"message": e.to_string(), "status code": 404 })) [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/handlers.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 123 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | HttpResponse::InternalServerError() [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/handlers.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|b| HttpResponse::Ok().json(json!({ "data": b, "status code": 201 }))) [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/handlers.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 136 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | HttpResponse::InternalServerError() [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/handlers.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | HttpResponse::InternalServerError() [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/handlers.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | .map(|s| HttpResponse::Ok().json(json!({ "data": s, "status code": 201 }))) [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/handlers.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 165 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | HttpResponse::InternalServerError() [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/handlers.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | .map(|res| HttpResponse::Ok().json(json!({ "data": res, "status code": 200 }))) [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/handlers.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 177 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | HttpResponse::NotFound().json(json!({"message": e.to_string(), "status code": 404 })) [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/handlers.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 194 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | HttpResponse::InternalServerError() [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.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, DbEnum, Deserialize, Serialize, PartialEq)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drosmokers` (bin "drosmokers" test) due to 20 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drosmokers` (bin "drosmokers") due to 20 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3c5437b05b96cf1edad2a7dda70d80243dced42190e04aa2e272cae2b8c848b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5437b05b96cf1edad2a7dda70d80243dced42190e04aa2e272cae2b8c848b0", kill_on_drop: false }` [INFO] [stdout] 3c5437b05b96cf1edad2a7dda70d80243dced42190e04aa2e272cae2b8c848b0