[INFO] cloning repository https://github.com/YaLTeR/wl-clipboard-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YaLTeR/wl-clipboard-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYaLTeR%2Fwl-clipboard-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYaLTeR%2Fwl-clipboard-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 370f971e26484ec2f90a38bf1dfce1a6392ed27e [INFO] checking YaLTeR/wl-clipboard-rs/370f971e26484ec2f90a38bf1dfce1a6392ed27e against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYaLTeR%2Fwl-clipboard-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YaLTeR/wl-clipboard-rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YaLTeR/wl-clipboard-rs [INFO] finished tweaking git repo https://github.com/YaLTeR/wl-clipboard-rs [INFO] tweaked toml for git repo https://github.com/YaLTeR/wl-clipboard-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/YaLTeR/wl-clipboard-rs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 717174caed2fb0038560b23d3f3124984474e04ee9bc933afca9e765ecaaa27d [INFO] running `Command { std: "docker" "start" "-a" "717174caed2fb0038560b23d3f3124984474e04ee9bc933afca9e765ecaaa27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "717174caed2fb0038560b23d3f3124984474e04ee9bc933afca9e765ecaaa27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717174caed2fb0038560b23d3f3124984474e04ee9bc933afca9e765ecaaa27d", kill_on_drop: false }` [INFO] [stdout] 717174caed2fb0038560b23d3f3124984474e04ee9bc933afca9e765ecaaa27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9db4cb92a6c5526acc3498f99d4e5a988d7b41df53c587c12e9422f910ad70d [INFO] running `Command { std: "docker" "start" "-a" "f9db4cb92a6c5526acc3498f99d4e5a988d7b41df53c587c12e9422f910ad70d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating wl-clipboard-rs-tools/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling io-lifetimes v2.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling roff v0.2.2 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Checking tree_magic_mini v3.1.5 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling clap_complete v4.5.8 [INFO] [stderr] Compiling clap_mangen v0.2.23 [INFO] [stderr] Checking wayland-server v0.31.2 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Compiling wl-clipboard-rs-tools v0.9.0 (/tmp/fixit/wl-clipboard-rs-tools) [INFO] [stderr] Migrating wl-clipboard-rs-tools/build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed wl-clipboard-rs-tools/build.rs (1 fix) [INFO] [stderr] Checking wayland-protocols v0.32.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.1 [INFO] [stderr] Checking wl-clipboard-rs v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/utils.rs (1 fix) [INFO] [stderr] Fixed src/seat_data.rs (3 fixes) [INFO] [stderr] Fixed src/copy.rs (1 fix) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn serve(mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/copy.rs:596:36 [INFO] [stdout] | [INFO] [stdout] 596 | let result: Result<_, _> = results.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tests/state.rs (3 fixes) [INFO] [stderr] Migrating wl-clipboard-rs-tools/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/tests/utils.rs (1 fix) [INFO] [stderr] Fixed src/tests/mod.rs (1 fix) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn serve(mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/copy.rs:596:36 [INFO] [stdout] | [INFO] [stdout] 596 | let result: Result<_, _> = results.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating wl-clipboard-rs-tools/src/bin/wl-copy.rs from 2021 edition to 2024 [INFO] [stderr] Migrating wl-clipboard-rs-tools/src/bin/wl-paste.rs from 2021 edition to 2024 [INFO] [stderr] Fixed wl-clipboard-rs-tools/src/bin/wl-paste.rs (1 fix) [INFO] [stderr] Migrating wl-clipboard-rs-tools/src/bin/wl-clip.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wl_clip` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * wl-clipboard-rs-tools/src/bin/wl-clip.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | ($longest:expr_2021, $shortest:expr_2021 => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:46 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr_2021, $shortest:expr => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 62 | ($longest:expr_2021, $shortest:expr_2021 => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | ($longest:expr_2021, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:46 [INFO] [stderr] | [INFO] [stderr] 68 | ($longest:expr_2021, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:26 [INFO] [stderr] | [INFO] [stderr] 79 | ($longest:expr_2021, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:46 [INFO] [stderr] | [INFO] [stderr] 79 | ($longest:expr_2021, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr_2021 => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr_2021, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr_2021, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wl_clip` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * wl-clipboard-rs-tools/src/bin/wl-clip.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | ($longest:expr_2021, $shortest:expr_2021 => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr_2021, $shortest:expr => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | ($longest:expr_2021, $shortest:expr_2021 => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | ($longest:expr_2021, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:46 [INFO] [stderr] | [INFO] [stderr] 68 | ($longest:expr_2021, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:26 [INFO] [stderr] | [INFO] [stderr] 79 | ($longest:expr_2021, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:46 [INFO] [stderr] | [INFO] [stderr] 79 | ($longest:expr_2021, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 62 | ($longest:expr, $shortest:expr_2021 => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr_2021, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr, $next:ident => $action:block) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 68 | ($longest:expr, $shortest:expr_2021, $next:ident => $action:block) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr_2021, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> wl-clipboard-rs-tools/src/bin/wl-clip.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr => $action:stmt) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | ($longest:expr, $shortest:expr_2021 => $action:stmt) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.56s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling wl-clipboard-rs-tools v0.9.0 (/tmp/fixit/wl-clipboard-rs-tools) [INFO] [stderr] Checking wl-clipboard-rs v0.9.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/copy.rs:596:56 [INFO] [stdout] | [INFO] [stdout] 596 | let result: Result<_, _> = results.into_iter().collect(); [INFO] [stdout] | ^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!`, which is required by `Result<_, _>: FromIterator>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Result` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/copy.rs:596:56 [INFO] [stdout] | [INFO] [stdout] 596 | let result: Result<_, _> = results.into_iter().collect(); [INFO] [stdout] | ^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!`, which is required by `Result<_, _>: FromIterator>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Result` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wl-clipboard-rs` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wl-clipboard-rs` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f9db4cb92a6c5526acc3498f99d4e5a988d7b41df53c587c12e9422f910ad70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9db4cb92a6c5526acc3498f99d4e5a988d7b41df53c587c12e9422f910ad70d", kill_on_drop: false }` [INFO] [stdout] f9db4cb92a6c5526acc3498f99d4e5a988d7b41df53c587c12e9422f910ad70d