[INFO] cloning repository https://github.com/astaugaard/cranelift_based_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astaugaard/cranelift_based_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastaugaard%2Fcranelift_based_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastaugaard%2Fcranelift_based_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce58057f3aa82af2e977ec46d2ed02cc486216f0 [INFO] checking astaugaard/cranelift_based_compiler/ce58057f3aa82af2e977ec46d2ed02cc486216f0 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%2Fastaugaard%2Fcranelift_based_compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astaugaard/cranelift_based_compiler 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/astaugaard/cranelift_based_compiler [INFO] finished tweaking git repo https://github.com/astaugaard/cranelift_based_compiler [INFO] tweaked toml for git repo https://github.com/astaugaard/cranelift_based_compiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/astaugaard/cranelift_based_compiler 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d5dd32f4387740838cfa5331aff98d2f35ba134e21454c73ce3927705d123c7f [INFO] running `Command { std: "docker" "start" "-a" "d5dd32f4387740838cfa5331aff98d2f35ba134e21454c73ce3927705d123c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5dd32f4387740838cfa5331aff98d2f35ba134e21454c73ce3927705d123c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dd32f4387740838cfa5331aff98d2f35ba134e21454c73ce3927705d123c7f", kill_on_drop: false }` [INFO] [stdout] d5dd32f4387740838cfa5331aff98d2f35ba134e21454c73ce3927705d123c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d6440073b95c8ce988e16642b77b1ba3bbbeeb2bfa35a2c287f2d932aaec70f9 [INFO] running `Command { std: "docker" "start" "-a" "d6440073b95c8ce988e16642b77b1ba3bbbeeb2bfa35a2c287f2d932aaec70f9", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling cranelift-isle v0.107.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.107.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cranelift-entity v0.107.0 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling cranelift-codegen-meta v0.107.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cranelift-bforest v0.107.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking cranelift-control v0.107.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling cranelift-codegen v0.107.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking object v0.33.0 [INFO] [stderr] Checking cranelift-module v0.107.0 [INFO] [stderr] Checking cranelift-frontend v0.107.0 [INFO] [stderr] Checking cranelift-object v0.107.0 [INFO] [stderr] Checking cranelift v0.107.0 [INFO] [stderr] Checking cranelift_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `Signature`, and `self` [INFO] [stdout] --> src/anf_to_cranelift.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | self, condcodes::IntCC, types, AbiParam, Block, FuncRef, Function, InstBuilder, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 7 | Signature, UserExternalName, UserFuncName, Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object::Object` [INFO] [stdout] --> src/anf_to_cranelift.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use cranelift_object::{object::Object, ObjectBuilder, ObjectModule, ObjectProduct}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Signature`, and `self` [INFO] [stdout] --> src/anf_to_cranelift.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | self, condcodes::IntCC, types, AbiParam, Block, FuncRef, Function, InstBuilder, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 7 | Signature, UserExternalName, UserFuncName, Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `object::Object` [INFO] [stdout] --> src/anf_to_cranelift.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use cranelift_object::{object::Object, ObjectBuilder, ObjectModule, ObjectProduct}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/type_checking.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | Expr::Identifier(id) => (), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/anf_to_cranelift.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | for i in 0..*args { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/type_checking.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | Expr::Identifier(id) => (), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/anf_to_cranelift.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | for i in 0..*args { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/type_checking.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArgs(String, u32, u32), [INFO] [stdout] | ----------------- ^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArgs((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/type_checking.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | NotDefined(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 12 | NotDefined(()), [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/parser.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | move |input| value((), terminated(tag(arg), whitespace))(input) [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/type_checking.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArgs(String, u32, u32), [INFO] [stdout] | ----------------- ^^^^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArgs((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/type_checking.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | NotDefined(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 12 | NotDefined(()), [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/parser.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | move |input| value((), terminated(tag(arg), whitespace))(input) [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 `cranelift_compiler` (bin "cranelift_compiler") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cranelift_compiler` (bin "cranelift_compiler" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d6440073b95c8ce988e16642b77b1ba3bbbeeb2bfa35a2c287f2d932aaec70f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6440073b95c8ce988e16642b77b1ba3bbbeeb2bfa35a2c287f2d932aaec70f9", kill_on_drop: false }` [INFO] [stdout] d6440073b95c8ce988e16642b77b1ba3bbbeeb2bfa35a2c287f2d932aaec70f9