[INFO] cloning repository https://github.com/Robert-M-Lucas/whython-7 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Robert-M-Lucas/whython-7" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-7", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-7'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0c9ef997c0efe344b048b3e44345a2f1bb2a815 [INFO] checking Robert-M-Lucas/whython-7/b0c9ef997c0efe344b048b3e44345a2f1bb2a815 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%2FRobert-M-Lucas%2Fwhython-7" "/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/Robert-M-Lucas/whython-7 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Robert-M-Lucas/whython-7 [INFO] finished tweaking git repo https://github.com/Robert-M-Lucas/whython-7 [INFO] tweaked toml for git repo https://github.com/Robert-M-Lucas/whython-7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Robert-M-Lucas/whython-7 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] 9bc4448c65bb6e3bfc4b59da01050e9d3a9b201b9df6e9a69e3c64b1cc48e666 [INFO] running `Command { std: "docker" "start" "-a" "9bc4448c65bb6e3bfc4b59da01050e9d3a9b201b9df6e9a69e3c64b1cc48e666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc4448c65bb6e3bfc4b59da01050e9d3a9b201b9df6e9a69e3c64b1cc48e666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc4448c65bb6e3bfc4b59da01050e9d3a9b201b9df6e9a69e3c64b1cc48e666", kill_on_drop: false }` [INFO] [stdout] 9bc4448c65bb6e3bfc4b59da01050e9d3a9b201b9df6e9a69e3c64b1cc48e666 [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] baa46606757bc2378d2849bf01ca5000f1adb652b150c329025fd7defaaef2a5 [INFO] running `Command { std: "docker" "start" "-a" "baa46606757bc2378d2849bf01ca5000f1adb652b150c329025fd7defaaef2a5", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking b-box v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling unique-type-id-derive v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking unique-type-id v1.3.0 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking whython-7 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/root/basic_ast/symbol.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | SquareBracketedSection(Vec<(BasicSymbol, LineInfo)>), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicSymbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | SquareBracketedSection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_count` is never read [INFO] [stdout] --> src/root/compiler/compile_functions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UserFunction { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub arg_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contents` is never used [INFO] [stdout] --> src/root/processor/type_builder.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub trait TypedFunction { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 225 | fn contents(&self) -> &Vec<(BasicSymbol, LineInfo)> { [INFO] [stdout] | ^^^^^^^^ [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/root/compiler/compile_functions/name_handler.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(type_table: TypeTable) -> NameHandler { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | used_functions: HashSet::new(), [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] warning: field `0` is never read [INFO] [stdout] --> src/root/basic_ast/symbol.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | SquareBracketedSection(Vec<(BasicSymbol, LineInfo)>), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BasicSymbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | SquareBracketedSection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_count` is never read [INFO] [stdout] --> src/root/compiler/compile_functions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UserFunction { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub arg_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contents` is never used [INFO] [stdout] --> src/root/processor/type_builder.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub trait TypedFunction { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 225 | fn contents(&self) -> &Vec<(BasicSymbol, LineInfo)> { [INFO] [stdout] | ^^^^^^^^ [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/root/compiler/compile_functions/name_handler.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(type_table: TypeTable) -> NameHandler { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | used_functions: HashSet::new(), [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/root/processor/type_builder.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 257 | let mut type_table = TypeTable::new().add_builtin(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | let mut typed_fns = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | Ok((type_table, fn_name_map, typed_fns)) [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/root/processor/type_builder.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 257 | let mut type_table = TypeTable::new().add_builtin(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | let mut typed_fns = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | Ok((type_table, fn_name_map, typed_fns)) [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 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `whython-7` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `whython-7` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "baa46606757bc2378d2849bf01ca5000f1adb652b150c329025fd7defaaef2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa46606757bc2378d2849bf01ca5000f1adb652b150c329025fd7defaaef2a5", kill_on_drop: false }` [INFO] [stdout] baa46606757bc2378d2849bf01ca5000f1adb652b150c329025fd7defaaef2a5