[INFO] cloning repository https://github.com/ajkumar1205/c-cpp-rust-mirco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajkumar1205/c-cpp-rust-mirco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajkumar1205%2Fc-cpp-rust-mirco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajkumar1205%2Fc-cpp-rust-mirco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59556579424a3e6519613377bc9b5dbe8250af88 [INFO] checking ajkumar1205/c-cpp-rust-mirco/59556579424a3e6519613377bc9b5dbe8250af88 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%2Fajkumar1205%2Fc-cpp-rust-mirco" "/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/ajkumar1205/c-cpp-rust-mirco 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/ajkumar1205/c-cpp-rust-mirco [INFO] finished tweaking git repo https://github.com/ajkumar1205/c-cpp-rust-mirco [INFO] tweaked toml for git repo https://github.com/ajkumar1205/c-cpp-rust-mirco written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ajkumar1205/c-cpp-rust-mirco 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] warning: unused manifest key: package.author [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] f9f2a285bc7ced4f7eb32fef1f70d6f201a839869c6080b853c316074d288c4b [INFO] running `Command { std: "docker" "start" "-a" "f9f2a285bc7ced4f7eb32fef1f70d6f201a839869c6080b853c316074d288c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f2a285bc7ced4f7eb32fef1f70d6f201a839869c6080b853c316074d288c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f2a285bc7ced4f7eb32fef1f70d6f201a839869c6080b853c316074d288c4b", kill_on_drop: false }` [INFO] [stdout] f9f2a285bc7ced4f7eb32fef1f70d6f201a839869c6080b853c316074d288c4b [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] 0df9c5f0a94ac206c8077f10a4ab827229b4eb339d514ccf01913baa66186893 [INFO] running `Command { std: "docker" "start" "-a" "0df9c5f0a94ac206c8077f10a4ab827229b4eb339d514ccf01913baa66186893", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling microservice-rcpp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:19:99 [INFO] [stdout] | [INFO] [stdout] 19 | async fn post(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | | let req = request.into_inner(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | utils::write_in_file(req.borrow()).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | Err(Status::internal("Some went unexpected")) [INFO] [stdout] 27 | | } [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 84 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | CodeClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 190 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:261:68 [INFO] [stdout] | [INFO] [stdout] 257 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | ... ) -> Self::Future { [INFO] [stdout] 259 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | ... let fut = async move { [INFO] [stdout] 261 | ... ::post(&inner, request).await [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microservice-rcpp` (bin "microservice-rcpp") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:19:99 [INFO] [stdout] | [INFO] [stdout] 19 | async fn post(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | | let req = request.into_inner(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | utils::write_in_file(req.borrow()).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | Err(Status::internal("Some went unexpected")) [INFO] [stdout] 27 | | } [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 84 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | CodeClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 190 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/microservice-rcpp-cc6cb48c39ae70d4/out/api.rs:261:68 [INFO] [stdout] | [INFO] [stdout] 257 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | ... ) -> Self::Future { [INFO] [stdout] 259 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | ... let fut = async move { [INFO] [stdout] 261 | ... ::post(&inner, request).await [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microservice-rcpp` (bin "microservice-rcpp" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0df9c5f0a94ac206c8077f10a4ab827229b4eb339d514ccf01913baa66186893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df9c5f0a94ac206c8077f10a4ab827229b4eb339d514ccf01913baa66186893", kill_on_drop: false }` [INFO] [stdout] 0df9c5f0a94ac206c8077f10a4ab827229b4eb339d514ccf01913baa66186893