[INFO] cloning repository https://github.com/Zynh0722/factorio-ruins-patcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zynh0722/factorio-ruins-patcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZynh0722%2Ffactorio-ruins-patcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZynh0722%2Ffactorio-ruins-patcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e8ee80e0b37ee47d03642e9d768013fc0b309af [INFO] checking Zynh0722/factorio-ruins-patcher/7e8ee80e0b37ee47d03642e9d768013fc0b309af 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%2FZynh0722%2Ffactorio-ruins-patcher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zynh0722/factorio-ruins-patcher 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/Zynh0722/factorio-ruins-patcher [INFO] finished tweaking git repo https://github.com/Zynh0722/factorio-ruins-patcher [INFO] tweaked toml for git repo https://github.com/Zynh0722/factorio-ruins-patcher written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Zynh0722/factorio-ruins-patcher 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8b4a70932c599fecd47068092e17ff0abfdf9c33d903ae3e00e314c35dc0ded4 [INFO] running `Command { std: "docker" "start" "-a" "8b4a70932c599fecd47068092e17ff0abfdf9c33d903ae3e00e314c35dc0ded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b4a70932c599fecd47068092e17ff0abfdf9c33d903ae3e00e314c35dc0ded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4a70932c599fecd47068092e17ff0abfdf9c33d903ae3e00e314c35dc0ded4", kill_on_drop: false }` [INFO] [stdout] 8b4a70932c599fecd47068092e17ff0abfdf9c33d903ae3e00e314c35dc0ded4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ecb675c0d213df8550d222f28bb1c9557af9d9a23a53ebf8d8adf1dc45f3b303 [INFO] running `Command { std: "docker" "start" "-a" "ecb675c0d213df8550d222f28bb1c9557af9d9a23a53ebf8d8adf1dc45f3b303", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.38.1 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.10 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking clap v4.3.10 [INFO] [stderr] Compiling factorio-ruins-patcher 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/main.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | let target = args.target.or_else(|| std::env::current_dir().ok()); [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/patch/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|handle| serde_json::from_reader(handle).unwrap()) [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/patch/compile.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn replace_function(match_pattern: Regex, replace_pattern: Regex) -> Box { [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] 8 | Box::new(move |str| { [INFO] [stdout] | ______________^ [INFO] [stdout] 9 | | let str = str.to_owned(); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | let out = match_pattern.replace_all(&str, replace_pattern.as_str()); [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | out.to_string() [INFO] [stdout] 14 | | }) [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/patch/compile.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn compile_patches(patches: Vec>) -> Box { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Box::new(move |str| { [INFO] [stdout] | ______________^ [INFO] [stdout] 24 | | let mut out = str.to_string(); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | patches.iter().for_each(|patch| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | out [INFO] [stdout] 31 | | }) [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/main.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | let target = args.target.or_else(|| std::env::current_dir().ok()); [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/patch/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|handle| serde_json::from_reader(handle).unwrap()) [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/patch/compile.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn replace_function(match_pattern: Regex, replace_pattern: Regex) -> Box { [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] 8 | Box::new(move |str| { [INFO] [stdout] | ______________^ [INFO] [stdout] 9 | | let str = str.to_owned(); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | let out = match_pattern.replace_all(&str, replace_pattern.as_str()); [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | out.to_string() [INFO] [stdout] 14 | | }) [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/patch/compile.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn compile_patches(patches: Vec>) -> Box { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Box::new(move |str| { [INFO] [stdout] | ______________^ [INFO] [stdout] 24 | | let mut out = str.to_string(); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | patches.iter().for_each(|patch| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | out [INFO] [stdout] 31 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `factorio-ruins-patcher` (bin "factorio-ruins-patcher") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `factorio-ruins-patcher` (bin "factorio-ruins-patcher" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ecb675c0d213df8550d222f28bb1c9557af9d9a23a53ebf8d8adf1dc45f3b303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb675c0d213df8550d222f28bb1c9557af9d9a23a53ebf8d8adf1dc45f3b303", kill_on_drop: false }` [INFO] [stdout] ecb675c0d213df8550d222f28bb1c9557af9d9a23a53ebf8d8adf1dc45f3b303