[INFO] cloning repository https://github.com/antpard/blog_actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antpard/blog_actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpard%2Fblog_actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpard%2Fblog_actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d3b43fdd58f253e530323a93dcd2aa35ffc0324 [INFO] checking antpard/blog_actix/3d3b43fdd58f253e530323a93dcd2aa35ffc0324 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%2Fantpard%2Fblog_actix" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antpard/blog_actix 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/antpard/blog_actix [INFO] finished tweaking git repo https://github.com/antpard/blog_actix [INFO] tweaked toml for git repo https://github.com/antpard/blog_actix written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/antpard/blog_actix already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1a5853921c5d5effcb2df5be3a73d5c64635a4ff6265e88a9032efa6b1478767 [INFO] running `Command { std: "docker" "start" "-a" "1a5853921c5d5effcb2df5be3a73d5c64635a4ff6265e88a9032efa6b1478767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5853921c5d5effcb2df5be3a73d5c64635a4ff6265e88a9032efa6b1478767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5853921c5d5effcb2df5be3a73d5c64635a4ff6265e88a9032efa6b1478767", kill_on_drop: false }` [INFO] [stdout] 1a5853921c5d5effcb2df5be3a73d5c64635a4ff6265e88a9032efa6b1478767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d8939db49136cbabb86443ba2deedd454a32dce758dc67d30457bb705746bc6b [INFO] running `Command { std: "docker" "start" "-a" "d8939db49136cbabb86443ba2deedd454a32dce758dc67d30457bb705746bc6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking actix-service v0.4.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking actix-rt v0.2.6 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking actix-http v0.2.11 [INFO] [stderr] Checking awc v0.2.8 [INFO] [stderr] Checking actix-web v1.0.9 [INFO] [stderr] Checking blog_actix v0.1.0 (/opt/rustwide/workdir) [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/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 33 | / HttpServer::new(move || { [INFO] [stdout] 34 | | App::new() [INFO] [stdout] 35 | | .data(pool.clone()) [INFO] [stdout] 36 | | .wrap(middleware::Logger::default()) [INFO] [stdout] ... | [INFO] [stdout] 40 | | }) [INFO] [stdout] 41 | | .bind(("127.0.0.1", self.port))? [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/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 34 | / App::new() [INFO] [stdout] 35 | | .data(pool.clone()) [INFO] [stdout] 36 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 37 | | .configure(routes::users::configure) [INFO] [stdout] 38 | | .configure(routes::posts::configure) [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/routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert(res: Result) -> Result [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | res.map(|d| HttpResponse::Ok().json(d)).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | res.map(|d| HttpResponse::Ok().json(d)).map_err(Into::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/routes/comments.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> impl Future { [INFO] [stdout] 19 | / web::block(move || { [INFO] [stdout] 20 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 21 | | let data = comment.into_inner(); [INFO] [stdout] 22 | | let user_id = data.user_id; [INFO] [stdout] 23 | | let body = data.body; [INFO] [stdout] 24 | | models::create_comment(conn, user_id, post_id.into_inner(), body.as_str()) [INFO] [stdout] 25 | | }) [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/routes/comments.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | ) -> impl Future { [INFO] [stdout] 33 | / web::block(move || { [INFO] [stdout] 34 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 35 | | models::post_comments(conn, post_id.into_inner()) [INFO] [stdout] 36 | | }) [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/routes/comments.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> impl Future { [INFO] [stdout] 44 | / web::block(move || { [INFO] [stdout] 45 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 46 | | models::user_comments(conn, user_id.into_inner()) [INFO] [stdout] 47 | | }) [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/routes/posts.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> impl Future { [INFO] [stdout] 19 | / web::block(move || { [INFO] [stdout] 20 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 21 | | let key = models::UserKey::ID(user_id.into_inner()); [INFO] [stdout] 22 | | models::find_user(conn, key).and_then(|user| { [INFO] [stdout] ... | [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | }) [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/routes/posts.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | models::find_user(conn, key).and_then(|user| { [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/routes/posts.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | ) -> impl Future { [INFO] [stdout] 36 | / web::block(move || { [INFO] [stdout] 37 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 38 | | models::publish_post(conn, post_id.into_inner()) [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/routes/posts.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | ) -> impl Future { [INFO] [stdout] 47 | / web::block(move || { [INFO] [stdout] 48 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 49 | | models::user_posts(conn, user_id.into_inner()) [INFO] [stdout] 50 | | }) [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/routes/posts.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn all_posts(pool: web::Data) -> impl Future { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | / web::block(move || { [INFO] [stdout] 56 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 57 | | models::all_posts(conn) [INFO] [stdout] 58 | | }) [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/routes/users.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> impl Future { [INFO] [stdout] 16 | / web::block(move || { [INFO] [stdout] 17 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 18 | | let username = item.into_inner().username; [INFO] [stdout] 19 | | models::create_user(conn, username.as_str()) [INFO] [stdout] 20 | | }) [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/routes/users.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> impl Future { [INFO] [stdout] 28 | / web::block(move || { [INFO] [stdout] 29 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 30 | | let name = name.into_inner(); [INFO] [stdout] 31 | | let key = models::UserKey::Username(name.as_str()); [INFO] [stdout] 32 | | models::find_user(conn, key) [INFO] [stdout] 33 | | }) [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/routes/users.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> impl Future { [INFO] [stdout] 41 | / web::block(move || { [INFO] [stdout] 42 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 43 | | let id = user_id.into_inner(); [INFO] [stdout] 44 | | let key = models::UserKey::ID(id); [INFO] [stdout] 45 | | models::find_user(conn, key) [INFO] [stdout] 46 | | }) [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/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 33 | / HttpServer::new(move || { [INFO] [stdout] 34 | | App::new() [INFO] [stdout] 35 | | .data(pool.clone()) [INFO] [stdout] 36 | | .wrap(middleware::Logger::default()) [INFO] [stdout] ... | [INFO] [stdout] 40 | | }) [INFO] [stdout] 41 | | .bind(("127.0.0.1", self.port))? [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/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 34 | / App::new() [INFO] [stdout] 35 | | .data(pool.clone()) [INFO] [stdout] 36 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 37 | | .configure(routes::users::configure) [INFO] [stdout] 38 | | .configure(routes::posts::configure) [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/routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert(res: Result) -> Result [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | res.map(|d| HttpResponse::Ok().json(d)).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | res.map(|d| HttpResponse::Ok().json(d)).map_err(Into::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/routes/comments.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> impl Future { [INFO] [stdout] 19 | / web::block(move || { [INFO] [stdout] 20 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 21 | | let data = comment.into_inner(); [INFO] [stdout] 22 | | let user_id = data.user_id; [INFO] [stdout] 23 | | let body = data.body; [INFO] [stdout] 24 | | models::create_comment(conn, user_id, post_id.into_inner(), body.as_str()) [INFO] [stdout] 25 | | }) [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/routes/comments.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | ) -> impl Future { [INFO] [stdout] 33 | / web::block(move || { [INFO] [stdout] 34 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 35 | | models::post_comments(conn, post_id.into_inner()) [INFO] [stdout] 36 | | }) [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/routes/comments.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> impl Future { [INFO] [stdout] 44 | / web::block(move || { [INFO] [stdout] 45 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 46 | | models::user_comments(conn, user_id.into_inner()) [INFO] [stdout] 47 | | }) [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/routes/posts.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> impl Future { [INFO] [stdout] 19 | / web::block(move || { [INFO] [stdout] 20 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 21 | | let key = models::UserKey::ID(user_id.into_inner()); [INFO] [stdout] 22 | | models::find_user(conn, key).and_then(|user| { [INFO] [stdout] ... | [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | }) [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/routes/posts.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 17 | pool: web::Data, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | models::find_user(conn, key).and_then(|user| { [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/routes/posts.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | ) -> impl Future { [INFO] [stdout] 36 | / web::block(move || { [INFO] [stdout] 37 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 38 | | models::publish_post(conn, post_id.into_inner()) [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/routes/posts.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | ) -> impl Future { [INFO] [stdout] 47 | / web::block(move || { [INFO] [stdout] 48 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 49 | | models::user_posts(conn, user_id.into_inner()) [INFO] [stdout] 50 | | }) [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/routes/posts.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn all_posts(pool: web::Data) -> impl Future { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | / web::block(move || { [INFO] [stdout] 56 | | let conn: &SqliteConnection = &pool.get().unwrap(); [INFO] [stdout] 57 | | models::all_posts(conn) [INFO] [stdout] 58 | | }) [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/routes/users.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> impl Future { [INFO] [stdout] 16 | / web::block(move || { [INFO] [stdout] 17 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 18 | | let username = item.into_inner().username; [INFO] [stdout] 19 | | models::create_user(conn, username.as_str()) [INFO] [stdout] 20 | | }) [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/routes/users.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> impl Future { [INFO] [stdout] 28 | / web::block(move || { [INFO] [stdout] 29 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 30 | | let name = name.into_inner(); [INFO] [stdout] 31 | | let key = models::UserKey::Username(name.as_str()); [INFO] [stdout] 32 | | models::find_user(conn, key) [INFO] [stdout] 33 | | }) [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/routes/users.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pool: web::Data, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> impl Future { [INFO] [stdout] 41 | / web::block(move || { [INFO] [stdout] 42 | | let conn = &pool.get().unwrap(); [INFO] [stdout] 43 | | let id = user_id.into_inner(); [INFO] [stdout] 44 | | let key = models::UserKey::ID(id); [INFO] [stdout] 45 | | models::find_user(conn, key) [INFO] [stdout] 46 | | }) [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blog_actix` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blog_actix` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "d8939db49136cbabb86443ba2deedd454a32dce758dc67d30457bb705746bc6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8939db49136cbabb86443ba2deedd454a32dce758dc67d30457bb705746bc6b", kill_on_drop: false }` [INFO] [stdout] d8939db49136cbabb86443ba2deedd454a32dce758dc67d30457bb705746bc6b