[INFO] cloning repository https://github.com/Maneren/gomoku-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maneren/gomoku-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManeren%2Fgomoku-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManeren%2Fgomoku-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d07cd39e5a1b4d69914b9f6b4f8482c37e812b1 [INFO] checking Maneren/gomoku-rust/1d07cd39e5a1b4d69914b9f6b4f8482c37e812b1 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%2FManeren%2Fgomoku-rust" "/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/Maneren/gomoku-rust 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/Maneren/gomoku-rust [INFO] finished tweaking git repo https://github.com/Maneren/gomoku-rust [INFO] tweaked toml for git repo https://github.com/Maneren/gomoku-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maneren/gomoku-rust 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-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] 51580ae615a9d6bd4f1869b61d072659655979b08e892ab908cc0c38ebab0cf4 [INFO] running `Command { std: "docker" "start" "-a" "51580ae615a9d6bd4f1869b61d072659655979b08e892ab908cc0c38ebab0cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51580ae615a9d6bd4f1869b61d072659655979b08e892ab908cc0c38ebab0cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51580ae615a9d6bd4f1869b61d072659655979b08e892ab908cc0c38ebab0cf4", kill_on_drop: false }` [INFO] [stdout] 51580ae615a9d6bd4f1869b61d072659655979b08e892ab908cc0c38ebab0cf4 [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] 24132fef35ec54c81c61da346c55ca4f3f65e45a63240b292415288d0a92311d [INFO] running `Command { std: "docker" "start" "-a" "24132fef35ec54c81c61da346c55ca4f3f65e45a63240b292415288d0a92311d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling jemalloc-sys v0.5.3+5.3.0-patched [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stderr] Checking gomoku_lib v7.0.1 (/opt/rustwide/workdir/gomoku) [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] --> gomoku/src/lib.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|node| node.compute_next(&mut board.clone(), initial_score)) [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] --> gomoku/src/board.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 103 | let flat_data = data.into_iter().flatten().collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(Board { [INFO] [stdout] | ________^ [INFO] [stdout] 108 | | data: flat_data, [INFO] [stdout] 109 | | size: board_size, [INFO] [stdout] 110 | | }) [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] --> gomoku/src/node.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|node| node.compute_next(&mut board.clone(), self.first_score)) [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] --> gomoku/src/utils.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 120 | let re = Regex::new(r"\d+").expect("the regex is valid"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | / parts [INFO] [stdout] 140 | | .into_iter() [INFO] [stdout] 141 | | .map(parse_row) [INFO] [stdout] 142 | | .collect::, _>>() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> gomoku/src/lib.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|node| node.compute_next(&mut board.clone(), initial_score)) [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] [stderr] error: could not compile `gomoku_lib` (lib) due to 5 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] --> gomoku/src/board.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 103 | let flat_data = data.into_iter().flatten().collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(Board { [INFO] [stdout] | ________^ [INFO] [stdout] 108 | | data: flat_data, [INFO] [stdout] 109 | | size: board_size, [INFO] [stdout] 110 | | }) [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] --> gomoku/src/node.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|node| node.compute_next(&mut board.clone(), self.first_score)) [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] --> gomoku/src/utils.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 120 | let re = Regex::new(r"\d+").expect("the regex is valid"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | / parts [INFO] [stdout] 140 | | .into_iter() [INFO] [stdout] 141 | | .map(parse_row) [INFO] [stdout] 142 | | .collect::, _>>() [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] [stderr] error: could not compile `gomoku_lib` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "24132fef35ec54c81c61da346c55ca4f3f65e45a63240b292415288d0a92311d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24132fef35ec54c81c61da346c55ca4f3f65e45a63240b292415288d0a92311d", kill_on_drop: false }` [INFO] [stdout] 24132fef35ec54c81c61da346c55ca4f3f65e45a63240b292415288d0a92311d