[INFO] cloning repository https://github.com/NazarK0/web_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NazarK0/web_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNazarK0%2Fweb_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNazarK0%2Fweb_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bfb12dda5422c2186bc44d8eecc1f0211759bff [INFO] checking NazarK0/web_api/3bfb12dda5422c2186bc44d8eecc1f0211759bff 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%2FNazarK0%2Fweb_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/NazarK0/web_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/NazarK0/web_api [INFO] finished tweaking git repo https://github.com/NazarK0/web_api [INFO] tweaked toml for git repo https://github.com/NazarK0/web_api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NazarK0/web_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] e57a7b3f2cb8e61dc5b854e7bc7ac791ab69226cfaed9838dd544af583b32981 [INFO] running `Command { std: "docker" "start" "-a" "e57a7b3f2cb8e61dc5b854e7bc7ac791ab69226cfaed9838dd544af583b32981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e57a7b3f2cb8e61dc5b854e7bc7ac791ab69226cfaed9838dd544af583b32981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57a7b3f2cb8e61dc5b854e7bc7ac791ab69226cfaed9838dd544af583b32981", kill_on_drop: false }` [INFO] [stdout] e57a7b3f2cb8e61dc5b854e7bc7ac791ab69226cfaed9838dd544af583b32981 [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] 9e1c658936ce27c8b7846724e2df95640d2399b27a7d4c7953a18c8e897510ed [INFO] running `Command { std: "docker" "start" "-a" "9e1c658936ce27c8b7846724e2df95640d2399b27a7d4c7953a18c8e897510ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking iana-time-zone v0.1.46 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking web_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `middleware::JsonAfterMiddleware` [INFO] [stdout] --> src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use middleware::JsonAfterMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::JsonAfterMiddleware` [INFO] [stdout] --> src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use middleware::JsonAfterMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/app/handlers.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | post_feed: PostFeedHandler::new(database.clone()), [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/app/handlers.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | post_post: PostPostHandler::new(database.clone()), [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/app/handlers.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | post: PostHandler::new(database.clone()), [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/app/handlers/post_feed_handler.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(Response::with((status::Ok, payload))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/app/macros.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | Err(e) => return Ok(iron::Response::with((iron::status::InternalServerError, e.to_string()))) [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/app/handlers/post_post_handler.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Response::with((status::Created, payload))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/app/macros.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => return Ok(iron::Response::with(($error, e.to_string()))) [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/app/handlers.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | post_feed: PostFeedHandler::new(database.clone()), [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/app/handlers.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | post_post: PostPostHandler::new(database.clone()), [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/app/handlers.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 19 | let database = Arc::new(Mutex::new(db)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | post: PostHandler::new(database.clone()), [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/app/handlers/post_feed_handler.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(Response::with((status::Ok, payload))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/app/macros.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | Err(e) => return Ok(iron::Response::with((iron::status::InternalServerError, e.to_string()))) [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/app/handlers/post_post_handler.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Response::with((status::Created, payload))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/app/macros.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => return Ok(iron::Response::with(($error, e.to_string()))) [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: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web_api` (bin "web_api" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `web_api` (bin "web_api") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9e1c658936ce27c8b7846724e2df95640d2399b27a7d4c7953a18c8e897510ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1c658936ce27c8b7846724e2df95640d2399b27a7d4c7953a18c8e897510ed", kill_on_drop: false }` [INFO] [stdout] 9e1c658936ce27c8b7846724e2df95640d2399b27a7d4c7953a18c8e897510ed