[INFO] cloning repository https://github.com/XiaoMouz/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XiaoMouz/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaoMouz%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaoMouz%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b54a360e215a5c24f1ce3fd3ec83a236f44ee0aa [INFO] checking XiaoMouz/rust-learning/b54a360e215a5c24f1ce3fd3ec83a236f44ee0aa 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%2FXiaoMouz%2Frust-learning" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XiaoMouz/rust-learning 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/XiaoMouz/rust-learning [INFO] finished tweaking git repo https://github.com/XiaoMouz/rust-learning [INFO] tweaked toml for git repo https://github.com/XiaoMouz/rust-learning written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/XiaoMouz/rust-learning 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 936029ad881b10c119cf73fcee9b74638ddd4ff58d0cfd35724b1addd76af7a7 [INFO] running `Command { std: "docker" "start" "-a" "936029ad881b10c119cf73fcee9b74638ddd4ff58d0cfd35724b1addd76af7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "936029ad881b10c119cf73fcee9b74638ddd4ff58d0cfd35724b1addd76af7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936029ad881b10c119cf73fcee9b74638ddd4ff58d0cfd35724b1addd76af7a7", kill_on_drop: false }` [INFO] [stdout] 936029ad881b10c119cf73fcee9b74638ddd4ff58d0cfd35724b1addd76af7a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dd486d667f775f9356049b42aff4fc16ddd3011a7a8a9331fd5d0ee9cfadded7 [INFO] running `Command { std: "docker" "start" "-a" "dd486d667f775f9356049b42aff4fc16ddd3011a7a8a9331fd5d0ee9cfadded7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aws-lc-rs v1.8.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling aws-lc-sys v0.19.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking rust-helloworld 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/server/trojan.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(address: &str, server_config: ServerConfig, password: &str) -> Arc { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | address: address.to_string(), [INFO] [stdout] 25 | | server_config: Arc::new(server_config), [INFO] [stdout] 26 | | password: Arc::new(password), [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] --> src/server/trojan.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 41 | let this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | if let Ok(tls_stream) = tls_acceptor [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / this.handle(tls_stream) [INFO] [stdout] 49 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/trojan.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(address: &str, server_config: ServerConfig, password: &str) -> Arc { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | address: address.to_string(), [INFO] [stdout] 25 | | server_config: Arc::new(server_config), [INFO] [stdout] 26 | | password: Arc::new(password), [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] --> src/server/trojan.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 41 | let this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | if let Ok(tls_stream) = tls_acceptor [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / this.handle(tls_stream) [INFO] [stdout] 49 | | .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] [stderr] error: could not compile `rust-helloworld` (bin "rust-helloworld" test) due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-helloworld` (bin "rust-helloworld") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "dd486d667f775f9356049b42aff4fc16ddd3011a7a8a9331fd5d0ee9cfadded7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd486d667f775f9356049b42aff4fc16ddd3011a7a8a9331fd5d0ee9cfadded7", kill_on_drop: false }` [INFO] [stdout] dd486d667f775f9356049b42aff4fc16ddd3011a7a8a9331fd5d0ee9cfadded7