[INFO] fetching crate xremap 0.10.1... [INFO] checking xremap-0.10.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate xremap 0.10.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xremap 0.10.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xremap 0.10.1 [INFO] finished tweaking crates.io crate xremap 0.10.1 [INFO] tweaked toml for crates.io crate xremap 0.10.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate xremap 0.10.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eebcbed256bba0a55517051899c67e717d5b1c50250b74669821f240e0c0c942 [INFO] running `Command { std: "docker" "start" "-a" "eebcbed256bba0a55517051899c67e717d5b1c50250b74669821f240e0c0c942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebcbed256bba0a55517051899c67e717d5b1c50250b74669821f240e0c0c942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebcbed256bba0a55517051899c67e717d5b1c50250b74669821f240e0c0c942", kill_on_drop: false }` [INFO] [stdout] eebcbed256bba0a55517051899c67e717d5b1c50250b74669821f240e0c0c942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128ad1b5ae395cf06305a38b89082e6436b1eaa97b9bdba6f655f59d18c3a02b [INFO] running `Command { std: "docker" "start" "-a" "128ad1b5ae395cf06305a38b89082e6436b1eaa97b9bdba6f655f59d18c3a02b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking fork v0.2.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Checking evdev v0.12.2 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking clap_complete v4.3.2 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking xremap v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sway` [INFO] [stdout] --> src/client/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | feature = "sway", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `sway` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hypr` [INFO] [stdout] --> src/client/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | feature = "hypr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `hypr` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sway` [INFO] [stdout] --> src/client/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | feature = "sway", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `sway` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hypr` [INFO] [stdout] --> src/client/mod.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | feature = "hypr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `hypr` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sway` [INFO] [stdout] --> src/client/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | feature = "sway", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `sway` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hypr` [INFO] [stdout] --> src/client/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | feature = "hypr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `hypr` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sway` [INFO] [stdout] --> src/client/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | feature = "sway", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `sway` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hypr` [INFO] [stdout] --> src/client/mod.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | feature = "hypr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gnome`, `kde`, `wayland-client`, `wayland-protocols-wlr`, `wlroots`, `x11`, `x11rb`, and `zbus` [INFO] [stdout] = help: consider adding `hypr` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> src/config/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub shared: IgnoredAny, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/keymap.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Keymap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | #[serde(default = "String::new")] [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keymap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/modmap.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Modmap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | #[serde(default = "String::new")] [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/device.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | if unsafe { DEVICE_NAME.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/device.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { DEVICE_NAME.as_ref() }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> src/config/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub shared: IgnoredAny, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/keymap.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Keymap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | #[serde(default = "String::new")] [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keymap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/modmap.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Modmap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | #[serde(default = "String::new")] [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/device.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | if unsafe { DEVICE_NAME.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/device.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { DEVICE_NAME.as_ref() }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.76s [INFO] running `Command { std: "docker" "inspect" "128ad1b5ae395cf06305a38b89082e6436b1eaa97b9bdba6f655f59d18c3a02b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128ad1b5ae395cf06305a38b89082e6436b1eaa97b9bdba6f655f59d18c3a02b", kill_on_drop: false }` [INFO] [stdout] 128ad1b5ae395cf06305a38b89082e6436b1eaa97b9bdba6f655f59d18c3a02b