[INFO] cloning repository https://github.com/LOKESH-999/cad_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LOKESH-999/cad_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Fcad_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Fcad_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d3c2bc299f4f555928c78c0138230338c1d4477 [INFO] checking LOKESH-999/cad_backend/6d3c2bc299f4f555928c78c0138230338c1d4477 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%2FLOKESH-999%2Fcad_backend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LOKESH-999/cad_backend 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/LOKESH-999/cad_backend [INFO] finished tweaking git repo https://github.com/LOKESH-999/cad_backend [INFO] tweaked toml for git repo https://github.com/LOKESH-999/cad_backend written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LOKESH-999/cad_backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26791cbcbd49c5b256dda215466cc6c47186a03dba6feb7b7b4944050c64e78 [INFO] running `Command { std: "docker" "start" "-a" "c26791cbcbd49c5b256dda215466cc6c47186a03dba6feb7b7b4944050c64e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26791cbcbd49c5b256dda215466cc6c47186a03dba6feb7b7b4944050c64e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26791cbcbd49c5b256dda215466cc6c47186a03dba6feb7b7b4944050c64e78", kill_on_drop: false }` [INFO] [stdout] c26791cbcbd49c5b256dda215466cc6c47186a03dba6feb7b7b4944050c64e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53a0a0b87f65c88718c0d46ee0e2ce00a380cbd5257e4d9fd686b5e86d2aea8f [INFO] running `Command { std: "docker" "start" "-a" "53a0a0b87f65c88718c0d46ee0e2ce00a380cbd5257e4d9fd686b5e86d2aea8f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling mysqlclient-sys v0.4.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking diesel v2.2.3 [INFO] [stderr] Checking dbt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Nullable>)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::max` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::dsl::max; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::BigInt` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::sql_types::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `order_status` [INFO] [stdout] --> src/main.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema::{status,order_status}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_query` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use diesel::sql_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::sql` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use diesel::dsl::sql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Integer` [INFO] [stdout] --> src/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | use diesel::sql_types::{Unsigned, Integer,TinyInt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::max` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::dsl::max; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::BigInt` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::sql_types::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `order_status` [INFO] [stdout] --> src/main.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema::{status,order_status}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_query` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use diesel::sql_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::sql` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use diesel::dsl::sql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Integer` [INFO] [stdout] --> src/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | use diesel::sql_types::{Unsigned, Integer,TinyInt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut x = establish_conn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let c=db::CONN.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inserted_status` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let inserted_status: model::Status = status::table [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inserted_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut x = establish_conn(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Status` should have a snake case name [INFO] [stdout] --> src/model.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub Status:u8, // Corresponds to INT UNSIGNED [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_status_catagory(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | match diesel::insert_into(status::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 43 | | .values( [INFO] [stdout] 44 | | Status{ [INFO] [stdout] 45 | | id:None, [INFO] [stdout] 46 | | status1:name [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | ).execute(&mut *conn){ [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/db.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_package_catagory(conn:Arc>,liter:f32)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | match diesel::insert_into(package_cat::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 63 | | .values( [INFO] [stdout] 64 | | PackageCat{ [INFO] [stdout] 65 | | id:None, [INFO] [stdout] 66 | | liter:liter [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | ).execute(&mut *conn){ [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/db.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn add_product_catogory(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | match diesel::insert_into(product_cat::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 82 | | .values( [INFO] [stdout] 83 | | ProductCat{ [INFO] [stdout] 84 | | id:None, [INFO] [stdout] 85 | | name:name [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | ).execute(&mut *conn){ [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/db.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn add_order_details(conn:Arc>,product_id:u8,package_id:u8,quantity:u32,total:f32,order_id:u64,date:NaiveDa... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | match diesel::insert_into(order_details::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 111 | | .values(val) [INFO] [stdout] 112 | | .execute(&mut *conn){ [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/db.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn add_order_status(conn:Arc>,status_id:u8,order_id:u64,date_time:NaiveDateTime)->Result [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/db.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add_orders(conn:Arc>,shipping_id:Option,cid:u64,payment_id:u64,order_status_id:u64,order_status:u8,... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | match diesel::insert_into(orders::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 158 | | .values(val) [INFO] [stdout] 159 | | .execute(&mut *conn){ [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/db.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn add_payments(conn:Arc>,method:u8,order_id:u64,status_id:u8,transfer_id:String)->Result [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/db.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn add_payment_method(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | match diesel::insert_into(payment_method::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 195 | | .values(PaymentMethod{ [INFO] [stdout] 196 | | id:None, [INFO] [stdout] 197 | | name:name [INFO] [stdout] 198 | | }) [INFO] [stdout] 199 | | .execute(&mut *conn){ [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/db.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn add_shipping_details(conn:Arc>,carrier:String,trackin_id:String,eda:NaiveDate,cost:f32,address:String,or... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | match diesel::insert_into(shipping_details::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 223 | | .values(val) [INFO] [stdout] 224 | | .execute(&mut *conn){ [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/db.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn add_status_detail(conn:Arc>,status_id:u8,time_stamp:NaiveDateTime,order_id:u64)->Result [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/db.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn add_pp_price(conn:Arc>,product_id:u8,package_id:u8,price:f32)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let ppid=product_id as u32*100+package_id as u32; [INFO] [stdout] 258 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | match diesel::insert_into(prices::table). [INFO] [stdout] | ___________^ [INFO] [stdout] 260 | | values(Price{ [INFO] [stdout] 261 | | ppid:ppid, [INFO] [stdout] 262 | | cost:price [INFO] [stdout] 263 | | }).execute(&mut *conn) { [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/spinlock.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | SpinLock { [INFO] [stdout] 22 | data: UnsafeCell::new(data), [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 12 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbt` (bin "dbt" test) due to 13 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut x = establish_conn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let c=db::CONN.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inserted_status` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let inserted_status: model::Status = status::table [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inserted_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut x = establish_conn(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Status` should have a snake case name [INFO] [stdout] --> src/model.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub Status:u8, // Corresponds to INT UNSIGNED [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_status_catagory(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | match diesel::insert_into(status::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 43 | | .values( [INFO] [stdout] 44 | | Status{ [INFO] [stdout] 45 | | id:None, [INFO] [stdout] 46 | | status1:name [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | ).execute(&mut *conn){ [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/db.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_package_catagory(conn:Arc>,liter:f32)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | match diesel::insert_into(package_cat::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 63 | | .values( [INFO] [stdout] 64 | | PackageCat{ [INFO] [stdout] 65 | | id:None, [INFO] [stdout] 66 | | liter:liter [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | ).execute(&mut *conn){ [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/db.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn add_product_catogory(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | match diesel::insert_into(product_cat::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 82 | | .values( [INFO] [stdout] 83 | | ProductCat{ [INFO] [stdout] 84 | | id:None, [INFO] [stdout] 85 | | name:name [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | ).execute(&mut *conn){ [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/db.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn add_order_details(conn:Arc>,product_id:u8,package_id:u8,quantity:u32,total:f32,order_id:u64,date:NaiveDa... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | match diesel::insert_into(order_details::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 111 | | .values(val) [INFO] [stdout] 112 | | .execute(&mut *conn){ [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/db.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn add_order_status(conn:Arc>,status_id:u8,order_id:u64,date_time:NaiveDateTime)->Result [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/db.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add_orders(conn:Arc>,shipping_id:Option,cid:u64,payment_id:u64,order_status_id:u64,order_status:u8,... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | match diesel::insert_into(orders::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 158 | | .values(val) [INFO] [stdout] 159 | | .execute(&mut *conn){ [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/db.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn add_payments(conn:Arc>,method:u8,order_id:u64,status_id:u8,transfer_id:String)->Result [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/db.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn add_payment_method(conn:Arc>,name:String)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | match diesel::insert_into(payment_method::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 195 | | .values(PaymentMethod{ [INFO] [stdout] 196 | | id:None, [INFO] [stdout] 197 | | name:name [INFO] [stdout] 198 | | }) [INFO] [stdout] 199 | | .execute(&mut *conn){ [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/db.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn add_shipping_details(conn:Arc>,carrier:String,trackin_id:String,eda:NaiveDate,cost:f32,address:String,or... [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | match diesel::insert_into(shipping_details::table) [INFO] [stdout] | ___________^ [INFO] [stdout] 223 | | .values(val) [INFO] [stdout] 224 | | .execute(&mut *conn){ [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/db.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn add_status_detail(conn:Arc>,status_id:u8,time_stamp:NaiveDateTime,order_id:u64)->Result [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/db.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn add_pp_price(conn:Arc>,product_id:u8,package_id:u8,price:f32)->Result{ [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let ppid=product_id as u32*100+package_id as u32; [INFO] [stdout] 258 | let mut conn=conn.lock(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | match diesel::insert_into(prices::table). [INFO] [stdout] | ___________^ [INFO] [stdout] 260 | | values(Price{ [INFO] [stdout] 261 | | ppid:ppid, [INFO] [stdout] 262 | | cost:price [INFO] [stdout] 263 | | }).execute(&mut *conn) { [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/spinlock.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | SpinLock { [INFO] [stdout] 22 | data: UnsafeCell::new(data), [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 12 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbt` (bin "dbt") due to 13 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53a0a0b87f65c88718c0d46ee0e2ce00a380cbd5257e4d9fd686b5e86d2aea8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a0a0b87f65c88718c0d46ee0e2ce00a380cbd5257e4d9fd686b5e86d2aea8f", kill_on_drop: false }` [INFO] [stdout] 53a0a0b87f65c88718c0d46ee0e2ce00a380cbd5257e4d9fd686b5e86d2aea8f