[INFO] cloning repository https://github.com/DiegoWEBD/portfolio-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DiegoWEBD/portfolio-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiegoWEBD%2Fportfolio-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiegoWEBD%2Fportfolio-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9622f62783c9f54a40276a22232005792e9b2ece [INFO] checking DiegoWEBD/portfolio-api/9622f62783c9f54a40276a22232005792e9b2ece 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%2FDiegoWEBD%2Fportfolio-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/DiegoWEBD/portfolio-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/DiegoWEBD/portfolio-api [INFO] finished tweaking git repo https://github.com/DiegoWEBD/portfolio-api [INFO] tweaked toml for git repo https://github.com/DiegoWEBD/portfolio-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DiegoWEBD/portfolio-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] 2d2943159f60cc6ab969ad83ede75e68ce2a606e46adf5501cd8c545ed22c6f9 [INFO] running `Command { std: "docker" "start" "-a" "2d2943159f60cc6ab969ad83ede75e68ce2a606e46adf5501cd8c545ed22c6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d2943159f60cc6ab969ad83ede75e68ce2a606e46adf5501cd8c545ed22c6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2943159f60cc6ab969ad83ede75e68ce2a606e46adf5501cd8c545ed22c6f9", kill_on_drop: false }` [INFO] [stdout] 2d2943159f60cc6ab969ad83ede75e68ce2a606e46adf5501cd8c545ed22c6f9 [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] bc2c0581b8cb9e061b54ed0bb8ecedd436a123989284799aa8648131defc4e0c [INFO] running `Command { std: "docker" "start" "-a" "bc2c0581b8cb9e061b54ed0bb8ecedd436a123989284799aa8648131defc4e0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking portfolio_backend_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/domain/project/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Project { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_title`, `get_description`, and `get_download_url` are never used [INFO] [stdout] --> src/domain/document/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Document { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_title(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_download_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/presentation/api.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(app_state: AppState) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Api { app_state: Data::new(app_state) } [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/presentation/api.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 23 | let app_state = self.app_state.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | / App::new() [INFO] [stdout] 27 | | .app_data(app_state.clone()) [INFO] [stdout] 28 | | .service(index) [INFO] [stdout] 29 | | .configure(ProjectRouter::config) [INFO] [stdout] 30 | | .configure(DocumentRouter::config) [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/presentation/api.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 23 | let app_state = self.app_state.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | / Cors::default() [INFO] [stdout] 33 | | .allowed_origin("http://localhost:5173") [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/application/app_state.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(project_services: ProjectServices, document_services: DocumentServices) -> Self { [INFO] [stdout] | --------------------------------- ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | AppState { [INFO] [stdout] 14 | project_services: Arc::new(project_services), [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/domain/project/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Project { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_title`, `get_description`, and `get_download_url` are never used [INFO] [stdout] --> src/domain/document/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Document { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_title(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_download_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/presentation/api.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(app_state: AppState) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Api { app_state: Data::new(app_state) } [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/presentation/api.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 23 | let app_state = self.app_state.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | / App::new() [INFO] [stdout] 27 | | .app_data(app_state.clone()) [INFO] [stdout] 28 | | .service(index) [INFO] [stdout] 29 | | .configure(ProjectRouter::config) [INFO] [stdout] 30 | | .configure(DocumentRouter::config) [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/presentation/api.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 23 | let app_state = self.app_state.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | / Cors::default() [INFO] [stdout] 33 | | .allowed_origin("http://localhost:5173") [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/application/app_state.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(project_services: ProjectServices, document_services: DocumentServices) -> Self { [INFO] [stdout] | --------------------------------- ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | AppState { [INFO] [stdout] 14 | project_services: Arc::new(project_services), [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portfolio_backend_rust` (bin "portfolio_backend_rust") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `portfolio_backend_rust` (bin "portfolio_backend_rust" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc2c0581b8cb9e061b54ed0bb8ecedd436a123989284799aa8648131defc4e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2c0581b8cb9e061b54ed0bb8ecedd436a123989284799aa8648131defc4e0c", kill_on_drop: false }` [INFO] [stdout] bc2c0581b8cb9e061b54ed0bb8ecedd436a123989284799aa8648131defc4e0c