[INFO] fetching crate bluejay-validator 0.2.0... [INFO] checking bluejay-validator-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate bluejay-validator 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bluejay-validator 0.2.0 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 bluejay-validator 0.2.0 [INFO] finished tweaking crates.io crate bluejay-validator 0.2.0 [INFO] tweaked toml for crates.io crate bluejay-validator 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 95 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] 0f24f6b9dab4aaec1f7097df0fefedb09a60b70cbd055239c944c44fb3d05cee [INFO] running `Command { std: "docker" "start" "-a" "0f24f6b9dab4aaec1f7097df0fefedb09a60b70cbd055239c944c44fb3d05cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f24f6b9dab4aaec1f7097df0fefedb09a60b70cbd055239c944c44fb3d05cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f24f6b9dab4aaec1f7097df0fefedb09a60b70cbd055239c944c44fb3d05cee", kill_on_drop: false }` [INFO] [stdout] 0f24f6b9dab4aaec1f7097df0fefedb09a60b70cbd055239c944c44fb3d05cee [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] 702476feaa71a91233f254b54f51d10c8c6ffa90d050c2f39569f52fa5bea6e3 [INFO] running `Command { std: "docker" "start" "-a" "702476feaa71a91233f254b54f51d10c8c6ffa90d050c2f39569f52fa5bea6e3", 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 serde v1.0.210 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bluejay-core v0.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking bluejay-parser v0.2.0 [INFO] [stderr] Checking bluejay-validator v0.2.0 (/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 `bluejay_validator` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/chain_iters.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | ( $first:expr, $( $rest: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] 11 | ( $first:expr_2021, $( $rest: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/chain_iters.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | ( $first:expr, $( $rest: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] 11 | ( $first:expr, $( $rest:expr_2021 ),+ $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/chain_iters.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ( $iter:expr ) => { $iter }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 14 | ( $iter:expr_2021 ) => { $iter }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] * src/chain_iters.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/chain_iters.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | ( $first:expr_2021, $( $rest: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/chain_iters.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | ( $first:expr_2021, $( $rest: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] [stdout] warning: `impl Iterator::OperationDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variable_usages_allowed.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> impl Iterator { [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/executable/document/rules/all_variable_usages_allowed.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &self, [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 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/chain_iters.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | ( $iter:expr_2021 ) => { $iter }; [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] [stdout] warning: `impl Iterator::OperationDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variable_uses_defined.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> impl Iterator { [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/executable/document/rules/all_variable_uses_defined.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 76 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: `impl Iterator::FragmentDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variables_used.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> impl Iterator { [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/executable/document/rules/all_variables_used.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 80 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variables_used.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(references) = self.fragment_references.get(executable_definition) { [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/executable/document/rules/all_variables_used.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } [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] 93 ~ match self.fragment_references.get(executable_definition) { Some(references) => { [INFO] [stdout] 94 | references.iter().for_each( [INFO] [stdout] ... [INFO] [stdout] 100 | ); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/document/rules/subscription_operation_single_root_field.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(first_selection) = selection_set.iter().next() { [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/executable/document/rules/subscription_operation_single_root_field.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ } else { match selection_set.iter().next() { Some(first_selection) => { [INFO] [stdout] 40 | let fields_count = match first_selection.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] 57 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 287 | ty: &TypeDefinitionReference<'a, S::TypeDefinition>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 288 | ) -> impl Iterator + use<'a, E, S, V, C> { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/operation/analyzers/deprecation.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(deprecation_reason) = etd [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ___________________________________________________________| [INFO] [stdout] 196 | || .enum_value_definitions() [INFO] [stdout] 197 | || .iter() [INFO] [stdout] | ||___________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 198 | | .find(|evd| evd.name() == enum_value) [INFO] [stdout] 199 | | .and_then(|found_enum_value| { [INFO] [stdout] 200 | | get_deprecation_reason::(found_enum_value) [INFO] [stdout] 201 | | }) [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/executable/operation/analyzers/deprecation.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match etd [INFO] [stdout] 196 | .enum_value_definitions() [INFO] [stdout] ... [INFO] [stdout] 201 | }) [INFO] [stdout] 202 ~ { Some(deprecation_reason) => { [INFO] [stdout] 203 | self.offenders.push(Offender { [INFO] [stdout] ... [INFO] [stdout] 207 | }); [INFO] [stdout] 208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/field_selection_merging.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `bluejay_validator` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/chain_iters.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/chain_iters.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | ( $first:expr_2021, $( $rest: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/chain_iters.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | ( $first:expr_2021, $( $rest: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/chain_iters.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | ( $iter:expr_2021 ) => { $iter }; [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 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/chain_iters.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | ( $first:expr, $( $rest: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] 11 | ( $first:expr_2021, $( $rest: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/chain_iters.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | ( $first:expr, $( $rest: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] 11 | ( $first:expr, $( $rest: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/chain_iters.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ( $iter:expr ) => { $iter }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 14 | ( $iter:expr_2021 ) => { $iter }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator::OperationDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variable_usages_allowed.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> impl Iterator { [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/executable/document/rules/all_variable_usages_allowed.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &self, [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 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator::OperationDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variable_uses_defined.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> impl Iterator { [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/executable/document/rules/all_variable_uses_defined.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 76 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator::FragmentDefinition>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variables_used.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> impl Iterator { [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/executable/document/rules/all_variables_used.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 80 | ) -> impl Iterator + use<'a, E, S> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/document/rules/all_variables_used.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(references) = self.fragment_references.get(executable_definition) { [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/executable/document/rules/all_variables_used.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } [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] 93 ~ match self.fragment_references.get(executable_definition) { Some(references) => { [INFO] [stdout] 94 | references.iter().for_each( [INFO] [stdout] ... [INFO] [stdout] 100 | ); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/document/rules/subscription_operation_single_root_field.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(first_selection) = selection_set.iter().next() { [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/executable/document/rules/subscription_operation_single_root_field.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ } else { match selection_set.iter().next() { Some(first_selection) => { [INFO] [stdout] 40 | let fields_count = match first_selection.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] 57 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 287 | ty: &TypeDefinitionReference<'a, S::TypeDefinition>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 288 | ) -> impl Iterator + use<'a, E, S, V, C> { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executable/operation/analyzers/deprecation.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | if let Some(deprecation_reason) = etd [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ___________________________________________________________| [INFO] [stdout] 196 | || .enum_value_definitions() [INFO] [stdout] 197 | || .iter() [INFO] [stdout] | ||___________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 198 | | .find(|evd| evd.name() == enum_value) [INFO] [stdout] 199 | | .and_then(|found_enum_value| { [INFO] [stdout] 200 | | get_deprecation_reason::(found_enum_value) [INFO] [stdout] 201 | | }) [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/executable/operation/analyzers/deprecation.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match etd [INFO] [stdout] 196 | .enum_value_definitions() [INFO] [stdout] ... [INFO] [stdout] 201 | }) [INFO] [stdout] 202 ~ { Some(deprecation_reason) => { [INFO] [stdout] 203 | self.offenders.push(Offender { [INFO] [stdout] ... [INFO] [stdout] 207 | }); [INFO] [stdout] 208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.49s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bluejay-validator v0.2.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `ty` [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | .flat_map(|ty| self.possible_type_names(&ty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | | [INFO] [stdout] | | `ty` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `ty` [INFO] [stdout] --> src/executable/operation/analyzers/complexity_cost.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | .flat_map(|ty| self.possible_type_names(&ty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | | [INFO] [stdout] | | `ty` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bluejay-validator` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bluejay-validator` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "702476feaa71a91233f254b54f51d10c8c6ffa90d050c2f39569f52fa5bea6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702476feaa71a91233f254b54f51d10c8c6ffa90d050c2f39569f52fa5bea6e3", kill_on_drop: false }` [INFO] [stdout] 702476feaa71a91233f254b54f51d10c8c6ffa90d050c2f39569f52fa5bea6e3