[INFO] cloning repository https://github.com/alexpasmantier/undead [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexpasmantier/undead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpasmantier%2Fundead", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpasmantier%2Fundead'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccb0009ded85f0d3e75ae4380926559667529fd9 [INFO] checking alexpasmantier/undead/ccb0009ded85f0d3e75ae4380926559667529fd9 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%2Falexpasmantier%2Fundead" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexpasmantier/undead 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/alexpasmantier/undead [INFO] finished tweaking git repo https://github.com/alexpasmantier/undead [INFO] tweaked toml for git repo https://github.com/alexpasmantier/undead written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alexpasmantier/undead 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d1a128221e08d56cee2b8e8241eb1617619c48603f6eb9bf02068d5a05ab07eb [INFO] running `Command { std: "docker" "start" "-a" "d1a128221e08d56cee2b8e8241eb1617619c48603f6eb9bf02068d5a05ab07eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a128221e08d56cee2b8e8241eb1617619c48603f6eb9bf02068d5a05ab07eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a128221e08d56cee2b8e8241eb1617619c48603f6eb9bf02068d5a05ab07eb", kill_on_drop: false }` [INFO] [stdout] d1a128221e08d56cee2b8e8241eb1617619c48603f6eb9bf02068d5a05ab07eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1b9d575a934ff5e37452de33287059e712f4c22f58d6bac2d6e2bea3a39e9628 [INFO] running `Command { std: "docker" "start" "-a" "1b9d575a934ff5e37452de33287059e712f4c22f58d6bac2d6e2bea3a39e9628", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling malachite-nz v0.4.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking malachite-base v0.4.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking grep-matcher v0.1.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode_names2_generator v1.2.2 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling unicode_names2 v1.2.2 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking rustpython-parser-vendored v0.3.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling rustpython-parser v0.3.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking grep-searcher v0.1.13 [INFO] [stderr] Checking grep-cli v0.1.10 [INFO] [stderr] Checking grep-regex v0.1.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking rustpython-parser-core v0.3.1 [INFO] [stderr] Checking grep-printer v0.2.1 [INFO] [stderr] Checking grep v0.3.1 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking malachite-q v0.4.14 [INFO] [stderr] Checking malachite v0.4.14 [INFO] [stderr] Checking malachite-bigint v0.2.0 [INFO] [stderr] Checking rustpython-ast v0.3.1 [INFO] [stderr] Checking undead v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stmt` [INFO] [stdout] --> src/main.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use rustpython_ast::{Mod, ModModule, Stmt, StmtImport, StmtImportFrom, Visitor}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Message` and `Error` are never constructed [INFO] [stdout] --> src/printer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Printable<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | .map(|path| path.canonicalize().unwrap()) [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/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 108 | let imports_queue = SegQueue::::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(imports_queue.into_iter().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: 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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|path| match extract_imports(&path, &python_root) { [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:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | match parse(&file_contents, Mode::Module, "") { [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/main.rs:226:53 [INFO] [stdout] | [INFO] [stdout] 226 | .for_each(|stmt| visitor.visit_stmt(stmt.clone())); [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:280:8 [INFO] [stdout] | [INFO] [stdout] 259 | let walk_builder = walk_builder(paths, ignore_paths); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | let file_queue = SegQueue::::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Ok(file_queue.into_iter().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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `undead` (bin "undead" test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Message` and `Error` are never constructed [INFO] [stdout] --> src/printer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Printable<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | .map(|path| path.canonicalize().unwrap()) [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/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 108 | let imports_queue = SegQueue::::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(imports_queue.into_iter().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: 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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|path| match extract_imports(&path, &python_root) { [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:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | match parse(&file_contents, Mode::Module, "") { [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/main.rs:226:53 [INFO] [stdout] | [INFO] [stdout] 226 | .for_each(|stmt| visitor.visit_stmt(stmt.clone())); [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:280:8 [INFO] [stdout] | [INFO] [stdout] 259 | let walk_builder = walk_builder(paths, ignore_paths); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | let file_queue = SegQueue::::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Ok(file_queue.into_iter().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 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `undead` (bin "undead") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b9d575a934ff5e37452de33287059e712f4c22f58d6bac2d6e2bea3a39e9628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9d575a934ff5e37452de33287059e712f4c22f58d6bac2d6e2bea3a39e9628", kill_on_drop: false }` [INFO] [stdout] 1b9d575a934ff5e37452de33287059e712f4c22f58d6bac2d6e2bea3a39e9628