[INFO] fetching crate cargo-msrv 0.16.3... [INFO] checking cargo-msrv-0.16.3 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate cargo-msrv 0.16.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cargo-msrv 0.16.3 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-msrv 0.16.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-msrv 0.16.3 [INFO] tweaked toml for crates.io crate cargo-msrv 0.16.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-msrv 0.16.3 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b759efe76d6bbb48e4f636c75b03d561a40f9b66f102fb335dd9757e7ba66eb [INFO] running `Command { std: "docker" "start" "-a" "8b759efe76d6bbb48e4f636c75b03d561a40f9b66f102fb335dd9757e7ba66eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b759efe76d6bbb48e4f636c75b03d561a40f9b66f102fb335dd9757e7ba66eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b759efe76d6bbb48e4f636c75b03d561a40f9b66f102fb335dd9757e7ba66eb", kill_on_drop: false }` [INFO] [stdout] 8b759efe76d6bbb48e4f636c75b03d561a40f9b66f102fb335dd9757e7ba66eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e143bab23af228da4aa107796723695eca23f18fec272f99043cde4e3f25f5b4 [INFO] running `Command { std: "docker" "start" "-a" "e143bab23af228da4aa107796723695eca23f18fec272f99043cde4e3f25f5b4", 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 proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking block-buffer v0.10.4 [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 mio v1.0.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking allocator-api2 v0.2.19 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking ansitok v0.2.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ansi-str v0.8.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling tabled_derive v0.8.0 [INFO] [stderr] Checking papergrid v0.12.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking aws-smithy-types v1.2.9 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.5 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking aws-smithy-http v0.60.11 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking aws-credential-types v1.2.1 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking aws-sigv4 v1.2.5 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking rust-releases-core v0.28.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking aws-smithy-checksums v0.60.13 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking tabled v0.16.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking rust-releases-io v0.28.0 [INFO] [stderr] Checking clap-cargo v0.14.1 [INFO] [stderr] Checking rust-releases-rust-changelog v0.28.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking storyteller v1.0.0 [INFO] [stderr] Checking terminal_size v0.4.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking bisector v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Compiling parameterized-macro v2.0.0 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Compiling yare-macro v3.0.0 [INFO] [stderr] Checking assert_fs v1.1.2 [INFO] [stderr] Checking phenomenon v1.0.0 [INFO] [stderr] Checking parameterized v2.0.0 [INFO] [stderr] Checking yare v3.0.0 [INFO] [stderr] Compiling cargo-msrv v0.16.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] warning: cargo-msrv@0.16.3: not within a suitable 'git' worktree! [INFO] [stderr] warning: cargo-msrv@0.16.3: VERGEN_GIT_SHA set to default [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.7.3 [INFO] [stderr] Checking aws-runtime v1.4.3 [INFO] [stderr] Checking aws-sdk-ssooidc v1.50.0 [INFO] [stderr] Checking aws-sdk-sts v1.49.0 [INFO] [stderr] Checking aws-sdk-sso v1.49.0 [INFO] [stderr] Checking aws-sdk-s3 v1.60.0 [INFO] [stderr] Checking aws-config v1.5.10 [INFO] [stderr] Checking rust-releases-rust-dist v0.28.0 [INFO] [stderr] Checking rust-releases v0.28.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cargo_msrv` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/reporter/testing.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: ambiguous `+` in a type [INFO] [stderr] --> src/reporter/testing.rs:55:27 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get(&self) -> &impl Reporter + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get(&self) -> &(impl Reporter + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/reporter/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let gen = reporter.scope_generator(); [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/reporter/mod.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | let set = iter::repeat_with(|| gen.generate()) [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/reporter/event/scope.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let gen = ScopeCounter::new(); [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/reporter/event/scope.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(gen.counter.load(Ordering::Relaxed), 0); [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/reporter/event/scope.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let gen = ScopeCounter::new(); [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/reporter/event/scope.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let (start, end) = gen.generate(); [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/reporter/event/scope.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let gen = ScopeCounter::new(); [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/reporter/event/scope.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | let (start, end) = gen.generate(); [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/reporter/event/scope.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let (start, end) = gen.generate(); [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/reporter/event/scope.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let gen = ScopeCounter::new(); [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/reporter/event/scope.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | gen.generate(); [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/reporter/event/scope.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let (start, end) = gen.generate(); [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if let Self::Find(ctx) = self { [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/context/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | } 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] 90 ~ match self { Self::Find(ctx) => { [INFO] [stdout] 91 | Some(ctx) [INFO] [stdout] 92 ~ } _ => { [INFO] [stdout] 93 | None [INFO] [stdout] 94 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | if let Self::Verify(ctx) = self { [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/context/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 99 ~ match self { Self::Verify(ctx) => { [INFO] [stdout] 100 | Some(ctx) [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | None [INFO] [stdout] 103 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/mod.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | let workspace_packages = if let Ok(metadata) = cargo_metadata::MetadataCommand::new() [INFO] [stdout] | _____________________________________^ - [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] 299 | || .manifest_path(root_crate_path.join("Cargo.toml")) [INFO] [stdout] 300 | || .exec() [INFO] [stdout] | ||___________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 298 ~ let workspace_packages = match cargo_metadata::MetadataCommand::new() [INFO] [stdout] 299 | .manifest_path(root_crate_path.join("Cargo.toml")) [INFO] [stdout] 300 | .exec() [INFO] [stdout] 301 ~ { Ok(metadata) => { [INFO] [stdout] 302 | let partition = opts.workspace.partition_packages(&metadata); [INFO] [stdout] ... [INFO] [stdout] 314 | WorkspacePackages::from_vec(selected) [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | info!( [INFO] [stdout] ... [INFO] [stdout] 322 | WorkspacePackages::default() [INFO] [stdout] 323 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dependency_graph/resolver.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(dependencies) = result.resolve { [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/dependency_graph/resolver.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 32 ~ match result.resolve { Some(dependencies) => { [INFO] [stdout] 33 | let node_alloc = dependencies.nodes.len(); [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(graph) [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | Ok(DependencyGraph::empty(our_crate)) [INFO] [stdout] 41 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reporter/event/types/set_result.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Message::SubcommandResult(SubcommandResult::Set(msg)) = &events[0].message { [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/reporter/event/types/set_result.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match &events[0].message { Message::SubcommandResult(SubcommandResult::Set(msg)) => { [INFO] [stdout] 75 | assert_eq!(msg.version(), &BareVersion::TwoComponents(14, 10)); [INFO] [stdout] 76 | assert_eq!(&msg.manifest_path(), &Utf8Path::new("wave")); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reporter/event/types/show_result.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if let Message::SubcommandResult(SubcommandResult::Show(msg)) = &events[0].message { [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/reporter/event/types/show_result.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ match &events[0].message { Message::SubcommandResult(SubcommandResult::Show(msg)) => { [INFO] [stdout] 77 | assert_eq!(msg.version(), &BareVersion::ThreeComponents(1, 2, 3)); [INFO] [stdout] 78 | assert_eq!(&msg.manifest_path(), &Utf8Path::new("lv")); [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reporter/event/termination.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if let Message::TerminateWithFailure(msg) = &events[0].message { [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/reporter/event/termination.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match &events[0].message { Message::TerminateWithFailure(msg) => { [INFO] [stdout] 73 | assert!(!msg.should_highlight()); [INFO] [stdout] 74 | assert_eq!(msg.as_message(), "Unable to print event output"); [INFO] [stdout] 75 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reporter/event/termination.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Message::TerminateWithFailure(msg) = &events[0].message { [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/reporter/event/termination.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match &events[0].message { Message::TerminateWithFailure(msg) => { [INFO] [stdout] 95 | assert!(msg.should_highlight()); [INFO] [stdout] ... [INFO] [stdout] 98 | .starts_with("Unable to find a Minimum Supported Rust Version (MSRV)")); [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/reporter/ui/minimal.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if let Message::SubcommandResult(result) = event.message() { [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/reporter/ui/minimal.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ match event.message() { Message::SubcommandResult(result) => { [INFO] [stdout] 77 | match result { [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] 100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Reporter` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/reporter/testing.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(&self) -> &impl Reporter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/reporter/testing.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(&self) -> &impl Reporter { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get(&self) -> &impl Reporter + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/reporter/mod.rs (2 fixes) [INFO] [stderr] Fixed src/reporter/ui/minimal.rs (1 fix) [INFO] [stderr] Fixed src/dependency_graph/resolver.rs (1 fix) [INFO] [stderr] Fixed src/context/mod.rs (3 fixes) [INFO] [stderr] Fixed src/reporter/event/scope.rs (10 fixes) [INFO] [stderr] Migrating src/bin/cargo-msrv.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/user_output.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `user_output` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/reporter.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: ambiguous `+` in a type [INFO] [stderr] --> tests/common/reporter.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &(impl Reporter + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/verify_msrv.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Reporter` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/common/reporter.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> tests/common/reporter.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `verify_msrv` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/reporter.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: ambiguous `+` in a type [INFO] [stderr] --> tests/common/reporter.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &(impl Reporter + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl Reporter` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/common/reporter.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> tests/common/reporter.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/find_msrv.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `find_msrv` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/reporter.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: ambiguous `+` in a type [INFO] [stderr] --> tests/common/reporter.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 104 | pub fn reporter(&self) -> &(impl Reporter + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl Reporter` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/common/reporter.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> tests/common/reporter.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 104 | pub fn reporter(&self) -> &impl Reporter + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 44s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling cargo-msrv v0.16.3 (/tmp/fixit) [INFO] [stderr] warning: cargo-msrv@0.16.3: not within a suitable 'git' worktree! [INFO] [stderr] warning: cargo-msrv@0.16.3: VERGEN_GIT_SHA set to default [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/writer/toolchain_file.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 240 | let check = message.contains({ [INFO] [stdout] | -------- borrow later used by call [INFO] [stdout] 241 | / format!( [INFO] [stdout] 242 | | "caused by: 'Unable to write file '{}'", [INFO] [stdout] 243 | | expected_path.display() [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_____________^ creates a temporary value which is freed while still in use [INFO] [stdout] 245 | .as_str() [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] warning: cargo-msrv@0.16.3: not within a suitable 'git' worktree! [INFO] [stderr] warning: cargo-msrv@0.16.3: VERGEN_GIT_SHA set to default [INFO] [stderr] error: could not compile `cargo-msrv` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "e143bab23af228da4aa107796723695eca23f18fec272f99043cde4e3f25f5b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e143bab23af228da4aa107796723695eca23f18fec272f99043cde4e3f25f5b4", kill_on_drop: false }` [INFO] [stdout] e143bab23af228da4aa107796723695eca23f18fec272f99043cde4e3f25f5b4