[INFO] fetching crate cdx 0.1.22... [INFO] checking cdx-0.1.22 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate cdx 0.1.22 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cdx 0.1.22 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 crates.io crate cdx 0.1.22 [INFO] finished tweaking crates.io crate cdx 0.1.22 [INFO] tweaked toml for crates.io crate cdx 0.1.22 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate cdx 0.1.22 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b5df205ccec7ee2fd2527496fca19b3f3ea94323d3ba77f653a1f482fe531e2 [INFO] running `Command { std: "docker" "start" "-a" "1b5df205ccec7ee2fd2527496fca19b3f3ea94323d3ba77f653a1f482fe531e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b5df205ccec7ee2fd2527496fca19b3f3ea94323d3ba77f653a1f482fe531e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5df205ccec7ee2fd2527496fca19b3f3ea94323d3ba77f653a1f482fe531e2", kill_on_drop: false }` [INFO] [stdout] 1b5df205ccec7ee2fd2527496fca19b3f3ea94323d3ba77f653a1f482fe531e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] f3b306becbddf5d87573e988d8e9275d1b4d863fc9bf03f70f859c2b4bc8166a [INFO] running `Command { std: "docker" "start" "-a" "f3b306becbddf5d87573e988d8e9275d1b4d863fc9bf03f70f859c2b4bc8166a", 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] Compiling libc v0.2.154 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling aws-types v1.2.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling crc32c v0.6.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking aws-smithy-xml v0.60.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking binary-heap-plus v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking unicode-truncate v1.0.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking aws-smithy-types v1.1.8 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking aws-smithy-runtime-api v1.5.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.4 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking aws-smithy-http v0.60.8 [INFO] [stderr] Checking aws-credential-types v1.2.0 [INFO] [stderr] Checking aws-sigv4 v1.2.1 [INFO] [stderr] Checking aws-smithy-checksums v0.60.7 [INFO] [stderr] Checking aws-runtime v1.2.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.4.0 [INFO] [stderr] Checking aws-sdk-sso v1.22.0 [INFO] [stderr] Checking aws-sdk-sts v1.22.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.22.0 [INFO] [stderr] Checking aws-sdk-s3 v1.25.0 [INFO] [stderr] Checking aws-config v1.3.0 [INFO] [stderr] Checking cdx v0.1.22 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cdx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/expr.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] --> src/expr.rs:120:6 [INFO] [stderr] | [INFO] [stderr] 120 | ($a:expr_2021,$b: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] --> src/expr.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | ($a:expr_2021,$b: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] --> src/expr.rs:175:6 [INFO] [stderr] | [INFO] [stderr] 175 | ($a:expr_2021,$b: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] --> src/expr.rs:175:19 [INFO] [stderr] | [INFO] [stderr] 175 | ($a:expr_2021,$b: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: aborting due to 4 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub gen: Box, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | gen: Box::new(NullGen {}), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | x.gen.write(&mut self.tmp, &loc)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | gen: (x.maker)(pattern)?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/comp.rs:816:23 [INFO] [stdout] | [INFO] [stdout] 816 | const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 816 - const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] 816 + const _: () = assert!(size_of::() == 16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | ($a:expr,$b: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] 120 | ($a:expr_2021,$b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | ($a:expr,$b: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] 120 | ($a:expr,$b: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] --> src/expr.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | ($a:expr,$b: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] 175 | ($a:expr_2021,$b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | ($a:expr,$b: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] 175 | ($a:expr,$b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 348 - let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] 348 + let ptr_size = max_alloc / 2 / size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Ok(f) = x { [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] --> src/expr.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } 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] 27 ~ match x { Ok(f) => { [INFO] [stdout] 28 | (f, b) [INFO] [stdout] 29 ~ } _ => { [INFO] [stdout] 30 | (dflt, spec) [INFO] [stdout] 31 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if let Ok(o) = op1 { [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] --> src/matcher.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | } 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] 960 ~ match op1 { Ok(o) => { [INFO] [stdout] 961 | pattern = &pattern[2..]; [INFO] [stdout] 962 | op = o; [INFO] [stdout] 963 ~ } _ => { [INFO] [stdout] 964 | let op1 = pattern[0..1].parse::(); [INFO] [stdout] ... [INFO] [stdout] 973 | } [INFO] [stdout] 974 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:965:16 [INFO] [stdout] | [INFO] [stdout] 965 | if let Ok(o) = op1 { [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] --> src/matcher.rs:968:13 [INFO] [stdout] | [INFO] [stdout] 968 | } else if let Some((a, b)) = pattern.split_once('.') { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 965 ~ match op1 { Ok(o) => { [INFO] [stdout] 966 | pattern = &pattern[1..]; [INFO] [stdout] 967 | op = o; [INFO] [stdout] 968 ~ } _ => if let Some((a, b)) = pattern.split_once('.') { [INFO] [stdout] 969 | op = a.parse::()?; [INFO] [stdout] ... [INFO] [stdout] 972 | return err!("CompMatcher format is OpColumns,Comparator, '{}'", pattern); [INFO] [stdout] 973 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:1876:12 [INFO] [stdout] | [INFO] [stdout] 1876 | if let Some(mm) = m.multi_mode { [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] --> src/matcher.rs:1888:9 [INFO] [stdout] | [INFO] [stdout] 1888 | } 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] 1876 ~ match m.multi_mode { Some(mm) => { [INFO] [stdout] 1877 | let mut outer = Box::new(MatcherList::new_with(mm)); [INFO] [stdout] ... [INFO] [stdout] 1887 | m.matcher = outer; [INFO] [stdout] 1888 ~ } _ => { [INFO] [stdout] 1889 | Self::remake(&mut m, pattern)?; [INFO] [stdout] 1890 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1083:12 [INFO] [stdout] | [INFO] [stdout] 1083 | if let Some(bytes) = &self.left { [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] --> src/util.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | } 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] 1083 ~ match &self.left { Some(bytes) => { [INFO] [stdout] 1084 | if bytes.len() > buf.len() { [INFO] [stdout] ... [INFO] [stdout] 1093 | } [INFO] [stdout] 1094 ~ } _ => { [INFO] [stdout] 1095 | Ok(0) [INFO] [stdout] 1096 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:2167:12 [INFO] [stdout] | [INFO] [stdout] 2167 | if let Some(caps) = RE1.captures(spec) { [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] 2174 | } else if let Some(caps) = RE2.captures(spec) { [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] 2181 | } else if let Some(caps) = RE3.captures(spec) { [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] 2188 | } else if let Some(caps) = RE4.captures(spec) { [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] --> src/util.rs:2174:9 [INFO] [stdout] | [INFO] [stdout] 2174 | } else if let Some(caps) = RE2.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2181:9 [INFO] [stdout] | [INFO] [stdout] 2181 | } else if let Some(caps) = RE3.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2188:9 [INFO] [stdout] | [INFO] [stdout] 2188 | } else if let Some(caps) = RE4.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2195:9 [INFO] [stdout] | [INFO] [stdout] 2195 | } 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] 2167 ~ match RE1.captures(spec) { Some(caps) => { [INFO] [stdout] 2168 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2173 | }) [INFO] [stdout] 2174 ~ } _ => { match RE2.captures(spec) { Some(caps) => { [INFO] [stdout] 2175 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2180 | }) [INFO] [stdout] 2181 ~ } _ => { match RE3.captures(spec) { Some(caps) => { [INFO] [stdout] 2182 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2187 | }) [INFO] [stdout] 2188 ~ } _ => { match RE4.captures(spec) { Some(caps) => { [INFO] [stdout] 2189 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2194 | }) [INFO] [stdout] 2195 ~ } _ => { [INFO] [stdout] 2196 | err!("Not valid range spec '{}'", spec) [INFO] [stdout] 2197 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:2208:12 [INFO] [stdout] | [INFO] [stdout] 2208 | if let Some(caps) = RE1.captures(spec) { [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] 2218 | } else if let Some(caps) = RE2.captures(spec) { [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] 2228 | } else if let Some(caps) = RE3.captures(spec) { [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] 2238 | } else if let Some(caps) = RE4.captures(spec) { [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] --> src/util.rs:2218:9 [INFO] [stdout] | [INFO] [stdout] 2218 | } else if let Some(caps) = RE2.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2228:9 [INFO] [stdout] | [INFO] [stdout] 2228 | } else if let Some(caps) = RE3.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2238:9 [INFO] [stdout] | [INFO] [stdout] 2238 | } else if let Some(caps) = RE4.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2248:9 [INFO] [stdout] | [INFO] [stdout] 2248 | } 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] 2208 ~ match RE1.captures(spec) { Some(caps) => { [INFO] [stdout] 2209 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2217 | )) [INFO] [stdout] 2218 ~ } _ => { match RE2.captures(spec) { Some(caps) => { [INFO] [stdout] 2219 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2227 | )) [INFO] [stdout] 2228 ~ } _ => { match RE3.captures(spec) { Some(caps) => { [INFO] [stdout] 2229 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2237 | )) [INFO] [stdout] 2238 ~ } _ => { match RE4.captures(spec) { Some(caps) => { [INFO] [stdout] 2239 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2247 | )) [INFO] [stdout] 2248 ~ } _ => { [INFO] [stdout] 2249 | err!("Not valid trailing range spec '{}'", spec) [INFO] [stdout] 2250 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/cdx/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cdx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/column.rs [INFO] [stderr] * src/expr.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] --> src/column.rs:1659:3 [INFO] [stderr] | [INFO] [stderr] 1659 | ($expression:expr_2021, $($pattern:tt)+) => { [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] --> src/expr.rs:120:6 [INFO] [stderr] | [INFO] [stderr] 120 | ($a:expr_2021,$b: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] --> src/expr.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | ($a:expr_2021,$b: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] --> src/expr.rs:175:6 [INFO] [stderr] | [INFO] [stderr] 175 | ($a:expr_2021,$b: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] --> src/expr.rs:175:19 [INFO] [stderr] | [INFO] [stderr] 175 | ($a:expr_2021,$b: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: aborting due to 5 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub gen: Box, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | gen: Box::new(NullGen {}), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | x.gen.write(&mut self.tmp, &loc)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/textgen.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | gen: (x.maker)(pattern)?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/column.rs:1659:15 [INFO] [stdout] | [INFO] [stdout] 1659 | ($expression:expr, $($pattern:tt)+) => { [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] 1659 | ($expression:expr_2021, $($pattern:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/comp.rs:816:23 [INFO] [stdout] | [INFO] [stdout] 816 | const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 816 - const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] 816 + const _: () = assert!(size_of::() == 16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | ($a:expr,$b: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] 120 | ($a:expr_2021,$b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | ($a:expr,$b: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] 120 | ($a:expr,$b: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] --> src/expr.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | ($a:expr,$b: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] 175 | ($a:expr_2021,$b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/expr.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | ($a:expr,$b: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] 175 | ($a:expr,$b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 348 - let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] 348 + let ptr_size = max_alloc / 2 / size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Ok(f) = x { [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] --> src/expr.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } 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] 27 ~ match x { Ok(f) => { [INFO] [stdout] 28 | (f, b) [INFO] [stdout] 29 ~ } _ => { [INFO] [stdout] 30 | (dflt, spec) [INFO] [stdout] 31 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if let Ok(o) = op1 { [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] --> src/matcher.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | } 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] 960 ~ match op1 { Ok(o) => { [INFO] [stdout] 961 | pattern = &pattern[2..]; [INFO] [stdout] 962 | op = o; [INFO] [stdout] 963 ~ } _ => { [INFO] [stdout] 964 | let op1 = pattern[0..1].parse::(); [INFO] [stdout] ... [INFO] [stdout] 973 | } [INFO] [stdout] 974 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:965:16 [INFO] [stdout] | [INFO] [stdout] 965 | if let Ok(o) = op1 { [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] --> src/matcher.rs:968:13 [INFO] [stdout] | [INFO] [stdout] 968 | } else if let Some((a, b)) = pattern.split_once('.') { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 965 ~ match op1 { Ok(o) => { [INFO] [stdout] 966 | pattern = &pattern[1..]; [INFO] [stdout] 967 | op = o; [INFO] [stdout] 968 ~ } _ => if let Some((a, b)) = pattern.split_once('.') { [INFO] [stdout] 969 | op = a.parse::()?; [INFO] [stdout] ... [INFO] [stdout] 972 | return err!("CompMatcher format is OpColumns,Comparator, '{}'", pattern); [INFO] [stdout] 973 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matcher.rs:1876:12 [INFO] [stdout] | [INFO] [stdout] 1876 | if let Some(mm) = m.multi_mode { [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] --> src/matcher.rs:1888:9 [INFO] [stdout] | [INFO] [stdout] 1888 | } 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] 1876 ~ match m.multi_mode { Some(mm) => { [INFO] [stdout] 1877 | let mut outer = Box::new(MatcherList::new_with(mm)); [INFO] [stdout] ... [INFO] [stdout] 1887 | m.matcher = outer; [INFO] [stdout] 1888 ~ } _ => { [INFO] [stdout] 1889 | Self::remake(&mut m, pattern)?; [INFO] [stdout] 1890 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1083:12 [INFO] [stdout] | [INFO] [stdout] 1083 | if let Some(bytes) = &self.left { [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] --> src/util.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | } 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] 1083 ~ match &self.left { Some(bytes) => { [INFO] [stdout] 1084 | if bytes.len() > buf.len() { [INFO] [stdout] ... [INFO] [stdout] 1093 | } [INFO] [stdout] 1094 ~ } _ => { [INFO] [stdout] 1095 | Ok(0) [INFO] [stdout] 1096 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:2167:12 [INFO] [stdout] | [INFO] [stdout] 2167 | if let Some(caps) = RE1.captures(spec) { [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] 2174 | } else if let Some(caps) = RE2.captures(spec) { [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] 2181 | } else if let Some(caps) = RE3.captures(spec) { [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] 2188 | } else if let Some(caps) = RE4.captures(spec) { [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] --> src/util.rs:2174:9 [INFO] [stdout] | [INFO] [stdout] 2174 | } else if let Some(caps) = RE2.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2181:9 [INFO] [stdout] | [INFO] [stdout] 2181 | } else if let Some(caps) = RE3.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2188:9 [INFO] [stdout] | [INFO] [stdout] 2188 | } else if let Some(caps) = RE4.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2195:9 [INFO] [stdout] | [INFO] [stdout] 2195 | } 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] 2167 ~ match RE1.captures(spec) { Some(caps) => { [INFO] [stdout] 2168 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2173 | }) [INFO] [stdout] 2174 ~ } _ => { match RE2.captures(spec) { Some(caps) => { [INFO] [stdout] 2175 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2180 | }) [INFO] [stdout] 2181 ~ } _ => { match RE3.captures(spec) { Some(caps) => { [INFO] [stdout] 2182 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2187 | }) [INFO] [stdout] 2188 ~ } _ => { match RE4.captures(spec) { Some(caps) => { [INFO] [stdout] 2189 | Ok(Self { [INFO] [stdout] ... [INFO] [stdout] 2194 | }) [INFO] [stdout] 2195 ~ } _ => { [INFO] [stdout] 2196 | err!("Not valid range spec '{}'", spec) [INFO] [stdout] 2197 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:2208:12 [INFO] [stdout] | [INFO] [stdout] 2208 | if let Some(caps) = RE1.captures(spec) { [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] 2218 | } else if let Some(caps) = RE2.captures(spec) { [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] 2228 | } else if let Some(caps) = RE3.captures(spec) { [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] 2238 | } else if let Some(caps) = RE4.captures(spec) { [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] --> src/util.rs:2218:9 [INFO] [stdout] | [INFO] [stdout] 2218 | } else if let Some(caps) = RE2.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2228:9 [INFO] [stdout] | [INFO] [stdout] 2228 | } else if let Some(caps) = RE3.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2238:9 [INFO] [stdout] | [INFO] [stdout] 2238 | } else if let Some(caps) = RE4.captures(spec) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:2248:9 [INFO] [stdout] | [INFO] [stdout] 2248 | } 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] 2208 ~ match RE1.captures(spec) { Some(caps) => { [INFO] [stdout] 2209 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2217 | )) [INFO] [stdout] 2218 ~ } _ => { match RE2.captures(spec) { Some(caps) => { [INFO] [stdout] 2219 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2227 | )) [INFO] [stdout] 2228 ~ } _ => { match RE3.captures(spec) { Some(caps) => { [INFO] [stdout] 2229 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2237 | )) [INFO] [stdout] 2238 ~ } _ => { match RE4.captures(spec) { Some(caps) => { [INFO] [stdout] 2239 | Ok(( [INFO] [stdout] ... [INFO] [stdout] 2247 | )) [INFO] [stdout] 2248 ~ } _ => { [INFO] [stdout] 2249 | err!("Not valid trailing range spec '{}'", spec) [INFO] [stdout] 2250 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cdx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/cdx/args.rs [INFO] [stderr] * src/bin/cdx/cdxmain.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] --> src/bin/cdx/args.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr_2021,$b:expr,$c:expr,$d:expr) => { [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] --> src/bin/cdx/args.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr_2021,$c:expr,$d:expr) => { [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] --> src/bin/cdx/args.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr,$c:expr_2021,$d:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr,$c:expr,$d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr_2021,$c:expr,$d:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr,$c:expr_2021,$d:expr) => { [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] --> src/bin/cdx/args.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr,$c:expr,$d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/bin/cdx/args.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr_2021,$b:expr,$c:expr,$d:expr,$e:expr) => { [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] --> src/bin/cdx/args.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr_2021,$c:expr,$d:expr,$e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] --> src/bin/cdx/args.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr_2021,$d:expr,$e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/bin/cdx/args.rs:34:19 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr,$d:expr_2021,$e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/args.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/args.rs:34:45 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/args.rs:34:58 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/cdxmain.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/cdxmain.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr_2021,$b:expr,$c:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/cdxmain.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr,$b:expr_2021,$c:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/cdxmain.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr,$b:expr,$c:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] --> src/bin/cdx/cdxmain.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c: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] --> src/bin/cdx/cdxmain.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c: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: aborting due to 15 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/cdx/args.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(arg) = m.values_of("input_files") { [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] --> src/bin/cdx/args.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } [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] 190 ~ match m.values_of("input_files") { Some(arg) => { [INFO] [stdout] 191 | for f in arg { [INFO] [stdout] 192 | files.push(f.to_string()); [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/cdx/wc_main.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(pos) = aggs.iter().position(|agg| agg.name == *x) { [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] --> src/bin/cdx/wc_main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | } 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] 102 ~ match aggs.iter().position(|agg| agg.name == *x) { Some(pos) => { [INFO] [stdout] 103 | colmap.push(pos); [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | colmap.push(aggs.len()); [INFO] [stdout] 106 | aggs.push(NamedAgg::new(x, agg.deep_clone())); [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cdx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/cdx/args.rs [INFO] [stderr] * src/bin/cdx/cdxmain.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] --> src/bin/cdx/args.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | ($a:expr_2021,$c:expr_2021,$d: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] --> src/bin/cdx/args.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/args.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$e:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr_2021,$b:expr,$c:expr,$d:expr) => { [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] --> src/bin/cdx/args.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr_2021,$c:expr,$d:expr) => { [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] --> src/bin/cdx/args.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr,$c:expr_2021,$d:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | ($a:expr,$b:expr,$c:expr,$d: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] 6 | ($a:expr,$b:expr,$c:expr,$d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr_2021,$c:expr,$d:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr,$c:expr_2021,$d:expr) => { [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] --> src/bin/cdx/args.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | ($a:expr,$c:expr,$d: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] 20 | ($a:expr,$c:expr,$d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr_2021,$b:expr,$c:expr,$d:expr,$e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/bin/cdx/args.rs:34:32 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr_2021,$c:expr,$d:expr,$e:expr) => { [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] --> src/bin/cdx/args.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr_2021,$d:expr,$e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$e:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/args.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr,$d:expr_2021,$e:expr) => { [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] --> src/bin/cdx/args.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$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] 34 | ($a:expr,$b:expr,$c:expr,$d:expr,$e: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] --> src/bin/cdx/cdxmain.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr_2021,$b:expr,$c:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/cdxmain.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr,$b:expr_2021,$c:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/cdx/cdxmain.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | ($a:expr,$b:expr,$c: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 | ($a:expr,$b:expr,$c:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] --> src/bin/cdx/args.rs:34:45 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/args.rs:34:58 [INFO] [stderr] | [INFO] [stderr] 34 | ($a:expr_2021,$b:expr_2021,$c:expr_2021,$d:expr_2021,$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] --> src/bin/cdx/cdxmain.rs:18:6 [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/cdx/args.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(arg) = m.values_of("input_files") { [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] --> src/bin/cdx/args.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } [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] 190 ~ match m.values_of("input_files") { Some(arg) => { [INFO] [stdout] 191 | for f in arg { [INFO] [stdout] 192 | files.push(f.to_string()); [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c: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] --> src/bin/cdx/cdxmain.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c: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] --> src/bin/cdx/cdxmain.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | ($a:expr_2021,$b:expr_2021,$c: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: aborting due to 15 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bin/cdx/wc_main.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(pos) = aggs.iter().position(|agg| agg.name == *x) { [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] --> src/bin/cdx/wc_main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | } 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] 102 ~ match aggs.iter().position(|agg| agg.name == *x) { Some(pos) => { [INFO] [stdout] 103 | colmap.push(pos); [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | colmap.push(aggs.len()); [INFO] [stdout] 106 | aggs.push(NamedAgg::new(x, agg.deep_clone())); [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.40s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cdx v0.1.22 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct TextGen { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub gen: Box, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 198 | pub r#gen: Box, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | gen: Box::new(NullGen {}), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 204 | r#gen: Box::new(NullGen {}), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | x.gen.write(&mut self.tmp, &loc)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | gen: (x.maker)(pattern)?, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 411 | r#gen: (x.maker)(pattern)?, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct TextGen { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub gen: Box, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 198 | pub r#gen: Box, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | gen: Box::new(NullGen {}), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 204 | r#gen: Box::new(NullGen {}), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | x.gen.write(&mut self.tmp, &loc)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/textgen.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | gen: (x.maker)(pattern)?, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 411 | r#gen: (x.maker)(pattern)?, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/comp.rs:816:23 [INFO] [stdout] | [INFO] [stdout] 816 | const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 816 - const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] 816 + const _: () = assert!(size_of::() == 16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 348 - let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] 348 + let ptr_size = max_alloc / 2 / size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/comp.rs:816:23 [INFO] [stdout] | [INFO] [stdout] 816 | const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 816 - const _: () = assert!(std::mem::size_of::() == 16); [INFO] [stdout] 816 + const _: () = assert!(size_of::() == 16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 348 - let ptr_size = max_alloc / 2 / std::mem::size_of::(); [INFO] [stdout] 348 + let ptr_size = max_alloc / 2 / size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdx` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdx` (lib test) due to 5 previous errors; 2 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" "f3b306becbddf5d87573e988d8e9275d1b4d863fc9bf03f70f859c2b4bc8166a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b306becbddf5d87573e988d8e9275d1b4d863fc9bf03f70f859c2b4bc8166a", kill_on_drop: false }` [INFO] [stdout] f3b306becbddf5d87573e988d8e9275d1b4d863fc9bf03f70f859c2b4bc8166a