[INFO] cloning repository https://github.com/cmizzi/ibswm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmizzi/ibswm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmizzi%2Fibswm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmizzi%2Fibswm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5820e3be93cbe78cf7a2072c61bfe82b5800fed [INFO] checking cmizzi/ibswm/c5820e3be93cbe78cf7a2072c61bfe82b5800fed 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%2Fcmizzi%2Fibswm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmizzi/ibswm 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/cmizzi/ibswm [INFO] finished tweaking git repo https://github.com/cmizzi/ibswm [INFO] tweaked toml for git repo https://github.com/cmizzi/ibswm written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cmizzi/ibswm 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1aa48f7d0b4cf44bee6be1bdd47d10f008f184ebb5c684cb267d0a4c8c3faa5b [INFO] running `Command { std: "docker" "start" "-a" "1aa48f7d0b4cf44bee6be1bdd47d10f008f184ebb5c684cb267d0a4c8c3faa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aa48f7d0b4cf44bee6be1bdd47d10f008f184ebb5c684cb267d0a4c8c3faa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa48f7d0b4cf44bee6be1bdd47d10f008f184ebb5c684cb267d0a4c8c3faa5b", kill_on_drop: false }` [INFO] [stdout] 1aa48f7d0b4cf44bee6be1bdd47d10f008f184ebb5c684cb267d0a4c8c3faa5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2bb126489b3aa9ec0248efccbbb3d97a01dfaaa33c25fd089f4a05101dcfda36 [INFO] running `Command { std: "docker" "start" "-a" "2bb126489b3aa9ec0248efccbbb3d97a01dfaaa33c25fd089f4a05101dcfda36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking x11rb v0.6.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking ibsc v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> cli/src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub command: SubCommand, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opts` 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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Config(Config), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 23 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Monitor(Monitor), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 27 | Monitor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | Rule(Rule), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 31 | Rule(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `monitor`, `key`, and `value` are never read [INFO] [stdout] --> cli/src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub monitor: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `monitor`, `name`, and `desktops` are never read [INFO] [stdout] --> cli/src/cli.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Monitor { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 49 | /// Monitor name. [INFO] [stdout] 50 | pub monitor: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub desktops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monitor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `desktop`, and `application` are never read [INFO] [stdout] --> cli/src/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub state: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub desktop: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub application: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> cli/src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub command: SubCommand, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opts` 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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Config(Config), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 23 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Monitor(Monitor), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 27 | Monitor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cli/src/cli.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | Rule(Rule), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubCommand` 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] 31 | Rule(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `monitor`, `key`, and `value` are never read [INFO] [stdout] --> cli/src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub monitor: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `monitor`, `name`, and `desktops` are never read [INFO] [stdout] --> cli/src/cli.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Monitor { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 49 | /// Monitor name. [INFO] [stdout] 50 | pub monitor: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub desktops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monitor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `desktop`, and `application` are never read [INFO] [stdout] --> cli/src/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub state: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub desktop: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub application: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ibswm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/monitors.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/desktop.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Desktop { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub mode: DesktopMode, [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/connection.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|cookie| cookie.reply().map(|reply| reply.atom).unwrap()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/desktop.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Desktop { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub mode: DesktopMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ibswm` (bin "ibswm") due to 2 previous errors; 1 warning emitted [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] --> src/connection.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|cookie| cookie.reply().map(|reply| reply.atom).unwrap()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ibswm` (bin "ibswm" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2bb126489b3aa9ec0248efccbbb3d97a01dfaaa33c25fd089f4a05101dcfda36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb126489b3aa9ec0248efccbbb3d97a01dfaaa33c25fd089f4a05101dcfda36", kill_on_drop: false }` [INFO] [stdout] 2bb126489b3aa9ec0248efccbbb3d97a01dfaaa33c25fd089f4a05101dcfda36