[INFO] fetching crate coreutils 0.0.27... [INFO] checking coreutils-0.0.27 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate coreutils 0.0.27 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate coreutils 0.0.27 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate coreutils 0.0.27 [INFO] finished tweaking crates.io crate coreutils 0.0.27 [INFO] tweaked toml for crates.io crate coreutils 0.0.27 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate coreutils 0.0.27 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1e5b1c94cc308e655ac1a6b12436b1bc9daf3855a66c626d40ec3a722b49cff [INFO] running `Command { std: "docker" "start" "-a" "c1e5b1c94cc308e655ac1a6b12436b1bc9daf3855a66c626d40ec3a722b49cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1e5b1c94cc308e655ac1a6b12436b1bc9daf3855a66c626d40ec3a722b49cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e5b1c94cc308e655ac1a6b12436b1bc9daf3855a66c626d40ec3a722b49cff", kill_on_drop: false }` [INFO] [stdout] c1e5b1c94cc308e655ac1a6b12436b1bc9daf3855a66c626d40ec3a722b49cff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1877c938b349f30a4cac5ca82b6e94d02b884f2a82db782dfec7bedb30de3d8e [INFO] running `Command { std: "docker" "start" "-a" "1877c938b349f30a4cac5ca82b6e94d02b884f2a82db782dfec7bedb30de3d8e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (108 fixes) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking z85 v3.0.5 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking ansi-width v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking const-random v0.1.16 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking lscolors v0.16.0 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking dlv-list v0.5.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking uutils_term_grid v0.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking fundu-core v0.3.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking fundu v2.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking parse_datetime v0.6.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking binary-heap-plus v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling coreutils v0.0.27 (/tmp/fixit) [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking num-modular v0.5.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking roff v0.2.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling rlimit v0.10.1 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking clap_complete v4.4.0 [INFO] [stderr] Checking clap_mangen v0.2.9 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking num-prime v0.4.4 [INFO] [stderr] Checking uucore v0.0.27 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking uu_ls v0.0.27 [INFO] [stderr] Checking uu_base32 v0.0.27 [INFO] [stderr] Checking uu_sleep v0.0.27 [INFO] [stderr] Checking uu_wc v0.0.27 [INFO] [stderr] Checking uu_env v0.0.27 [INFO] [stderr] Checking uu_true v0.0.27 [INFO] [stderr] Checking uu_realpath v0.0.27 [INFO] [stderr] Checking uu_fold v0.0.27 [INFO] [stderr] Checking uu_dircolors v0.0.27 [INFO] [stderr] Checking uu_touch v0.0.27 [INFO] [stderr] Checking uu_false v0.0.27 [INFO] [stderr] Checking uu_mv v0.0.27 [INFO] [stderr] Checking uu_more v0.0.27 [INFO] [stderr] Checking uu_nl v0.0.27 [INFO] [stderr] Checking uu_basenc v0.0.27 [INFO] [stderr] Checking uu_base64 v0.0.27 [INFO] [stderr] Checking uu_test v0.0.27 [INFO] [stderr] Checking uu_shuf v0.0.27 [INFO] [stderr] Checking uu_pr v0.0.27 [INFO] [stderr] Checking uu_echo v0.0.27 [INFO] [stderr] Checking uu_comm v0.0.27 [INFO] [stderr] Checking uu_unexpand v0.0.27 [INFO] [stderr] Checking uu_date v0.0.27 [INFO] [stderr] Checking uu_mktemp v0.0.27 [INFO] [stderr] Checking uu_basename v0.0.27 [INFO] [stderr] Checking uu_factor v0.0.27 [INFO] [stderr] Checking uu_printf v0.0.27 [INFO] [stderr] Checking uu_ln v0.0.27 [INFO] [stderr] Checking uu_df v0.0.27 [INFO] [stderr] Checking uu_link v0.0.27 [INFO] [stderr] Checking uu_shred v0.0.27 [INFO] [stderr] Checking uu_sum v0.0.27 [INFO] [stderr] Checking uu_mkdir v0.0.27 [INFO] [stderr] Checking uu_fmt v0.0.27 [INFO] [stderr] Checking uu_numfmt v0.0.27 [INFO] [stderr] Checking uu_printenv v0.0.27 [INFO] [stderr] Checking uu_cksum v0.0.27 [INFO] [stderr] Checking uu_seq v0.0.27 [INFO] [stderr] Checking uu_vdir v0.0.27 [INFO] [stderr] Checking uu_dir v0.0.27 [INFO] [stderr] Checking uu_sort v0.0.27 [INFO] [stderr] Checking uu_tac v0.0.27 [INFO] [stderr] Checking uu_yes v0.0.27 [INFO] [stderr] Checking uu_cut v0.0.27 [INFO] [stderr] Checking uu_tail v0.0.27 [INFO] [stderr] Checking uu_truncate v0.0.27 [INFO] [stderr] Checking uu_csplit v0.0.27 [INFO] [stderr] Checking uu_du v0.0.27 [INFO] [stderr] Checking uu_tr v0.0.27 [INFO] [stderr] Checking uu_paste v0.0.27 [INFO] [stderr] Checking uu_dirname v0.0.27 [INFO] [stderr] Checking uu_od v0.0.27 [INFO] [stderr] Checking uu_tee v0.0.27 [INFO] [stderr] Checking uu_unlink v0.0.27 [INFO] [stderr] Checking uu_expand v0.0.27 [INFO] [stderr] Checking uu_cat v0.0.27 [INFO] [stderr] Checking uu_join v0.0.27 [INFO] [stderr] Checking uu_rm v0.0.27 [INFO] [stderr] Checking uu_dd v0.0.27 [INFO] [stderr] Checking uu_pwd v0.0.27 [INFO] [stderr] Checking uu_hashsum v0.0.27 [INFO] [stderr] Checking uu_cp v0.0.27 [INFO] [stderr] Checking uu_split v0.0.27 [INFO] [stderr] Checking uu_uniq v0.0.27 [INFO] [stderr] Checking uu_expr v0.0.27 [INFO] [stderr] Checking uu_ptx v0.0.27 [INFO] [stderr] Checking uu_head v0.0.27 [INFO] [stderr] Checking uu_rmdir v0.0.27 [INFO] [stderr] Checking uu_readlink v0.0.27 [INFO] [stderr] Checking uu_tsort v0.0.27 [INFO] [stderr] Migrating src/bin/coreutils.rs from 2021 edition to 2024 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_util_name.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tests` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/by-util/test_cp.rs [INFO] [stderr] * tests/by-util/test_dd.rs [INFO] [stderr] * tests/by-util/test_hashsum.rs [INFO] [stderr] * tests/by-util/test_mktemp.rs [INFO] [stderr] * tests/common/macros.rs [INFO] [stderr] * tests/common/util.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] --> tests/common/macros.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($e:expr_2021, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | ($e:expr_2021, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | ($($e:expr_2021),*) => {{ [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] --> tests/common/macros.rs:84:7 [INFO] [stderr] | [INFO] [stderr] 84 | ( $e:expr_2021 ) => { [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] --> tests/by-util/test_cp.rs:68:6 [INFO] [stderr] | [INFO] [stderr] 68 | ($m1:expr_2021, $m2:expr_2021) => {{ [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] --> tests/by-util/test_cp.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | ($m1:expr_2021, $m2:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($fname:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | ($fname:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:45:6 [INFO] [stderr] | [INFO] [stderr] 45 | ($fname:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | ($fname:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:59:6 [INFO] [stderr] | [INFO] [stderr] 59 | ($fname:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | ($fp:expr_2021, $data:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:66:21 [INFO] [stderr] | [INFO] [stderr] 66 | ($fp:expr_2021, $data:expr_2021) => {{ [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] --> tests/by-util/test_dd.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | ($spec:expr_2021, $test:expr_2021) => [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] --> tests/by-util/test_dd.rs:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | ($spec:expr_2021, $test:expr_2021) => [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] --> tests/by-util/test_hashsum.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | ($str:expr_2021) => ( [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] --> tests/by-util/test_hashsum.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | ($($id:ident $t:ident $size:expr_2021)*) => ($( [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] --> tests/by-util/test_mktemp.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 38 | ($template:expr_2021, $s:expr_2021) => {{ [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] --> tests/by-util/test_mktemp.rs:38:27 [INFO] [stderr] | [INFO] [stderr] 38 | ($template:expr_2021, $s:expr_2021) => {{ [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] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:185:59 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | ($e:expr, ..$n:expr) => {{ [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] 9 | ($e:expr_2021, ..$n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | ($e:expr, ..$n:expr) => {{ [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] 9 | ($e:expr, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | ($($e:expr),*) => {{ [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] 18 | ($($e:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | ( $e:expr ) => { [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] 84 | ( $e:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> tests/common/util.rs:200:63 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:215:59 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:230:63 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `expensive_tests` [INFO] [stderr] --> tests/common/util.rs:3319:20 [INFO] [stderr] | [INFO] [stderr] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stderr] = help: consider adding `expensive_tests` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors; 5 warnings emitted [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: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `expensive_tests` [INFO] [stdout] --> tests/common/util.rs:3319:20 [INFO] [stdout] | [INFO] [stdout] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stdout] = help: consider adding `expensive_tests` 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_cp.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | ($m1:expr, $m2:expr) => {{ [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 | ($m1:expr_2021, $m2:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_cp.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | ($m1:expr, $m2:expr) => {{ [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 | ($m1:expr, $m2:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | ($fname:expr) => {{ [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] 33 | ($fname:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ($fname:expr) => {{ [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] 39 | ($fname:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ($fname:expr) => {{ [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] 45 | ($fname:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ($fname:expr) => {{ [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] 51 | ($fname:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ($fname:expr) => {{ [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] 59 | ($fname:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | ($fp:expr, $data:expr) => {{ [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] 66 | ($fp:expr_2021, $data:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | ($fp:expr, $data:expr) => {{ [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] 66 | ($fp:expr, $data:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | ($spec:expr, $test:expr) => [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 | ($spec:expr_2021, $test:expr) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_dd.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | ($spec:expr, $test:expr) => [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 | ($spec:expr, $test:expr_2021) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_hashsum.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | ($str:expr) => ( [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] 8 | ($str:expr_2021) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_hashsum.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | ($($id:ident $t:ident $size:expr)*) => ($( [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] 14 | ($($id:ident $t:ident $size:expr_2021)*) => ($( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_mktemp.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | ($template:expr, $s:expr) => {{ [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] 38 | ($template:expr_2021, $s:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/by-util/test_mktemp.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | ($template:expr, $s:expr) => {{ [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] 38 | ($template:expr, $s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | env::set_var("SHELL", "/path/csh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 19 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 20 ~ unsafe { env::set_var("SHELL", "/path/csh") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env::set_var("SHELL", "csh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 21 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 22 ~ unsafe { env::set_var("SHELL", "csh") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | env::set_var("SHELL", "/path/bash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 23 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 24 ~ unsafe { env::set_var("SHELL", "/path/bash") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env::set_var("SHELL", "bash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 25 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 26 ~ unsafe { env::set_var("SHELL", "bash") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | env::set_var("SHELL", "/asd/bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 27 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 28 ~ unsafe { env::set_var("SHELL", "/asd/bar") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | env::set_var("SHELL", "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 29 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 30 ~ unsafe { env::set_var("SHELL", "foo") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var("SHELL", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 31 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 32 ~ unsafe { env::set_var("SHELL", "") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | env::remove_var("SHELL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 33 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 34 ~ unsafe { env::remove_var("SHELL") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | env::set_var("SHELL", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 37 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 38 ~ unsafe { env::set_var("SHELL", s) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_split.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | env::set_var("FILE", env_var_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 328 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 329 ~ unsafe { env::set_var("FILE", env_var_value) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1499:12 [INFO] [stdout] | [INFO] [stdout] 1499 | if let Some(mut captured_output_i) = captured_output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1511:9 [INFO] [stdout] | [INFO] [stdout] 1511 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1499 ~ match captured_output { Some(mut captured_output_i) => { [INFO] [stdout] 1500 | let fd = captured_output_i.try_clone().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1510 | Some(captured_output_i) [INFO] [stdout] 1511 ~ } _ => { [INFO] [stdout] 1512 | None [INFO] [stdout] 1513 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1585:19 [INFO] [stdout] | [INFO] [stdout] 1585 | } else if let Some(temp_dir) = &self.tmpd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1585 ~ } else { match &self.tmpd { Some(temp_dir) => { [INFO] [stdout] 1586 | command.current_dir(temp_dir.path()); [INFO] [stdout] 1587 ~ } _ => { [INFO] [stdout] 1588 | let temp_dir = tempfile::tempdir().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1591 | self.tmpd = Some(Rc::new(temp_dir)); [INFO] [stdout] 1592 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2199:25 [INFO] [stdout] | [INFO] [stdout] 2199 | let output = if let Some(timeout) = self.timeout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2199 ~ let output = match self.timeout { Some(timeout) => { [INFO] [stdout] 2200 | let child = self.raw; [INFO] [stdout] ... [INFO] [stdout] 2223 | } [INFO] [stdout] 2224 ~ } _ => { [INFO] [stdout] 2225 | self.raw.wait_with_output() [INFO] [stdout] 2226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2409:12 [INFO] [stdout] | [INFO] [stdout] 2409 | if let Some(stdin_fd) = &self.stdin_pty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2411:9 [INFO] [stdout] | [INFO] [stdout] 2411 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2409 ~ match &self.stdin_pty { Some(stdin_fd) => { [INFO] [stdout] 2410 | Box::new(BufWriter::new(stdin_fd.try_clone().unwrap())) [INFO] [stdout] 2411 ~ } _ => { [INFO] [stdout] 2412 | let stdin: &mut std::process::ChildStdin = self.raw.stdin.as_mut().unwrap(); [INFO] [stdout] 2413 | Box::new(BufWriter::new(stdin)) [INFO] [stdout] 2414 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2418:12 [INFO] [stdout] | [INFO] [stdout] 2418 | if let Some(stdin_fd) = mem::take(&mut self.stdin_pty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2420:9 [INFO] [stdout] | [INFO] [stdout] 2420 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2418 ~ match mem::take(&mut self.stdin_pty) { Some(stdin_fd) => { [INFO] [stdout] 2419 | Box::new(BufWriter::new(stdin_fd)) [INFO] [stdout] 2420 ~ } _ => { [INFO] [stdout] 2421 | let stdin = self [INFO] [stdout] ... [INFO] [stdout] 2427 | Box::new(BufWriter::new(stdin)) [INFO] [stdout] 2428 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/by-util/test_dd.rs:1598:8 [INFO] [stdout] | [INFO] [stdout] 1598 | if let Ok(result) = run_ucmd_as_root_with_stdin_stdout( [INFO] [stdout] | ________^ - [INFO] [stdout] | |_________________________| [INFO] [stdout] 1599 | || &ts, [INFO] [stdout] 1600 | || &["bs=1", "skip=10000000000000000", "count=0", "status=noxfer"], [INFO] [stdout] 1601 | || Some("/dev/sda1"), [INFO] [stdout] 1602 | || None, [INFO] [stdout] 1603 | || ) { [INFO] [stdout] | ||_____^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/by-util/test_dd.rs:1608:5 [INFO] [stdout] | [INFO] [stdout] 1608 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1598 ~ match run_ucmd_as_root_with_stdin_stdout( [INFO] [stdout] 1599 | &ts, [INFO] [stdout] ... [INFO] [stdout] 1602 | None, [INFO] [stdout] 1603 ~ ) { Ok(result) => { [INFO] [stdout] 1604 | result.stderr_contains("dd: 'standard input': cannot skip: Invalid argument"); [INFO] [stdout] ... [INFO] [stdout] 1607 | result.code_is(1); [INFO] [stdout] 1608 ~ } _ => { [INFO] [stdout] 1609 | print!("Test skipped; requires root user"); [INFO] [stdout] 1610 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/by-util/test_dd.rs:1619:8 [INFO] [stdout] | [INFO] [stdout] 1619 | if let Ok(result) = run_ucmd_as_root_with_stdin_stdout( [INFO] [stdout] | ________^ - [INFO] [stdout] | |_________________________| [INFO] [stdout] 1620 | || &ts, [INFO] [stdout] 1621 | || &["bs=1", "seek=10000000000000000", "count=0", "status=noxfer"], [INFO] [stdout] 1622 | || None, [INFO] [stdout] 1623 | || Some("/dev/sda1"), [INFO] [stdout] 1624 | || ) { [INFO] [stdout] | ||_____^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/by-util/test_dd.rs:1629:5 [INFO] [stdout] | [INFO] [stdout] 1629 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1619 ~ match run_ucmd_as_root_with_stdin_stdout( [INFO] [stdout] 1620 | &ts, [INFO] [stdout] ... [INFO] [stdout] 1623 | Some("/dev/sda1"), [INFO] [stdout] 1624 ~ ) { Ok(result) => { [INFO] [stdout] 1625 | result.stderr_contains("dd: 'standard output': cannot seek: Invalid argument"); [INFO] [stdout] ... [INFO] [stdout] 1628 | result.code_is(1); [INFO] [stdout] 1629 ~ } _ => { [INFO] [stdout] 1630 | print!("Test skipped; requires root user"); [INFO] [stdout] 1631 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_util_name` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/macros.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | ($e:expr, ..$n:expr) => {{ [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] 9 | ($e:expr_2021, ..$n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * tests/common/util.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | ($e:expr, ..$n:expr) => {{ [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] 9 | ($e:expr, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | ($($e:expr),*) => {{ [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] 18 | ($($e:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/macros.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | ( $e:expr ) => { [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] 84 | ( $e:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/macros.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($e:expr_2021, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | ($e:expr_2021, ..$n:expr_2021) => {{ [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] --> tests/common/macros.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | ($($e:expr_2021),*) => {{ [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] --> tests/common/macros.rs:84:7 [INFO] [stderr] | [INFO] [stderr] 84 | ( $e:expr_2021 ) => { [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] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:185:59 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:200:63 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:215:59 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> tests/common/util.rs:230:63 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `expensive_tests` [INFO] [stderr] --> tests/common/util.rs:3319:20 [INFO] [stderr] | [INFO] [stderr] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stderr] = help: consider adding `expensive_tests` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 5 warnings emitted [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: unexpected `cfg` condition value: `expensive_tests` [INFO] [stdout] --> tests/common/util.rs:3319:20 [INFO] [stdout] | [INFO] [stdout] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stdout] = help: consider adding `expensive_tests` 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1499:12 [INFO] [stdout] | [INFO] [stdout] 1499 | if let Some(mut captured_output_i) = captured_output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1511:9 [INFO] [stdout] | [INFO] [stdout] 1511 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1499 ~ match captured_output { Some(mut captured_output_i) => { [INFO] [stdout] 1500 | let fd = captured_output_i.try_clone().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1510 | Some(captured_output_i) [INFO] [stdout] 1511 ~ } _ => { [INFO] [stdout] 1512 | None [INFO] [stdout] 1513 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1585:19 [INFO] [stdout] | [INFO] [stdout] 1585 | } else if let Some(temp_dir) = &self.tmpd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1585 ~ } else { match &self.tmpd { Some(temp_dir) => { [INFO] [stdout] 1586 | command.current_dir(temp_dir.path()); [INFO] [stdout] 1587 ~ } _ => { [INFO] [stdout] 1588 | let temp_dir = tempfile::tempdir().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1591 | self.tmpd = Some(Rc::new(temp_dir)); [INFO] [stdout] 1592 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2199:25 [INFO] [stdout] | [INFO] [stdout] 2199 | let output = if let Some(timeout) = self.timeout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2199 ~ let output = match self.timeout { Some(timeout) => { [INFO] [stdout] 2200 | let child = self.raw; [INFO] [stdout] ... [INFO] [stdout] 2223 | } [INFO] [stdout] 2224 ~ } _ => { [INFO] [stdout] 2225 | self.raw.wait_with_output() [INFO] [stdout] 2226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2409:12 [INFO] [stdout] | [INFO] [stdout] 2409 | if let Some(stdin_fd) = &self.stdin_pty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2411:9 [INFO] [stdout] | [INFO] [stdout] 2411 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2409 ~ match &self.stdin_pty { Some(stdin_fd) => { [INFO] [stdout] 2410 | Box::new(BufWriter::new(stdin_fd.try_clone().unwrap())) [INFO] [stdout] 2411 ~ } _ => { [INFO] [stdout] 2412 | let stdin: &mut std::process::ChildStdin = self.raw.stdin.as_mut().unwrap(); [INFO] [stdout] 2413 | Box::new(BufWriter::new(stdin)) [INFO] [stdout] 2414 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2418:12 [INFO] [stdout] | [INFO] [stdout] 2418 | if let Some(stdin_fd) = mem::take(&mut self.stdin_pty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/common/util.rs:2420:9 [INFO] [stdout] | [INFO] [stdout] 2420 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2418 ~ match mem::take(&mut self.stdin_pty) { Some(stdin_fd) => { [INFO] [stdout] 2419 | Box::new(BufWriter::new(stdin_fd)) [INFO] [stdout] 2420 ~ } _ => { [INFO] [stdout] 2421 | let stdin = self [INFO] [stdout] ... [INFO] [stdout] 2427 | Box::new(BufWriter::new(stdin)) [INFO] [stdout] 2428 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.94s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling coreutils v0.0.27 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `expensive_tests` [INFO] [stdout] --> tests/common/util.rs:3319:20 [INFO] [stdout] | [INFO] [stdout] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stdout] = help: consider adding `expensive_tests` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn stdout_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn stdout_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn stderr_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/common/util.rs:230:63 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn stderr_str_check<'a, F>(&'a self, predicate: F) -> &Self [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `expensive_tests` [INFO] [stdout] --> tests/common/util.rs:3319:20 [INFO] [stdout] | [INFO] [stdout] 3319 | #[cfg_attr(not(feature = "expensive_tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arch`, `base32`, `base64`, `basename`, `basenc`, `cat`, `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `cksum`, `comm`, `cp`, `csplit`, `cut`, `date`, `dd`, `default`, `df`, `dir`, `dircolors`, `dirname`, `du`, `echo`, `env`, `expand`, `expr`, `factor`, `false`, `feat_Tier1`, `feat_acl`, `feat_common_core`, `feat_os_macos`, and `feat_os_unix` and 95 more [INFO] [stdout] = help: consider adding `expensive_tests` 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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | env::set_var("SHELL", "/path/csh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env::set_var("SHELL", "csh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | env::set_var("SHELL", "/path/bash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env::set_var("SHELL", "bash"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | env::set_var("SHELL", "/asd/bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | env::set_var("SHELL", "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var("SHELL", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | env::remove_var("SHELL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_dircolors.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | env::set_var("SHELL", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/by-util/test_split.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | env::set_var("FILE", env_var_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coreutils` (test "tests") due to 11 previous errors; 5 warnings emitted [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" "1877c938b349f30a4cac5ca82b6e94d02b884f2a82db782dfec7bedb30de3d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1877c938b349f30a4cac5ca82b6e94d02b884f2a82db782dfec7bedb30de3d8e", kill_on_drop: false }` [INFO] [stdout] 1877c938b349f30a4cac5ca82b6e94d02b884f2a82db782dfec7bedb30de3d8e