[INFO] cloning repository https://github.com/Dhole/ZincBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dhole/ZincBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3add79e2a854d7662e7160909b5d98fdecbd4d5c [INFO] checking Dhole/ZincBoy/3add79e2a854d7662e7160909b5d98fdecbd4d5c 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%2FDhole%2FZincBoy" "/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/Dhole/ZincBoy 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/Dhole/ZincBoy [INFO] finished tweaking git repo https://github.com/Dhole/ZincBoy [INFO] tweaked toml for git repo https://github.com/Dhole/ZincBoy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dhole/ZincBoy 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-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] 542753e9c2d07c95105d4fa28096e08744fa2a57c4759515e65970c356cc7203 [INFO] running `Command { std: "docker" "start" "-a" "542753e9c2d07c95105d4fa28096e08744fa2a57c4759515e65970c356cc7203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "542753e9c2d07c95105d4fa28096e08744fa2a57c4759515e65970c356cc7203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542753e9c2d07c95105d4fa28096e08744fa2a57c4759515e65970c356cc7203", kill_on_drop: false }` [INFO] [stdout] 542753e9c2d07c95105d4fa28096e08744fa2a57c4759515e65970c356cc7203 [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] 47b265a5e9d91581331b29ea66d5ca38b3c89dd6a443c6eba3781b901f27e859 [INFO] running `Command { std: "docker" "start" "-a" "47b265a5e9d91581331b29ea66d5ca38b3c89dd6a443c6eba3781b901f27e859", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking reexport-proc-macro v1.0.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling enum-map-derive v0.4.2 [INFO] [stderr] Checking enum-map v0.4.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling zincboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::op_raw_thumb` [INFO] [stdout] --> src/ARM7TDMI/op.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::op_raw_thumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/ARM7TDMI/op.rs:769:30 [INFO] [stdout] | [INFO] [stdout] 765 | let mut addr = Arg::Address(Args::new(&[Arg::Reg(self.rn), offset])); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 769 | args.extend(&[addr]) [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/ARM7TDMI/op.rs:769:30 [INFO] [stdout] | [INFO] [stdout] 765 | let mut addr = Arg::Address(Args::new(&[Arg::Reg(self.rn), offset])); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 769 | args.extend(&[addr]) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zincboy` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zincboy` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "47b265a5e9d91581331b29ea66d5ca38b3c89dd6a443c6eba3781b901f27e859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b265a5e9d91581331b29ea66d5ca38b3c89dd6a443c6eba3781b901f27e859", kill_on_drop: false }` [INFO] [stdout] 47b265a5e9d91581331b29ea66d5ca38b3c89dd6a443c6eba3781b901f27e859