[INFO] fetching crate teo-parser 0.3.0-alpha.0... [INFO] checking teo-parser-0.3.0-alpha.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate teo-parser 0.3.0-alpha.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate teo-parser 0.3.0-alpha.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 teo-parser 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate teo-parser 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate teo-parser 0.3.0-alpha.0 written to /workspace/builds/worker-2-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 139 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.5) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding educe v0.5.11 (available: v0.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding nix v0.23.2 (available: v0.29.0) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding serde_with v1.14.0 (available: v3.9.0) [INFO] [stderr] Adding serde_with_macros v1.5.2 (available: v3.9.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6bffe7194e02aa3d0aa1f8dc7f0a1e0dbb450626f692aaba216d7e370896a68 [INFO] running `Command { std: "docker" "start" "-a" "a6bffe7194e02aa3d0aa1f8dc7f0a1e0dbb450626f692aaba216d7e370896a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6bffe7194e02aa3d0aa1f8dc7f0a1e0dbb450626f692aaba216d7e370896a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bffe7194e02aa3d0aa1f8dc7f0a1e0dbb450626f692aaba216d7e370896a68", kill_on_drop: false }` [INFO] [stdout] a6bffe7194e02aa3d0aa1f8dc7f0a1e0dbb450626f692aaba216d7e370896a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91ab40461a680d73441e96d7adf9fdd5b6709e4a30f5f8d0994d2bedf8f8459e [INFO] running `Command { std: "docker" "start" "-a" "91ab40461a680d73441e96d7adf9fdd5b6709e4a30f5f8d0994d2bedf8f8459e", 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 syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking teo-result v0.3.0-alpha.0 [INFO] [stderr] Checking backtrace-on-stack-overflow v0.3.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking bson v2.13.0 [INFO] [stderr] Checking teo-parser v0.3.0-alpha.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 `teo_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ast/argument.rs [INFO] [stderr] * src/ast/argument_declaration.rs [INFO] [stderr] * src/ast/argument_list.rs [INFO] [stderr] * src/ast/config_declaration.rs [INFO] [stderr] * src/ast/constant_declaration.rs [INFO] [stderr] * src/ast/data_set.rs [INFO] [stderr] * src/ast/enum.rs [INFO] [stderr] * src/ast/field.rs [INFO] [stderr] * src/ast/handler.rs [INFO] [stderr] * src/ast/handler_template_declaration.rs [INFO] [stderr] * src/ast/identifier_path.rs [INFO] [stderr] * src/ast/include_handler_from_template.rs [INFO] [stderr] * src/ast/middleware.rs [INFO] [stderr] * src/ast/namespace.rs [INFO] [stderr] * src/ast/struct_declaration.rs [INFO] [stderr] * src/completion/find_completion_in_config.rs [INFO] [stderr] * src/completion/find_completion_in_expression.rs [INFO] [stderr] * src/completion/find_completion_in_unit.rs [INFO] [stderr] * src/format/command.rs [INFO] [stderr] * src/format/flusher.rs [INFO] [stderr] * src/macros/parse.rs [INFO] [stderr] * src/parser/parse_decorator_declaration.rs [INFO] [stderr] * src/parser/parse_include_handler_from_template.rs [INFO] [stderr] * src/parser/parse_named_expression.rs [INFO] [stderr] * src/resolver/resolve_argument_list_declaration.rs [INFO] [stderr] * src/resolver/resolve_config.rs [INFO] [stderr] * src/resolver/resolve_identifier.rs [INFO] [stderr] * src/resolver/resolve_model_shapes.rs [INFO] [stderr] * src/resolver/resolve_namespace.rs [INFO] [stderr] * src/resolver/resolve_source.rs [INFO] [stderr] * src/resolver/resolve_unit.rs [INFO] [stderr] * src/search/search_unit_for_definition.rs [INFO] [stderr] * src/type/type.rs [INFO] [stderr] * src/value/interface_enum_variant.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/macros/parse.rs:3:55 [INFO] [stderr] | [INFO] [stderr] 3 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:13:55 [INFO] [stderr] | [INFO] [stderr] 13 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($expr:expr_2021, $children:ident) => { [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/macros/parse.rs:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | ($expr:expr_2021, $children:ident, $dest:ident) => { [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/macros/parse.rs:54:6 [INFO] [stderr] | [INFO] [stderr] 54 | ($expr:expr_2021, $children:ident, $dest:ident) => { [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/macros/parse.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/format/command.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 61 | impl<'a> BranchCommand<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 62 | [INFO] [stderr] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stderr] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/type/type.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/identifier_path.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/config_declaration.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stderr] --> src/ast/config_declaration.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/config_declaration.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/enum.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/enum.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/namespace.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/handler.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument_list.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/constant_declaration.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/data_set.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/middleware.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/field.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument_declaration.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stderr] --> src/ast/struct_declaration.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/struct_declaration.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/ast/field.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 89 | self.is_model_field() || [INFO] [stderr] | --------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stderr] | ----------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stderr] | -------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: variable `colon` is assigned to, but never used [INFO] [stderr] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | let mut colon = None; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_colon` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `colon` is never read [INFO] [stderr] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `string_path` is never read [INFO] [stderr] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | mut string_path, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | Node::Model(model) => (), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_source.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | Node::Model(model) => (), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stderr] | [INFO] [stderr] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:25:45 [INFO] [stderr] | [INFO] [stderr] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:30:79 [INFO] [stderr] | [INFO] [stderr] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:39:62 [INFO] [stderr] | [INFO] [stderr] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stderr] | [INFO] [stderr] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stderr] | [INFO] [stderr] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema` [INFO] [stderr] --> src/completion/find_completion_in_config.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:8:76 [INFO] [stderr] | [INFO] [stderr] 8 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_col` [INFO] [stderr] --> src/completion/find_completion_in_config.rs:8:93 [INFO] [stderr] | [INFO] [stderr] 8 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, gen) => { [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] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | let shape = interface.shape_from_generics(gen); [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] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let gen = t.as_generic_item().unwrap(); [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] [stderr] warning: unused variable: `undetermined` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:517:83 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| i.identifier().name() == gen) { [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] [stderr] --> src/completion/find_completion_in_expression.rs:20:9 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for gen in generics { [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] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for i in gen.identifiers() { [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] [stderr] 20 | let undetermined = Type::Undetermined; [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | for gen in type_item.generic_items() { [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] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if gen.span().contains_line_col(line_col) { [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] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | &gen.kind, [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] [stderr] warning: unused variable: `source` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(gen) = struct_declaration.generics_declaration() { [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] [stderr] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | generics.push(gen); [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] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(gen) = function_declaration.generics_declaration() { [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] [stderr] 201 | source: &Source, [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | generics.push(gen); [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] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] warning: unused import: `crate::ast::span::Span` [INFO] [stdout] --> src/ast/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ast/synthesized_shape_declaration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `namespace_path` [INFO] [stdout] warning: unused import: `HandlerDeclaration` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::handler::{HandlerDeclaration, HandlerInputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/ast/type_as_value_expression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `InterfaceDeclarationResolved` [INFO] [stdout] --> src/parser/parse_interface_declaration.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::interface::{InterfaceDeclaration, InterfaceDeclarationResolved}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 203 | namespace_path: &Vec<&str>, [INFO] [stdout] warning: unused import: `parse_set_identifier_and_string_path` [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:3:146 [INFO] [stdout] | [INFO] [stdout] 3 | ..., parse_insert, parse_insert_keyword, parse_set, parse_set_identifier_and_string_path, parse_set_optional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stdout] warning: unused import: `maplit::btreemap` [INFO] [stdout] --> src/parser/parse_synthesized_shape_declaration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use maplit::btreemap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/resolver/resolve_expression.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::value::{value, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `availability` [INFO] [stdout] warning: unused import: `search_identifier_path_names_with_filter_to_top` [INFO] [stdout] --> src/resolver/resolve_expression.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::search::search_identifier_path::{search_identifier_path_names_with_filter_to_top, search_identifier_path_names_with_filter_to_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stdout] warning: unused import: `resolve_identifier_path` [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resolver::resolve_identifier::{resolve_identifier_path, resolve_identifier_path_with_filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 204 | availability: Availability, [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_model::jump_to_definition_in_model` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::definition::jump_to_definition_in_model::jump_to_definition_in_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `v` [INFO] [stdout] warning: unused import: `crate::ast::decorator::Decorator` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::decorator::Decorator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused imports: `HandlerDeclaration` and `HandlerGroupDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_handler_template_declaration.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::{HandlerDeclaration, HandlerGroupDeclaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] warning: unused import: `crate::ast::handler::HandlerDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_include_handler_from_template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::HandlerDeclaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/search/search_identifier_path.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/format/command.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> BranchCommand<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 62 | [INFO] [stdout] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `i` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | ($context:ident, $current:ident, $children:ident, $content: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] 3 | ($context:ident, $current:ident, $children:ident, $content:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/format/flusher.rs:160:71 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | ($context:ident, $current:ident, $children:ident, $content: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] 13 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:23:64 [INFO] [stdout] | [INFO] [stdout] 23 | ($context:ident, $current:ident, $children:ident, $content: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] 23 | ($context:ident, $current:ident, $children:ident, $content:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr, $children:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr_2021, $children:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | if let Some(args) = &self.args { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 47 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | ($expr:expr, $children:ident, $dest:ident) => { [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] 43 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | ($expr:expr, $children:ident, $dest:ident) => { [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] 54 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | ($expr:expr, $children:ident, $dest:ident) => { [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] 65 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/type/type.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/identifier_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/config_declaration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/config_declaration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/config_declaration.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/enum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/enum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/constant_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/data_set.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_declaration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/struct_declaration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/struct_declaration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/field.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 89 | self.is_model_field() || [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colon` is assigned to, but never used [INFO] [stdout] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut colon = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_colon` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colon` is never read [INFO] [stdout] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parse_partial_argument_declaration.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut optional = None; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string_path` is never read [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | mut string_path, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_source.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stdout] | [INFO] [stdout] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:30:79 [INFO] [stdout] | [INFO] [stdout] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stdout] | [INFO] [stdout] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_col` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:93 [INFO] [stdout] | [INFO] [stdout] 10 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undetermined` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let undetermined = Type::Undetermined; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | source: &Source, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace_path` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | namespace_path: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `availability` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | availability: Availability, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/format/flusher.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(args) = &self.args { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_self` and `is_this_field_type` are never used [INFO] [stdout] --> src/type/keyword.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Keyword { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub(crate) fn is_self(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn is_this_field_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `empty_decorator_spans`, `empty_field_decorator_spans`, and `unattached_field_decorators` are never read [INFO] [stdout] --> src/ast/interface.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 22 | declare_container_node!(InterfaceDeclaration, named, availability, [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) empty_decorator_spans: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) empty_field_decorator_spans: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) unattached_field_decorators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDeclaration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_container_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespace_path` and `is_config_field` are never read [INFO] [stdout] --> src/ast/literals.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 142 | declare_container_node!(DictionaryLiteral, [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 143 | pub(crate) expressions: Vec, [INFO] [stdout] 144 | pub(crate) namespace_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub(crate) is_config_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_container_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `schema_references`, `next_string_path`, and `current_path` are never used [INFO] [stdout] --> src/parser/parser_context.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParserContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub(super) fn schema_references(&self) -> Ref<'_, SchemaReferences> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(super) fn next_string_path(&self, item: impl Into) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub(super) fn current_path(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/resolver/resolver_context.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> ResolverContext<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub(crate) fn add_examined_field(&self, field: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub(crate) fn has_examined_field(&self, field: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(super) fn insert_duplicated_model_field_error(&'a self, field: &Field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub(super) fn insert_error(&self, error: DiagnosticsError) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub(super) fn insert_duplicated_enum_member_error(&self, enum_member: &EnumMember) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(super) fn insert_duplicated_data_set_record_error(&self, record: &DataSetRecord) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(super) fn insert_data_set_record_key_type_is_not_string(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub(super) fn insert_data_set_record_key_is_duplicated(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(super) fn insert_data_set_record_key_is_undefined(&self, span: Span, key: &str, model: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub(super) fn insert_data_set_record_key_is_property(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub(super) fn insert_data_set_record_key_is_dropped(&self, span: Span, key: &str, model: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub(super) fn insert_data_set_record_primitive_value_type_error(&self, span: Span, message: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub(super) fn insert_data_set_record_relation_value_is_not_array(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub(super) fn insert_data_set_record_relation_value_is_not_records_array(&self, span: Span, model_name: &str, dataset_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub(super) fn insert_data_set_record_relation_value_is_not_enum_variant(&self, span: Span, model_name: &str, dataset_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_args` and `has_group_by` are never used [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1493:8 [INFO] [stdout] | [INFO] [stdout] 1475 | impl ShapeAvailableContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1493 | fn has_args(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1497 | fn has_group_by(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `completion_item_from_field` is never used [INFO] [stdout] --> src/completion/completion_item_from_top.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(super) fn completion_item_from_field(field: &Field) -> CompletionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_config_declaration_item_names` is never used [INFO] [stdout] --> src/completion/find_completion_in_config.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn collect_config_declaration_item_names(schema: &Schema, config_name: &str, availability: Availability, used: &Vec<&str>) -> Vec src/definition/jump_to_definition_in_include_handler_from_template.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) fn jump_to_definition_in_include_handler_from_template(schema: &Schema, source: &Source, include_handler_from_template: &Inclu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_type` and `as_type` are never used [INFO] [stdout] --> src/search/search_unit_for_definition.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl UnitSearchResult { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(super) fn is_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(super) fn as_type(&self) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_branch_command` and `as_branch_command` are never used [INFO] [stdout] --> src/format/command.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> Command<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub(super) fn is_branch_command(&'a self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(super) fn as_branch_command(&'a self) -> Option<&'a BranchCommand<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_node_is_decorator` is never read [INFO] [stdout] --> src/format/file_state.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct FileState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(super) previous_node_is_decorator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/type/synthesized_enum_reference.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(model_object) = self.owner.as_model_object() { [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/type/synthesized_enum_reference.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 91 ~ match self.owner.as_model_object() { Some(model_object) => { [INFO] [stdout] 92 | if let Some(model) = schema.find_top_by_path(model_object.path()).unwrap().as_model() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast/pipeline.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some((input, output)) = expect.as_pipeline() { [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/ast/pipeline.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } 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] 40 ~ match expect.as_pipeline() { Some((input, output)) => { [INFO] [stdout] 41 | let first_input = self.items_resolved.first().unwrap().input_type.clone(); [INFO] [stdout] ... [INFO] [stdout] 53 | }).collect() } [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | self.clone() [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_enum.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | ExpressionKind::EnumVariantLiteral(e) => if let Some(v) = map.lock().unwrap().get(e.identifier().name()) { [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/resolver/resolve_enum.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 104 ~ ExpressionKind::EnumVariantLiteral(e) => match map.lock().unwrap().get(e.identifier().name()) { Some(v) => { [INFO] [stdout] 105 | *v [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | context.insert_diagnostics_error(e.span, "EnumMemberError: Enum member is not defined"); [INFO] [stdout] 108 | 0 [INFO] [stdout] 109 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_decorator.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(expr_info) = resolve_identifier_path(decorator.identifier_path(), context, reference_type, context.current_availability()) { [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/resolver/resolve_decorator.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | } 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] 18 ~ match resolve_identifier_path(decorator.identifier_path(), context, reference_type, context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 19 | decorator.resolve(expr_info.reference_info().unwrap().reference().path().clone()); [INFO] [stdout] ... [INFO] [stdout] 28 | ); [INFO] [stdout] 29 ~ } _ => { [INFO] [stdout] 30 | context.insert_diagnostics_error(decorator.identifier_path().span(), "decorator not found") [INFO] [stdout] 31 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_pipeline.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(identifier) = expression.kind.as_identifier() { [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/resolver/resolve_pipeline.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 51 | let mut names: Vec<&str> = current_space.iter().map(AsRef::as_ref).collect(); [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_pipeline.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(expr_info) = resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 54 | || &names, [INFO] [stdout] 55 | || context.schema, [INFO] [stdout] 56 | || context.source(), [INFO] [stdout] ... || [INFO] [stdout] 60 | || context, [INFO] [stdout] 61 | || ) { [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/resolver/resolve_pipeline.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 53 ~ match resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] 54 | &names, [INFO] [stdout] ... [INFO] [stdout] 60 | context, [INFO] [stdout] 61 ~ ) { Some(expr_info) => { [INFO] [stdout] 62 | if expr_info.reference_info().is_none() { [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | context.insert_diagnostics_error(identifier.span, "identifier not found"); [INFO] [stdout] 86 | has_errors = true; [INFO] [stdout] 87 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_identifier.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(result) = resolve_identifier(identifier, context, ReferenceSpace::Default, context.current_availability()) { [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/resolver/resolve_identifier.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | } 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] 28 ~ match resolve_identifier(identifier, context, ReferenceSpace::Default, context.current_availability()) { Some(result) => { [INFO] [stdout] 29 | result [INFO] [stdout] 30 ~ } _ => { [INFO] [stdout] 31 | context.insert_diagnostics_error(identifier.span, "undefined identifier"); [INFO] [stdout] 32 | ExprInfo::undetermined() [INFO] [stdout] 33 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_identifier.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(reference) = resolve_identifier_path_names_in_source_to_top( [INFO] [stdout] | ________________^ [INFO] [stdout] 141 | | &identifier_path_names, [INFO] [stdout] 142 | | schema, [INFO] [stdout] 143 | | filter, [INFO] [stdout] ... | [INFO] [stdout] 146 | | &vec!["std"], [INFO] [stdout] | | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 147 | | availability, [INFO] [stdout] 148 | | ) { [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/resolver/resolve_identifier.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match resolve_identifier_path_names_in_source_to_top( [INFO] [stdout] 141 | &identifier_path_names, [INFO] [stdout] ... [INFO] [stdout] 147 | availability, [INFO] [stdout] 148 ~ ) { Some(reference) => { [INFO] [stdout] 149 | return Some(reference); [INFO] [stdout] 150 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_constant.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | value: if let Some(value) = resolved.value() { [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/resolver/resolve_constant.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 31 ~ value: match resolved.value() { Some(value) => { [INFO] [stdout] 32 | resolved.r#type().coerce_value_to(value, type_expr.resolved()) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | None [INFO] [stdout] 35 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | ...if let Some(matched) = type_item_builtin_match(name, type_item, generics_declaration, generics_constraint, keywords_map, context, availability... [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/resolver/resolve_type_expr.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } 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] 229 ~ match type_item_builtin_match(name, type_item, generics_declaration, generics_constraint, keywords_map, context, availability) { Some(matched) => { [INFO] [stdout] 230 | Some(matched) [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | if let Ok(enum_reference_kind) = SynthesizedEnumReferenceKind::from_str(name) { [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if let Some(reference_info) = resolved.reference_info() { [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/resolver/resolve_type_expr.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 310 ~ match resolved.reference_info() { Some(reference_info) => { [INFO] [stdout] 311 | base = match reference_info.r#type() { [INFO] [stdout] ... [INFO] [stdout] 335 | }; [INFO] [stdout] 336 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | if let Some(reference) = inner_type.as_model_object() { [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] 423 | } else if let Some((reference, interface_generics)) = inner_type.as_interface_object() { [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/resolver/resolve_type_expr.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | } else if let Some((reference, interface_generics)) = inner_type.as_interface_object() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | } 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] 415 ~ match inner_type.as_model_object() { Some(reference) => { [INFO] [stdout] 416 | let model = context.schema.find_top_by_path(reference.path()).unwrap().as_model().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 422 | } [INFO] [stdout] 423 ~ } _ => { match inner_type.as_interface_object() { Some((reference, interface_generics)) => { [INFO] [stdout] 424 | let interface = context.schema.find_top_by_path(reference.path()).unwrap().as_interface_declaration().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 431 | } [INFO] [stdout] 432 ~ } _ => { [INFO] [stdout] 433 | context.insert_diagnostics_error(t.span(), "model or interface not found"); [INFO] [stdout] 434 | Some(Type::Undetermined) [INFO] [stdout] 435 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(msg) = f(t) { [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/resolver/resolve_handler_group.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match f(t) { Some(msg) => { [INFO] [stdout] 123 | context.insert_diagnostics_error(span, msg); [INFO] [stdout] 124 | break [INFO] [stdout] 125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(msg) = f(t) { [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/resolver/resolve_handler_group.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match f(t) { Some(msg) => { [INFO] [stdout] 144 | context.insert_diagnostics_error(span, msg); [INFO] [stdout] 145 | break [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(shape) = model.resolved().declared_shapes.get(reference.string_path()) { [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/resolver/resolve_expression.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | } 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] 418 ~ match model.resolved().declared_shapes.get(reference.string_path()) { Some(shape) => { [INFO] [stdout] 419 | if shape.get(e.identifier().name()).is_some() { [INFO] [stdout] ... [INFO] [stdout] 432 | } [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | context.insert_diagnostics_error(e.span, format!("expected {}, found .{}", expected, e.identifier().name())); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | if let Some(t) = member_definition.args.get(name.name()) { [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/resolver/resolve_expression.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 492 ~ match member_definition.args.get(name.name()) { Some(t) => { [INFO] [stdout] 493 | resolve_expression(argument.value(), context, t, &btreemap! {}); [INFO] [stdout] ... [INFO] [stdout] 501 | required_names.remove(name.name()); [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | context.insert_diagnostics_error(name.span, "undefined argument"); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:617:12 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(value) = resolved.value { [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/resolver/resolve_expression.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | } 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] 617 ~ match resolved.value { Some(value) => { [INFO] [stdout] 618 | retval_values.push(value); [INFO] [stdout] 619 ~ } _ => { [INFO] [stdout] 620 | unresolved = true; [INFO] [stdout] 621 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:693:20 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(key_value) = key_expr_info.value() { [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/resolver/resolve_expression.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | } 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] 693 ~ match key_expr_info.value() { Some(key_value) => { [INFO] [stdout] 694 | if let Some(str_key_value) = key_value.as_str() { [INFO] [stdout] ... [INFO] [stdout] 698 | } [INFO] [stdout] 699 ~ } _ => { [INFO] [stdout] 700 | &undetermined [INFO] [stdout] 701 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:799:43 [INFO] [stdout] | [INFO] [stdout] 799 | ... value: if let Some(v) = v.value { Some(v.neg().unwrap()) } else { None }, [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/resolver/resolve_expression.rs:799:90 [INFO] [stdout] | [INFO] [stdout] 799 | ... value: if let Some(v) = v.value { Some(v.neg().unwrap()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 799 | value: match v.value { Some(v) => { Some(v.neg().unwrap()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:816:35 [INFO] [stdout] | [INFO] [stdout] 816 | value: if let Some(v) = v.value { Some(v.normal_not()) } else { None }, [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/resolver/resolve_expression.rs:816:80 [INFO] [stdout] | [INFO] [stdout] 816 | value: if let Some(v) = v.value { Some(v.normal_not()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 816 | value: match v.value { Some(v) => { Some(v.normal_not()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:823:39 [INFO] [stdout] | [INFO] [stdout] 823 | ... value: if let Some(v) = v.value { Some(v.not().unwrap()) } else { None }, [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/resolver/resolve_expression.rs:823:86 [INFO] [stdout] | [INFO] [stdout] 823 | ... value: if let Some(v) = v.value { Some(v.not().unwrap()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 823 | value: match v.value { Some(v) => { Some(v.not().unwrap()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:900:56 [INFO] [stdout] | [INFO] [stdout] 900 | ArithExprOperator::RangeOpen => if let Some(result) = build_range(lhs.r#type(), rhs.r#type()) { [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/resolver/resolve_expression.rs:902:21 [INFO] [stdout] | [INFO] [stdout] 902 | } 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] 900 ~ ArithExprOperator::RangeOpen => match build_range(lhs.r#type(), rhs.r#type()) { Some(result) => { [INFO] [stdout] 901 | result [INFO] [stdout] 902 ~ } _ => { [INFO] [stdout] 903 | context.insert_diagnostics_error(binary.span, "invalid expression"); [INFO] [stdout] 904 | Type::Undetermined [INFO] [stdout] 905 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:906:57 [INFO] [stdout] | [INFO] [stdout] 906 | ArithExprOperator::RangeClose => if let Some(result) = build_range(lhs.r#type(), rhs.r#type()) { [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/resolver/resolve_expression.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | } 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] 906 ~ ArithExprOperator::RangeClose => match build_range(lhs.r#type(), rhs.r#type()) { Some(result) => { [INFO] [stdout] 907 | result [INFO] [stdout] 908 ~ } _ => { [INFO] [stdout] 909 | context.insert_diagnostics_error(binary.span, "invalid expression"); [INFO] [stdout] 910 | Type::Undetermined [INFO] [stdout] 911 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(pipeline_input) = &callable_variant.pipeline_input { [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/resolver/resolve_argument_list.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match &callable_variant.pipeline_input { Some(pipeline_input) => { [INFO] [stdout] 119 | if pipeline_input.contains_generics() { [INFO] [stdout] ... [INFO] [stdout] 131 | } [INFO] [stdout] 132 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:444:28 [INFO] [stdout] | [INFO] [stdout] 444 | if let Some(shape) = model.resolved().declared_shapes.get(reference.string_path()) { [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/resolver/resolve_argument_list.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | } 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] 444 ~ match model.resolved().declared_shapes.get(reference.string_path()) { Some(shape) => { [INFO] [stdout] 445 | shape.get(field_name).cloned().unwrap_or(Type::Undetermined) [INFO] [stdout] 446 ~ } _ => { [INFO] [stdout] 447 | Type::Undetermined [INFO] [stdout] 448 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_data_set.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | ...if let Some(expr_info) = resolve_identifier_path_with_filter(group.identifier_path(), context, &top_filter_for_model(), context.current_availability()... [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/resolver/resolve_data_set.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | } 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 resolve_identifier_path_with_filter(group.identifier_path(), context, &top_filter_for_model(), context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 33 | if let Some(reference_info) = expr_info.reference_info() { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | context.insert_diagnostics_error(group.identifier_path().span(), "model not found"); [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_data_set.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(reference_info) = expr_info.reference_info() { [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/resolver/resolve_data_set.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 33 ~ match expr_info.reference_info() { Some(reference_info) => { [INFO] [stdout] 34 | if reference_info.r#type == ReferenceType::Model { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | context.insert_diagnostics_error(group.identifier_path().span(), "model not found"); [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(current) = current { [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/resolver/resolve_unit.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | } 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] 59 ~ match current { Some(current) => { [INFO] [stdout] 60 | unit_type_coerce(unit.last_expression().unwrap().span(), ¤t, expected, context) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | ExprInfo::undetermined() [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | let v = if let Some(v) = ¤t.value { [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/resolver/resolve_unit.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | } 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] 259 ~ let v = match ¤t.value { Some(v) => { [INFO] [stdout] 260 | v.as_tuple().map(|t| t.get(int_subscript.index)).flatten().cloned() [INFO] [stdout] 261 ~ } _ => { [INFO] [stdout] 262 | None [INFO] [stdout] 263 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | if let Some(result) = resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 685 | || &names, [INFO] [stdout] 686 | || context.schema, [INFO] [stdout] 687 | || context.source(), [INFO] [stdout] ... || [INFO] [stdout] 691 | || context, [INFO] [stdout] 692 | || ) { [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/resolver/resolve_unit.rs:694:13 [INFO] [stdout] | [INFO] [stdout] 694 | } 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] 684 ~ match resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] 685 | &names, [INFO] [stdout] ... [INFO] [stdout] 691 | context, [INFO] [stdout] 692 ~ ) { Some(result) => { [INFO] [stdout] 693 | result [INFO] [stdout] 694 ~ } _ => { [INFO] [stdout] 695 | context.insert_diagnostics_error(expression.span(), "identifier not found"); [INFO] [stdout] 696 | ExprInfo::undetermined() [INFO] [stdout] 697 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | if let Some(target_model_reference) = synthesized_enum_reference.owner.as_model_object() { [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/resolver/resolve_unit.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 712 ~ match synthesized_enum_reference.owner.as_model_object() { Some(target_model_reference) => { [INFO] [stdout] 713 | if target_model_reference.path() == &model_path { [INFO] [stdout] ... [INFO] [stdout] 728 | } [INFO] [stdout] 729 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_use_middlewares_block.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(middleware_declaration) = resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] | ________^ [INFO] [stdout] 52 | | &path, [INFO] [stdout] 53 | | context.schema, [INFO] [stdout] 54 | | context.source(), [INFO] [stdout] 55 | | &context.current_namespace_path(), [INFO] [stdout] 56 | | &top_filter_for_middleware(), [INFO] [stdout] | | --------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 57 | | context.current_availability(), [INFO] [stdout] 58 | | ).map(|t| t.as_middleware_declaration()).flatten() { [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/resolver/resolve_use_middlewares_block.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | } 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] 51 ~ match resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] 52 | &path, [INFO] [stdout] ... [INFO] [stdout] 57 | context.current_availability(), [INFO] [stdout] 58 ~ ).map(|t| t.as_middleware_declaration()).flatten() { Some(middleware_declaration) => { [INFO] [stdout] 59 | if middleware_declaration.argument_list_declaration().is_none() { [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | ExprInfo::undetermined() [INFO] [stdout] 78 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 341 | if let Some(array_literal) = argument.value().kind.as_array_literal() { [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/resolver/resolve_model_shapes.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 341 ~ match argument.value().kind.as_array_literal() { Some(array_literal) => { [INFO] [stdout] 342 | let mut map = indexmap! {}; [INFO] [stdout] ... [INFO] [stdout] 353 | } [INFO] [stdout] 354 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | ... if let Some(enum_variant_literal) = expression.kind.as_enum_variant_literal() { [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/resolver/resolve_model_shapes.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match expression.kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 345 | let name = enum_variant_literal.identifier().name(); [INFO] [stdout] ... [INFO] [stdout] 348 | } [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1417:16 [INFO] [stdout] | [INFO] [stdout] 1417 | if let Some(path) = unwrap_model_path_in_expression_kind(&through.value().kind, model, context) { [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/resolver/resolve_model_shapes.rs:1421:13 [INFO] [stdout] | [INFO] [stdout] 1421 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1417 ~ match unwrap_model_path_in_expression_kind(&through.value().kind, model, context) { Some(path) => { [INFO] [stdout] 1418 | if path == through_path && local_value == local && foreign_value == foreign { [INFO] [stdout] 1419 | return Some(field); [INFO] [stdout] 1420 | } [INFO] [stdout] 1421 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | ...if let Some(expr_info) = resolve_identifier_path_with_filter(synthesized_shape_field_declaration.decorator_identifier_path(), context, &top_filter_for_any_model_field_decorators(), context.current_availability()... [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/resolver/resolve_declared_synthesized_shape.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 49 ~ match resolve_identifier_path_with_filter(synthesized_shape_field_declaration.decorator_identifier_path(), context, &top_filter_for_any_model_field_decorators(), context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 50 | synthesized_shape_field_declaration.resolved_mut().decorator_full_path = Some(expr_info.reference_info().unwrap().reference().string_path().clone()); [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | context.insert_diagnostics_error(synthesized_shape_field_declaration.decorator_identifier_path().span(), "decorator not found"); [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_include_handler_from_template.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(template_node) = resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] | ________^ [INFO] [stdout] 27 | | &template_path.names(), [INFO] [stdout] 28 | | context.schema, [INFO] [stdout] 29 | | context.source(), [INFO] [stdout] 30 | | &context.current_namespace_path(), [INFO] [stdout] 31 | | &top_filter_for_handler_template(), [INFO] [stdout] | | --------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 32 | | context.current_availability() [INFO] [stdout] 33 | | ) { [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/resolver/resolve_include_handler_from_template.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | } 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] 26 ~ match resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] 27 | &template_path.names(), [INFO] [stdout] ... [INFO] [stdout] 32 | context.current_availability() [INFO] [stdout] 33 ~ ) { Some(template_node) => { [INFO] [stdout] 34 | let template = template_node.as_handler_template_declaration().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 51 | } [INFO] [stdout] 52 ~ } _ => { [INFO] [stdout] 53 | context.insert_diagnostics_error(include_handler_from_template.identifier_path().span(), "handler template definition is not found"); [INFO] [stdout] 54 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/completion/collect_reference_completion.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(namespace) = builtin_source.find_child_namespace_by_string_path(&vec!["std"]) { [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/completion/collect_reference_completion.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 54 ~ match builtin_source.find_child_namespace_by_string_path(&vec!["std"]) { Some(namespace) => { [INFO] [stdout] 55 | result.extend(collect_reference_completion_in_namespace(namespace, filter, availability)); [INFO] [stdout] 56 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_enum_variant_literal.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(reference) = reference.owner.as_model_object() { [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/definition/jump_to_definition_in_enum_variant_literal.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | } 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] 35 ~ match reference.owner.as_model_object() { Some(reference) => { [INFO] [stdout] 36 | let model = schema.find_top_by_path(reference.path()).unwrap().as_model().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | vec![] [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_identifier.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(reference) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 21 | | schema, [INFO] [stdout] 22 | | source, [INFO] [stdout] ... | [INFO] [stdout] 25 | | availability, [INFO] [stdout] 26 | | ) { [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/definition/jump_to_definition_in_identifier.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | } 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] 19 ~ match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 20 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 25 | availability, [INFO] [stdout] 26 ~ ) { Some(reference) => { [INFO] [stdout] 27 | match schema.find_top_by_path(&reference).unwrap() { [INFO] [stdout] ... [INFO] [stdout] 71 | } [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | vec![] [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_enum_declaration.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(arith_expr) = expression.kind.as_arith_expr() { [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/definition/jump_to_definition_in_enum_declaration.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } 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] 54 ~ match expression.kind.as_arith_expr() { Some(arith_expr) => { [INFO] [stdout] 55 | return jump_to_definition_in_arith_expr( [INFO] [stdout] ... [INFO] [stdout] 63 | ); [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | return vec![]; [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | current = Some(if let Some(identifier) = expression.kind.as_identifier() { [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/search/search_unit_for_definition.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 70 ~ current = Some(match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 71 | if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | UnitSearchResult::Type(expression.resolved().r#type().clone()) [INFO] [stdout] 86 ~ }}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | ____________________^ [INFO] [stdout] 72 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 73 | | schema, [INFO] [stdout] 74 | | source, [INFO] [stdout] ... | [INFO] [stdout] 77 | | availability, [INFO] [stdout] 78 | | ) { [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/search/search_unit_for_definition.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | } 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] 71 ~ match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 72 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 77 | availability, [INFO] [stdout] 78 ~ ) { Some(path) => { [INFO] [stdout] 79 | identifier_span = Some(identifier.span); [INFO] [stdout] 80 | UnitSearchResult::Reference(path) [INFO] [stdout] 81 ~ } _ => { [INFO] [stdout] 82 | UnitSearchResult::Type(Type::Undetermined) [INFO] [stdout] 83 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | ...if let Some(top) = namespace.find_top_by_name(identifier.name(), &top_filter_for_reference_type(ReferenceSpace::Default), availability) { [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/search/search_unit_for_definition.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ... } 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] 250 ~ match namespace.find_top_by_name(identifier.name(), &top_filter_for_reference_type(ReferenceSpace::Default), availability) { Some(top) => { [INFO] [stdout] 251 | if identifier.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] 256 ~ } _ => { [INFO] [stdout] 257 | return default; [INFO] [stdout] 258 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(identifier) = expression.kind.as_identifier() { [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] 61 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [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/search/search_pipeline_unit_for_definition.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 32 | if let Some(this_top) = if current_namespace.is_some() { [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] 61 ~ } _ => { match expression.kind.as_argument_list() { Some(argument_list) => { [INFO] [stdout] 62 | if argument_list.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | } else if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | _______________________^ [INFO] [stdout] 35 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 36 | | schema, [INFO] [stdout] 37 | | source, [INFO] [stdout] ... | [INFO] [stdout] 40 | | availability, [INFO] [stdout] 41 | | ) { [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/search/search_pipeline_unit_for_definition.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 34 ~ } else { match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 35 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 40 | availability, [INFO] [stdout] 41 ~ ) { Some(path) => { [INFO] [stdout] 42 | schema.find_top_by_path(&path) [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | None [INFO] [stdout] 45 ~ }}} { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(identifier) = expression.kind.as_identifier() { [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] 39 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [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/search/search_pipeline_unit_for_auto_completion.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 27 | if identifier.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] 39 ~ } _ => { match expression.kind.as_argument_list() { Some(argument_list) => { [INFO] [stdout] 40 | if argument_list.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 44 | } [INFO] [stdout] 45 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | ...if let Some(reference) = search_identifier_path_names_with_filter_to_path(&user_typed_prefix, schema, source, namespace_path, &top_filter_for_pipeline(), availability... [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/search/search_pipeline_unit_for_auto_completion.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 31 ~ match search_identifier_path_names_with_filter_to_path(&user_typed_prefix, schema, source, namespace_path, &top_filter_for_pipeline(), availability) { Some(reference) => { [INFO] [stdout] 32 | if schema.find_top_by_path(&reference).unwrap().is_pipeline_item_declaration() { [INFO] [stdout] 33 | user_typed_prefix = vec![]; [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | user_typed_prefix = vec![]; [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(enum_variant_literal) = provider.1.kind.as_enum_variant_literal() { [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] 55 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 56 | } else if let Some(unit) = provider.1.kind.as_unit() { [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] 62 | } else if let Some(arith) = provider.1.kind.as_arith_expr() { [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/search/search_availability.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | } else if let Some(unit) = provider.1.kind.as_unit() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | } else if let Some(arith) = provider.1.kind.as_arith_expr() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | } 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] 54 ~ match provider.1.kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 55 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 56 ~ } _ => { match provider.1.kind.as_unit() { Some(unit) => { [INFO] [stdout] 57 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] 62 ~ } _ => { match provider.1.kind.as_arith_expr() { Some(arith) => { [INFO] [stdout] 63 | match arith { [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | Availability::no_database() [INFO] [stdout] 81 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [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/search/search_availability.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | } 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] 57 ~ match unit.expressions().next().unwrap().kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 58 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | Availability::no_database() [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(unit) = e.kind.as_unit() { [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] 71 | } else if let Some(e) = e.kind.as_enum_variant_literal() { [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/search/search_availability.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | } else if let Some(e) = e.kind.as_enum_variant_literal() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | } 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] 65 ~ match e.kind.as_unit() { Some(unit) => { [INFO] [stdout] 66 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [INFO] [stdout] ... [INFO] [stdout] 70 | } [INFO] [stdout] 71 ~ } _ => { match e.kind.as_enum_variant_literal() { Some(e) => { [INFO] [stdout] 72 | availability_from_enum_variant_literal(e) [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | Availability::no_database() [INFO] [stdout] 75 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [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/search/search_availability.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | ... } 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] 66 ~ match unit.expressions().next().unwrap().kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 67 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | Availability::no_database() [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/flusher.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(buffer) = f(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/format/flusher.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | } 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] 56 ~ match f(self) { Some(buffer) => { [INFO] [stdout] 57 | Some(buffer) [INFO] [stdout] 58 ~ } _ => { [INFO] [stdout] 59 | self.file_state = file_state; [INFO] [stdout] 60 | self.flusher_state = flusher_state; [INFO] [stdout] 61 | None [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 152 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `teo_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ast/argument.rs [INFO] [stderr] * src/ast/argument_declaration.rs [INFO] [stderr] * src/ast/argument_list.rs [INFO] [stderr] * src/ast/config_declaration.rs [INFO] [stderr] * src/ast/constant_declaration.rs [INFO] [stderr] * src/ast/data_set.rs [INFO] [stderr] * src/ast/enum.rs [INFO] [stderr] * src/ast/field.rs [INFO] [stderr] * src/ast/handler.rs [INFO] [stderr] * src/ast/handler_template_declaration.rs [INFO] [stderr] * src/ast/identifier_path.rs [INFO] [stderr] * src/ast/include_handler_from_template.rs [INFO] [stderr] * src/ast/middleware.rs [INFO] [stderr] * src/ast/namespace.rs [INFO] [stderr] * src/ast/struct_declaration.rs [INFO] [stderr] * src/completion/find_completion_in_config.rs [INFO] [stderr] * src/completion/find_completion_in_expression.rs [INFO] [stderr] * src/completion/find_completion_in_unit.rs [INFO] [stderr] * src/format/command.rs [INFO] [stderr] * src/format/flusher.rs [INFO] [stderr] * src/macros/parse.rs [INFO] [stderr] * src/parser/parse_decorator_declaration.rs [INFO] [stderr] * src/parser/parse_include_handler_from_template.rs [INFO] [stderr] * src/parser/parse_named_expression.rs [INFO] [stderr] * src/resolver/resolve_argument_list_declaration.rs [INFO] [stderr] * src/resolver/resolve_config.rs [INFO] [stderr] * src/resolver/resolve_identifier.rs [INFO] [stderr] * src/resolver/resolve_model_shapes.rs [INFO] [stderr] * src/resolver/resolve_namespace.rs [INFO] [stderr] * src/resolver/resolve_source.rs [INFO] [stderr] * src/resolver/resolve_unit.rs [INFO] [stderr] * src/search/search_unit_for_definition.rs [INFO] [stderr] * src/type/type.rs [INFO] [stderr] * src/value/interface_enum_variant.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/macros/parse.rs:3:55 [INFO] [stderr] | [INFO] [stderr] 3 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:13:55 [INFO] [stderr] | [INFO] [stderr] 13 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($expr:expr_2021, $children:ident) => { [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/macros/parse.rs:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | ($expr:expr_2021, $children:ident, $dest:ident) => { [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/macros/parse.rs:54:6 [INFO] [stderr] | [INFO] [stderr] 54 | ($expr:expr_2021, $children:ident, $dest:ident) => { [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/macros/parse.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/format/command.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 61 | impl<'a> BranchCommand<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 62 | [INFO] [stderr] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stderr] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/type/type.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/identifier_path.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/config_declaration.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stderr] --> src/ast/config_declaration.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/config_declaration.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/enum.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/enum.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/namespace.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/handler.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument_list.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/constant_declaration.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/data_set.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/middleware.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/field.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stderr] --> src/ast/argument_declaration.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stderr] --> src/ast/struct_declaration.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/struct_declaration.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stderr] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/ast/field.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 89 | self.is_model_field() || [INFO] [stderr] | --------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stderr] | ----------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stderr] | -------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: variable `colon` is assigned to, but never used [INFO] [stderr] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | let mut colon = None; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_colon` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `colon` is never read [INFO] [stderr] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `string_path` is never read [INFO] [stderr] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | mut string_path, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | Node::Model(model) => (), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_source.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | Node::Model(model) => (), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stderr] | [INFO] [stderr] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:25:45 [INFO] [stderr] | [INFO] [stderr] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:30:79 [INFO] [stderr] | [INFO] [stderr] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/resolver/resolve_config.rs:39:62 [INFO] [stderr] | [INFO] [stderr] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stderr] | [INFO] [stderr] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stderr] | [INFO] [stderr] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema` [INFO] [stderr] --> src/completion/find_completion_in_config.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:8:76 [INFO] [stderr] | [INFO] [stderr] 8 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_col` [INFO] [stderr] --> src/completion/find_completion_in_config.rs:8:93 [INFO] [stderr] | [INFO] [stderr] 8 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `undetermined` [INFO] [stderr] --> src/completion/find_completion_in_expression.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let undetermined = Type::Undetermined; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source` [INFO] [stderr] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | source: &Source, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace_path` [INFO] [stderr] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | namespace_path: &Vec<&str>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `availability` [INFO] [stderr] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, gen) => { [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] [stderr] 204 | availability: Availability, [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | let shape = interface.shape_from_generics(gen); [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] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let gen = t.as_generic_item().unwrap(); [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] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:517:83 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| i.identifier().name() == gen) { [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] [stderr] warning: unused variable: `v` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for gen in generics { [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] [stderr] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for i in gen.identifiers() { [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] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | for gen in type_item.generic_items() { [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] [stderr] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if gen.span().contains_line_col(line_col) { [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] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | &gen.kind, [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] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(gen) = struct_declaration.generics_declaration() { [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] [stderr] warning: unused variable: `i` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | generics.push(gen); [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] [stderr] --> src/format/flusher.rs:160:71 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(gen) = function_declaration.generics_declaration() { [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] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | generics.push(gen); [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] [stderr] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] warning: unused import: `crate::ast::span::Span` [INFO] [stdout] --> src/ast/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ast/synthesized_shape_declaration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `HandlerDeclaration` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::handler::{HandlerDeclaration, HandlerInputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `args` [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/ast/type_as_value_expression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stdout] warning: unused import: `InterfaceDeclarationResolved` [INFO] [stdout] --> src/parser/parse_interface_declaration.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::interface::{InterfaceDeclaration, InterfaceDeclarationResolved}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `parse_set_identifier_and_string_path` [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:3:146 [INFO] [stdout] | [INFO] [stdout] 3 | ..., parse_insert, parse_insert_keyword, parse_set, parse_set_identifier_and_string_path, parse_set_optional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 31 | if let Some(args) = &self.args { [INFO] [stdout] warning: unused import: `maplit::btreemap` [INFO] [stdout] --> src/parser/parse_synthesized_shape_declaration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use maplit::btreemap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/resolver/resolve_expression.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::value::{value, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `search_identifier_path_names_with_filter_to_top` [INFO] [stdout] --> src/resolver/resolve_expression.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::search::search_identifier_path::{search_identifier_path_names_with_filter_to_top, search_identifier_path_names_with_filter_to_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 7 previous errors; 47 warnings emitted [INFO] [stdout] warning: unused import: `resolve_identifier_path` [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resolver::resolve_identifier::{resolve_identifier_path, resolve_identifier_path_with_filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_model::jump_to_definition_in_model` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::definition::jump_to_definition_in_model::jump_to_definition_in_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::decorator::Decorator` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::decorator::Decorator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandlerDeclaration` and `HandlerGroupDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_handler_template_declaration.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::{HandlerDeclaration, HandlerGroupDeclaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::handler::HandlerDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_include_handler_from_template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::HandlerDeclaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/search/search_identifier_path.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/format/command.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> BranchCommand<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 62 | [INFO] [stdout] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | ($context:ident, $current:ident, $children:ident, $content: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] 3 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | ($context:ident, $current:ident, $children:ident, $content: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] 13 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:23:64 [INFO] [stdout] | [INFO] [stdout] 23 | ($context:ident, $current:ident, $children:ident, $content: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] 23 | ($context:ident, $current:ident, $children:ident, $content: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/macros/parse.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr, $children:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr_2021, $children:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | ($expr:expr, $children:ident, $dest:ident) => { [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] 43 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | ($expr:expr, $children:ident, $dest:ident) => { [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] 54 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros/parse.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | ($expr:expr, $children:ident, $dest:ident) => { [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] 65 | ($expr:expr_2021, $children:ident, $dest:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/type/type.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/identifier_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/config_declaration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/config_declaration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/config_declaration.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/enum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/enum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/constant_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/data_set.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_declaration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/struct_declaration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/struct_declaration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/field.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 89 | self.is_model_field() || [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colon` is assigned to, but never used [INFO] [stdout] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut colon = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_colon` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colon` is never read [INFO] [stdout] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parse_partial_argument_declaration.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut optional = None; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string_path` is never read [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | mut string_path, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_source.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stdout] | [INFO] [stdout] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:30:79 [INFO] [stdout] | [INFO] [stdout] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stdout] | [INFO] [stdout] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_col` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:93 [INFO] [stdout] | [INFO] [stdout] 10 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undetermined` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let undetermined = Type::Undetermined; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | source: &Source, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace_path` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | namespace_path: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `availability` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | availability: Availability, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/format/flusher.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(args) = &self.args { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_self` and `is_this_field_type` are never used [INFO] [stdout] --> src/type/keyword.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Keyword { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub(crate) fn is_self(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn is_this_field_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `empty_decorator_spans`, `empty_field_decorator_spans`, and `unattached_field_decorators` are never read [INFO] [stdout] --> src/ast/interface.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 22 | declare_container_node!(InterfaceDeclaration, named, availability, [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) empty_decorator_spans: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) empty_field_decorator_spans: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) unattached_field_decorators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDeclaration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_container_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespace_path` and `is_config_field` are never read [INFO] [stdout] --> src/ast/literals.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 142 | declare_container_node!(DictionaryLiteral, [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 143 | pub(crate) expressions: Vec, [INFO] [stdout] 144 | pub(crate) namespace_path: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub(crate) is_config_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_container_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `schema_references`, `next_string_path`, and `current_path` are never used [INFO] [stdout] --> src/parser/parser_context.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParserContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub(super) fn schema_references(&self) -> Ref<'_, SchemaReferences> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(super) fn next_string_path(&self, item: impl Into) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub(super) fn current_path(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/resolver/resolver_context.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> ResolverContext<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub(crate) fn add_examined_field(&self, field: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub(crate) fn has_examined_field(&self, field: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(super) fn insert_duplicated_model_field_error(&'a self, field: &Field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub(super) fn insert_error(&self, error: DiagnosticsError) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub(super) fn insert_duplicated_enum_member_error(&self, enum_member: &EnumMember) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(super) fn insert_duplicated_data_set_record_error(&self, record: &DataSetRecord) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(super) fn insert_data_set_record_key_type_is_not_string(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub(super) fn insert_data_set_record_key_is_duplicated(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(super) fn insert_data_set_record_key_is_undefined(&self, span: Span, key: &str, model: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub(super) fn insert_data_set_record_key_is_property(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub(super) fn insert_data_set_record_key_is_dropped(&self, span: Span, key: &str, model: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub(super) fn insert_data_set_record_primitive_value_type_error(&self, span: Span, message: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub(super) fn insert_data_set_record_relation_value_is_not_array(&self, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub(super) fn insert_data_set_record_relation_value_is_not_records_array(&self, span: Span, model_name: &str, dataset_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub(super) fn insert_data_set_record_relation_value_is_not_enum_variant(&self, span: Span, model_name: &str, dataset_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_args` and `has_group_by` are never used [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1493:8 [INFO] [stdout] | [INFO] [stdout] 1475 | impl ShapeAvailableContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1493 | fn has_args(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1497 | fn has_group_by(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `completion_item_from_field` is never used [INFO] [stdout] --> src/completion/completion_item_from_top.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(super) fn completion_item_from_field(field: &Field) -> CompletionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_config_declaration_item_names` is never used [INFO] [stdout] --> src/completion/find_completion_in_config.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn collect_config_declaration_item_names(schema: &Schema, config_name: &str, availability: Availability, used: &Vec<&str>) -> Vec src/definition/jump_to_definition_in_include_handler_from_template.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) fn jump_to_definition_in_include_handler_from_template(schema: &Schema, source: &Source, include_handler_from_template: &Inclu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_type` and `as_type` are never used [INFO] [stdout] --> src/search/search_unit_for_definition.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl UnitSearchResult { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(super) fn is_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(super) fn as_type(&self) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_branch_command` and `as_branch_command` are never used [INFO] [stdout] --> src/format/command.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> Command<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub(super) fn is_branch_command(&'a self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(super) fn as_branch_command(&'a self) -> Option<&'a BranchCommand<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_node_is_decorator` is never read [INFO] [stdout] --> src/format/file_state.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct FileState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(super) previous_node_is_decorator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/type/synthesized_enum_reference.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(model_object) = self.owner.as_model_object() { [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/type/synthesized_enum_reference.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 91 ~ match self.owner.as_model_object() { Some(model_object) => { [INFO] [stdout] 92 | if let Some(model) = schema.find_top_by_path(model_object.path()).unwrap().as_model() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast/pipeline.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some((input, output)) = expect.as_pipeline() { [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/ast/pipeline.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } 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] 40 ~ match expect.as_pipeline() { Some((input, output)) => { [INFO] [stdout] 41 | let first_input = self.items_resolved.first().unwrap().input_type.clone(); [INFO] [stdout] ... [INFO] [stdout] 53 | }).collect() } [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | self.clone() [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_enum.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | ExpressionKind::EnumVariantLiteral(e) => if let Some(v) = map.lock().unwrap().get(e.identifier().name()) { [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/resolver/resolve_enum.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 104 ~ ExpressionKind::EnumVariantLiteral(e) => match map.lock().unwrap().get(e.identifier().name()) { Some(v) => { [INFO] [stdout] 105 | *v [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | context.insert_diagnostics_error(e.span, "EnumMemberError: Enum member is not defined"); [INFO] [stdout] 108 | 0 [INFO] [stdout] 109 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_decorator.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(expr_info) = resolve_identifier_path(decorator.identifier_path(), context, reference_type, context.current_availability()) { [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/resolver/resolve_decorator.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | } 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] 18 ~ match resolve_identifier_path(decorator.identifier_path(), context, reference_type, context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 19 | decorator.resolve(expr_info.reference_info().unwrap().reference().path().clone()); [INFO] [stdout] ... [INFO] [stdout] 28 | ); [INFO] [stdout] 29 ~ } _ => { [INFO] [stdout] 30 | context.insert_diagnostics_error(decorator.identifier_path().span(), "decorator not found") [INFO] [stdout] 31 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_pipeline.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(identifier) = expression.kind.as_identifier() { [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/resolver/resolve_pipeline.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 51 | let mut names: Vec<&str> = current_space.iter().map(AsRef::as_ref).collect(); [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_pipeline.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(expr_info) = resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 54 | || &names, [INFO] [stdout] 55 | || context.schema, [INFO] [stdout] 56 | || context.source(), [INFO] [stdout] ... || [INFO] [stdout] 60 | || context, [INFO] [stdout] 61 | || ) { [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/resolver/resolve_pipeline.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 53 ~ match resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] 54 | &names, [INFO] [stdout] ... [INFO] [stdout] 60 | context, [INFO] [stdout] 61 ~ ) { Some(expr_info) => { [INFO] [stdout] 62 | if expr_info.reference_info().is_none() { [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | context.insert_diagnostics_error(identifier.span, "identifier not found"); [INFO] [stdout] 86 | has_errors = true; [INFO] [stdout] 87 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_identifier.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(result) = resolve_identifier(identifier, context, ReferenceSpace::Default, context.current_availability()) { [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/resolver/resolve_identifier.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | } 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] 28 ~ match resolve_identifier(identifier, context, ReferenceSpace::Default, context.current_availability()) { Some(result) => { [INFO] [stdout] 29 | result [INFO] [stdout] 30 ~ } _ => { [INFO] [stdout] 31 | context.insert_diagnostics_error(identifier.span, "undefined identifier"); [INFO] [stdout] 32 | ExprInfo::undetermined() [INFO] [stdout] 33 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_identifier.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(reference) = resolve_identifier_path_names_in_source_to_top( [INFO] [stdout] | ________________^ [INFO] [stdout] 141 | | &identifier_path_names, [INFO] [stdout] 142 | | schema, [INFO] [stdout] 143 | | filter, [INFO] [stdout] ... | [INFO] [stdout] 146 | | &vec!["std"], [INFO] [stdout] | | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 147 | | availability, [INFO] [stdout] 148 | | ) { [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/resolver/resolve_identifier.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match resolve_identifier_path_names_in_source_to_top( [INFO] [stdout] 141 | &identifier_path_names, [INFO] [stdout] ... [INFO] [stdout] 147 | availability, [INFO] [stdout] 148 ~ ) { Some(reference) => { [INFO] [stdout] 149 | return Some(reference); [INFO] [stdout] 150 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_constant.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | value: if let Some(value) = resolved.value() { [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/resolver/resolve_constant.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 31 ~ value: match resolved.value() { Some(value) => { [INFO] [stdout] 32 | resolved.r#type().coerce_value_to(value, type_expr.resolved()) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | None [INFO] [stdout] 35 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | ...if let Some(matched) = type_item_builtin_match(name, type_item, generics_declaration, generics_constraint, keywords_map, context, availability... [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/resolver/resolve_type_expr.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } 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] 229 ~ match type_item_builtin_match(name, type_item, generics_declaration, generics_constraint, keywords_map, context, availability) { Some(matched) => { [INFO] [stdout] 230 | Some(matched) [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | if let Ok(enum_reference_kind) = SynthesizedEnumReferenceKind::from_str(name) { [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if let Some(reference_info) = resolved.reference_info() { [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/resolver/resolve_type_expr.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 310 ~ match resolved.reference_info() { Some(reference_info) => { [INFO] [stdout] 311 | base = match reference_info.r#type() { [INFO] [stdout] ... [INFO] [stdout] 335 | }; [INFO] [stdout] 336 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | if let Some(reference) = inner_type.as_model_object() { [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] 423 | } else if let Some((reference, interface_generics)) = inner_type.as_interface_object() { [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/resolver/resolve_type_expr.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | } else if let Some((reference, interface_generics)) = inner_type.as_interface_object() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/resolver/resolve_type_expr.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | } 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] 415 ~ match inner_type.as_model_object() { Some(reference) => { [INFO] [stdout] 416 | let model = context.schema.find_top_by_path(reference.path()).unwrap().as_model().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 422 | } [INFO] [stdout] 423 ~ } _ => { match inner_type.as_interface_object() { Some((reference, interface_generics)) => { [INFO] [stdout] 424 | let interface = context.schema.find_top_by_path(reference.path()).unwrap().as_interface_declaration().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 431 | } [INFO] [stdout] 432 ~ } _ => { [INFO] [stdout] 433 | context.insert_diagnostics_error(t.span(), "model or interface not found"); [INFO] [stdout] 434 | Some(Type::Undetermined) [INFO] [stdout] 435 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(msg) = f(t) { [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/resolver/resolve_handler_group.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match f(t) { Some(msg) => { [INFO] [stdout] 123 | context.insert_diagnostics_error(span, msg); [INFO] [stdout] 124 | break [INFO] [stdout] 125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(msg) = f(t) { [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/resolver/resolve_handler_group.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match f(t) { Some(msg) => { [INFO] [stdout] 144 | context.insert_diagnostics_error(span, msg); [INFO] [stdout] 145 | break [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(shape) = model.resolved().declared_shapes.get(reference.string_path()) { [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/resolver/resolve_expression.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | } 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] 418 ~ match model.resolved().declared_shapes.get(reference.string_path()) { Some(shape) => { [INFO] [stdout] 419 | if shape.get(e.identifier().name()).is_some() { [INFO] [stdout] ... [INFO] [stdout] 432 | } [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | context.insert_diagnostics_error(e.span, format!("expected {}, found .{}", expected, e.identifier().name())); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | if let Some(t) = member_definition.args.get(name.name()) { [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/resolver/resolve_expression.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 492 ~ match member_definition.args.get(name.name()) { Some(t) => { [INFO] [stdout] 493 | resolve_expression(argument.value(), context, t, &btreemap! {}); [INFO] [stdout] ... [INFO] [stdout] 501 | required_names.remove(name.name()); [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | context.insert_diagnostics_error(name.span, "undefined argument"); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:617:12 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(value) = resolved.value { [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/resolver/resolve_expression.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | } 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] 617 ~ match resolved.value { Some(value) => { [INFO] [stdout] 618 | retval_values.push(value); [INFO] [stdout] 619 ~ } _ => { [INFO] [stdout] 620 | unresolved = true; [INFO] [stdout] 621 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:693:20 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(key_value) = key_expr_info.value() { [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/resolver/resolve_expression.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | } 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] 693 ~ match key_expr_info.value() { Some(key_value) => { [INFO] [stdout] 694 | if let Some(str_key_value) = key_value.as_str() { [INFO] [stdout] ... [INFO] [stdout] 698 | } [INFO] [stdout] 699 ~ } _ => { [INFO] [stdout] 700 | &undetermined [INFO] [stdout] 701 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:799:43 [INFO] [stdout] | [INFO] [stdout] 799 | ... value: if let Some(v) = v.value { Some(v.neg().unwrap()) } else { None }, [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/resolver/resolve_expression.rs:799:90 [INFO] [stdout] | [INFO] [stdout] 799 | ... value: if let Some(v) = v.value { Some(v.neg().unwrap()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 799 | value: match v.value { Some(v) => { Some(v.neg().unwrap()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:816:35 [INFO] [stdout] | [INFO] [stdout] 816 | value: if let Some(v) = v.value { Some(v.normal_not()) } else { None }, [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/resolver/resolve_expression.rs:816:80 [INFO] [stdout] | [INFO] [stdout] 816 | value: if let Some(v) = v.value { Some(v.normal_not()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 816 | value: match v.value { Some(v) => { Some(v.normal_not()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:823:39 [INFO] [stdout] | [INFO] [stdout] 823 | ... value: if let Some(v) = v.value { Some(v.not().unwrap()) } else { None }, [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/resolver/resolve_expression.rs:823:86 [INFO] [stdout] | [INFO] [stdout] 823 | ... value: if let Some(v) = v.value { Some(v.not().unwrap()) } else { None }, [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 823 | value: match v.value { Some(v) => { Some(v.not().unwrap()) } _ => { None }}, [INFO] [stdout] | ~~~~~ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:900:56 [INFO] [stdout] | [INFO] [stdout] 900 | ArithExprOperator::RangeOpen => if let Some(result) = build_range(lhs.r#type(), rhs.r#type()) { [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/resolver/resolve_expression.rs:902:21 [INFO] [stdout] | [INFO] [stdout] 902 | } 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] 900 ~ ArithExprOperator::RangeOpen => match build_range(lhs.r#type(), rhs.r#type()) { Some(result) => { [INFO] [stdout] 901 | result [INFO] [stdout] 902 ~ } _ => { [INFO] [stdout] 903 | context.insert_diagnostics_error(binary.span, "invalid expression"); [INFO] [stdout] 904 | Type::Undetermined [INFO] [stdout] 905 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_expression.rs:906:57 [INFO] [stdout] | [INFO] [stdout] 906 | ArithExprOperator::RangeClose => if let Some(result) = build_range(lhs.r#type(), rhs.r#type()) { [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/resolver/resolve_expression.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | } 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] 906 ~ ArithExprOperator::RangeClose => match build_range(lhs.r#type(), rhs.r#type()) { Some(result) => { [INFO] [stdout] 907 | result [INFO] [stdout] 908 ~ } _ => { [INFO] [stdout] 909 | context.insert_diagnostics_error(binary.span, "invalid expression"); [INFO] [stdout] 910 | Type::Undetermined [INFO] [stdout] 911 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(pipeline_input) = &callable_variant.pipeline_input { [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/resolver/resolve_argument_list.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match &callable_variant.pipeline_input { Some(pipeline_input) => { [INFO] [stdout] 119 | if pipeline_input.contains_generics() { [INFO] [stdout] ... [INFO] [stdout] 131 | } [INFO] [stdout] 132 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:444:28 [INFO] [stdout] | [INFO] [stdout] 444 | if let Some(shape) = model.resolved().declared_shapes.get(reference.string_path()) { [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/resolver/resolve_argument_list.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | } 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] 444 ~ match model.resolved().declared_shapes.get(reference.string_path()) { Some(shape) => { [INFO] [stdout] 445 | shape.get(field_name).cloned().unwrap_or(Type::Undetermined) [INFO] [stdout] 446 ~ } _ => { [INFO] [stdout] 447 | Type::Undetermined [INFO] [stdout] 448 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_data_set.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | ...if let Some(expr_info) = resolve_identifier_path_with_filter(group.identifier_path(), context, &top_filter_for_model(), context.current_availability()... [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/resolver/resolve_data_set.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | } 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 resolve_identifier_path_with_filter(group.identifier_path(), context, &top_filter_for_model(), context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 33 | if let Some(reference_info) = expr_info.reference_info() { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | context.insert_diagnostics_error(group.identifier_path().span(), "model not found"); [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_data_set.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(reference_info) = expr_info.reference_info() { [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/resolver/resolve_data_set.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 33 ~ match expr_info.reference_info() { Some(reference_info) => { [INFO] [stdout] 34 | if reference_info.r#type == ReferenceType::Model { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | context.insert_diagnostics_error(group.identifier_path().span(), "model not found"); [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(current) = current { [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/resolver/resolve_unit.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | } 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] 59 ~ match current { Some(current) => { [INFO] [stdout] 60 | unit_type_coerce(unit.last_expression().unwrap().span(), ¤t, expected, context) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | ExprInfo::undetermined() [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | let v = if let Some(v) = ¤t.value { [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/resolver/resolve_unit.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | } 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] 259 ~ let v = match ¤t.value { Some(v) => { [INFO] [stdout] 260 | v.as_tuple().map(|t| t.get(int_subscript.index)).flatten().cloned() [INFO] [stdout] 261 ~ } _ => { [INFO] [stdout] 262 | None [INFO] [stdout] 263 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | if let Some(result) = resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 685 | || &names, [INFO] [stdout] 686 | || context.schema, [INFO] [stdout] 687 | || context.source(), [INFO] [stdout] ... || [INFO] [stdout] 691 | || context, [INFO] [stdout] 692 | || ) { [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/resolver/resolve_unit.rs:694:13 [INFO] [stdout] | [INFO] [stdout] 694 | } 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] 684 ~ match resolve_identifier_path_names_with_filter_to_expr_info( [INFO] [stdout] 685 | &names, [INFO] [stdout] ... [INFO] [stdout] 691 | context, [INFO] [stdout] 692 ~ ) { Some(result) => { [INFO] [stdout] 693 | result [INFO] [stdout] 694 ~ } _ => { [INFO] [stdout] 695 | context.insert_diagnostics_error(expression.span(), "identifier not found"); [INFO] [stdout] 696 | ExprInfo::undetermined() [INFO] [stdout] 697 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_unit.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | if let Some(target_model_reference) = synthesized_enum_reference.owner.as_model_object() { [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/resolver/resolve_unit.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 712 ~ match synthesized_enum_reference.owner.as_model_object() { Some(target_model_reference) => { [INFO] [stdout] 713 | if target_model_reference.path() == &model_path { [INFO] [stdout] ... [INFO] [stdout] 728 | } [INFO] [stdout] 729 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_use_middlewares_block.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(middleware_declaration) = resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] | ________^ [INFO] [stdout] 52 | | &path, [INFO] [stdout] 53 | | context.schema, [INFO] [stdout] 54 | | context.source(), [INFO] [stdout] 55 | | &context.current_namespace_path(), [INFO] [stdout] 56 | | &top_filter_for_middleware(), [INFO] [stdout] | | --------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 57 | | context.current_availability(), [INFO] [stdout] 58 | | ).map(|t| t.as_middleware_declaration()).flatten() { [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/resolver/resolve_use_middlewares_block.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | } 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] 51 ~ match resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] 52 | &path, [INFO] [stdout] ... [INFO] [stdout] 57 | context.current_availability(), [INFO] [stdout] 58 ~ ).map(|t| t.as_middleware_declaration()).flatten() { Some(middleware_declaration) => { [INFO] [stdout] 59 | if middleware_declaration.argument_list_declaration().is_none() { [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] 76 ~ } _ => { [INFO] [stdout] 77 | ExprInfo::undetermined() [INFO] [stdout] 78 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 341 | if let Some(array_literal) = argument.value().kind.as_array_literal() { [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/resolver/resolve_model_shapes.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 341 ~ match argument.value().kind.as_array_literal() { Some(array_literal) => { [INFO] [stdout] 342 | let mut map = indexmap! {}; [INFO] [stdout] ... [INFO] [stdout] 353 | } [INFO] [stdout] 354 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | ... if let Some(enum_variant_literal) = expression.kind.as_enum_variant_literal() { [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/resolver/resolve_model_shapes.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match expression.kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 345 | let name = enum_variant_literal.identifier().name(); [INFO] [stdout] ... [INFO] [stdout] 348 | } [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1417:16 [INFO] [stdout] | [INFO] [stdout] 1417 | if let Some(path) = unwrap_model_path_in_expression_kind(&through.value().kind, model, context) { [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/resolver/resolve_model_shapes.rs:1421:13 [INFO] [stdout] | [INFO] [stdout] 1421 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1417 ~ match unwrap_model_path_in_expression_kind(&through.value().kind, model, context) { Some(path) => { [INFO] [stdout] 1418 | if path == through_path && local_value == local && foreign_value == foreign { [INFO] [stdout] 1419 | return Some(field); [INFO] [stdout] 1420 | } [INFO] [stdout] 1421 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | ...if let Some(expr_info) = resolve_identifier_path_with_filter(synthesized_shape_field_declaration.decorator_identifier_path(), context, &top_filter_for_any_model_field_decorators(), context.current_availability()... [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/resolver/resolve_declared_synthesized_shape.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 49 ~ match resolve_identifier_path_with_filter(synthesized_shape_field_declaration.decorator_identifier_path(), context, &top_filter_for_any_model_field_decorators(), context.current_availability()) { Some(expr_info) => { [INFO] [stdout] 50 | synthesized_shape_field_declaration.resolved_mut().decorator_full_path = Some(expr_info.reference_info().unwrap().reference().string_path().clone()); [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | context.insert_diagnostics_error(synthesized_shape_field_declaration.decorator_identifier_path().span(), "decorator not found"); [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver/resolve_include_handler_from_template.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(template_node) = resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] | ________^ [INFO] [stdout] 27 | | &template_path.names(), [INFO] [stdout] 28 | | context.schema, [INFO] [stdout] 29 | | context.source(), [INFO] [stdout] 30 | | &context.current_namespace_path(), [INFO] [stdout] 31 | | &top_filter_for_handler_template(), [INFO] [stdout] | | --------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 32 | | context.current_availability() [INFO] [stdout] 33 | | ) { [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/resolver/resolve_include_handler_from_template.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | } 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] 26 ~ match resolve_identifier_path_names_with_filter_to_top( [INFO] [stdout] 27 | &template_path.names(), [INFO] [stdout] ... [INFO] [stdout] 32 | context.current_availability() [INFO] [stdout] 33 ~ ) { Some(template_node) => { [INFO] [stdout] 34 | let template = template_node.as_handler_template_declaration().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 51 | } [INFO] [stdout] 52 ~ } _ => { [INFO] [stdout] 53 | context.insert_diagnostics_error(include_handler_from_template.identifier_path().span(), "handler template definition is not found"); [INFO] [stdout] 54 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/completion/collect_reference_completion.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(namespace) = builtin_source.find_child_namespace_by_string_path(&vec!["std"]) { [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/completion/collect_reference_completion.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 54 ~ match builtin_source.find_child_namespace_by_string_path(&vec!["std"]) { Some(namespace) => { [INFO] [stdout] 55 | result.extend(collect_reference_completion_in_namespace(namespace, filter, availability)); [INFO] [stdout] 56 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_enum_variant_literal.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(reference) = reference.owner.as_model_object() { [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/definition/jump_to_definition_in_enum_variant_literal.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | } 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] 35 ~ match reference.owner.as_model_object() { Some(reference) => { [INFO] [stdout] 36 | let model = schema.find_top_by_path(reference.path()).unwrap().as_model().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | vec![] [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_identifier.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(reference) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 21 | | schema, [INFO] [stdout] 22 | | source, [INFO] [stdout] ... | [INFO] [stdout] 25 | | availability, [INFO] [stdout] 26 | | ) { [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/definition/jump_to_definition_in_identifier.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | } 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] 19 ~ match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 20 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 25 | availability, [INFO] [stdout] 26 ~ ) { Some(reference) => { [INFO] [stdout] 27 | match schema.find_top_by_path(&reference).unwrap() { [INFO] [stdout] ... [INFO] [stdout] 71 | } [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | vec![] [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/definition/jump_to_definition_in_enum_declaration.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(arith_expr) = expression.kind.as_arith_expr() { [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/definition/jump_to_definition_in_enum_declaration.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } 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] 54 ~ match expression.kind.as_arith_expr() { Some(arith_expr) => { [INFO] [stdout] 55 | return jump_to_definition_in_arith_expr( [INFO] [stdout] ... [INFO] [stdout] 63 | ); [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | return vec![]; [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | current = Some(if let Some(identifier) = expression.kind.as_identifier() { [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/search/search_unit_for_definition.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 70 ~ current = Some(match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 71 | if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | UnitSearchResult::Type(expression.resolved().r#type().clone()) [INFO] [stdout] 86 ~ }}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | ____________________^ [INFO] [stdout] 72 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 73 | | schema, [INFO] [stdout] 74 | | source, [INFO] [stdout] ... | [INFO] [stdout] 77 | | availability, [INFO] [stdout] 78 | | ) { [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/search/search_unit_for_definition.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | } 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] 71 ~ match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 72 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 77 | availability, [INFO] [stdout] 78 ~ ) { Some(path) => { [INFO] [stdout] 79 | identifier_span = Some(identifier.span); [INFO] [stdout] 80 | UnitSearchResult::Reference(path) [INFO] [stdout] 81 ~ } _ => { [INFO] [stdout] 82 | UnitSearchResult::Type(Type::Undetermined) [INFO] [stdout] 83 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_unit_for_definition.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 250 | ...if let Some(top) = namespace.find_top_by_name(identifier.name(), &top_filter_for_reference_type(ReferenceSpace::Default), availability) { [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/search/search_unit_for_definition.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ... } 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] 250 ~ match namespace.find_top_by_name(identifier.name(), &top_filter_for_reference_type(ReferenceSpace::Default), availability) { Some(top) => { [INFO] [stdout] 251 | if identifier.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] 256 ~ } _ => { [INFO] [stdout] 257 | return default; [INFO] [stdout] 258 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(identifier) = expression.kind.as_identifier() { [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] 61 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [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/search/search_pipeline_unit_for_definition.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 32 | if let Some(this_top) = if current_namespace.is_some() { [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] 61 ~ } _ => { match expression.kind.as_argument_list() { Some(argument_list) => { [INFO] [stdout] 62 | if argument_list.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_definition.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | } else if let Some(path) = search_identifier_path_names_with_filter_to_path( [INFO] [stdout] | _______________________^ [INFO] [stdout] 35 | | &vec![identifier.name()], [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 36 | | schema, [INFO] [stdout] 37 | | source, [INFO] [stdout] ... | [INFO] [stdout] 40 | | availability, [INFO] [stdout] 41 | | ) { [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/search/search_pipeline_unit_for_definition.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 34 ~ } else { match search_identifier_path_names_with_filter_to_path( [INFO] [stdout] 35 | &vec![identifier.name()], [INFO] [stdout] ... [INFO] [stdout] 40 | availability, [INFO] [stdout] 41 ~ ) { Some(path) => { [INFO] [stdout] 42 | schema.find_top_by_path(&path) [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | None [INFO] [stdout] 45 ~ }}} { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(identifier) = expression.kind.as_identifier() { [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] 39 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [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/search/search_pipeline_unit_for_auto_completion.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(argument_list) = expression.kind.as_argument_list() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match expression.kind.as_identifier() { Some(identifier) => { [INFO] [stdout] 27 | if identifier.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] 39 ~ } _ => { match expression.kind.as_argument_list() { Some(argument_list) => { [INFO] [stdout] 40 | if argument_list.span.contains_line_col(line_col) { [INFO] [stdout] ... [INFO] [stdout] 44 | } [INFO] [stdout] 45 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_pipeline_unit_for_auto_completion.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | ...if let Some(reference) = search_identifier_path_names_with_filter_to_path(&user_typed_prefix, schema, source, namespace_path, &top_filter_for_pipeline(), availability... [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/search/search_pipeline_unit_for_auto_completion.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 31 ~ match search_identifier_path_names_with_filter_to_path(&user_typed_prefix, schema, source, namespace_path, &top_filter_for_pipeline(), availability) { Some(reference) => { [INFO] [stdout] 32 | if schema.find_top_by_path(&reference).unwrap().is_pipeline_item_declaration() { [INFO] [stdout] 33 | user_typed_prefix = vec![]; [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | user_typed_prefix = vec![]; [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(enum_variant_literal) = provider.1.kind.as_enum_variant_literal() { [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] 55 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 56 | } else if let Some(unit) = provider.1.kind.as_unit() { [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] 62 | } else if let Some(arith) = provider.1.kind.as_arith_expr() { [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/search/search_availability.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | } else if let Some(unit) = provider.1.kind.as_unit() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | } else if let Some(arith) = provider.1.kind.as_arith_expr() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | } 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] 54 ~ match provider.1.kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 55 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 56 ~ } _ => { match provider.1.kind.as_unit() { Some(unit) => { [INFO] [stdout] 57 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] 62 ~ } _ => { match provider.1.kind.as_arith_expr() { Some(arith) => { [INFO] [stdout] 63 | match arith { [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | Availability::no_database() [INFO] [stdout] 81 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [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/search/search_availability.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | } 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] 57 ~ match unit.expressions().next().unwrap().kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 58 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | Availability::no_database() [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(unit) = e.kind.as_unit() { [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] 71 | } else if let Some(e) = e.kind.as_enum_variant_literal() { [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/search/search_availability.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | } else if let Some(e) = e.kind.as_enum_variant_literal() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | } 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] 65 ~ match e.kind.as_unit() { Some(unit) => { [INFO] [stdout] 66 | if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [INFO] [stdout] ... [INFO] [stdout] 70 | } [INFO] [stdout] 71 ~ } _ => { match e.kind.as_enum_variant_literal() { Some(e) => { [INFO] [stdout] 72 | availability_from_enum_variant_literal(e) [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | Availability::no_database() [INFO] [stdout] 75 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/search/search_availability.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(enum_variant_literal) = unit.expressions().next().unwrap().kind.as_enum_variant_literal() { [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/search/search_availability.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | ... } 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] 66 ~ match unit.expressions().next().unwrap().kind.as_enum_variant_literal() { Some(enum_variant_literal) => { [INFO] [stdout] 67 | availability_from_enum_variant_literal(enum_variant_literal) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | Availability::no_database() [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format/flusher.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(buffer) = f(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/format/flusher.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | } 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] 56 ~ match f(self) { Some(buffer) => { [INFO] [stdout] 57 | Some(buffer) [INFO] [stdout] 58 ~ } _ => { [INFO] [stdout] 59 | self.file_state = file_state; [INFO] [stdout] 60 | self.flusher_state = flusher_state; [INFO] [stdout] 61 | None [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 152 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.49s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking teo-parser v0.3.0-alpha.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, gen) => { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, r#gen) => { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, gen) => { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 132 | Type::InterfaceObject(reference, r#gen) => { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | let shape = interface.shape_from_generics(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_handler_group.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | let shape = interface.shape_from_generics(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let gen = t.as_generic_item().unwrap(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 515 | let r#gen = t.as_generic_item().unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:517:83 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| i.identifier().name() == gen) { [INFO] [stdout] | --- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| { i.identifier().name() == gen}) { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let gen = t.as_generic_item().unwrap(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 515 | let r#gen = t.as_generic_item().unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/resolver/resolve_argument_list.rs:517:83 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| i.identifier().name() == gen) { [INFO] [stdout] | --- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(item) = constraints.items().find(|i| { i.identifier().name() == gen}) { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for gen in generics { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for i in gen.identifiers() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for gen in generics { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/completion/find_completion_in_type_expr.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for i in gen.identifiers() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | for gen in type_item.generic_items() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if gen.span().contains_line_col(line_col) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | for gen in type_item.generic_items() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if gen.span().contains_line_col(line_col) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(gen) = struct_declaration.generics_declaration() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(r#gen) = struct_declaration.generics_declaration() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | generics.push(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(gen) = function_declaration.generics_declaration() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(r#gen) = function_declaration.generics_declaration() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | generics.push(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(gen) = struct_declaration.generics_declaration() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(r#gen) = struct_declaration.generics_declaration() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | generics.push(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(gen) = function_declaration.generics_declaration() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(r#gen) = function_declaration.generics_declaration() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/definition/jump_to_definition_in_struct_declaration.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | generics.push(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::span::Span` [INFO] [stdout] --> src/ast/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ast/synthesized_shape_declaration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HandlerDeclaration` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::handler::{HandlerDeclaration, HandlerInputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/ast/type_as_value_expression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceDeclarationResolved` [INFO] [stdout] --> src/parser/parse_interface_declaration.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::interface::{InterfaceDeclaration, InterfaceDeclarationResolved}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_set_identifier_and_string_path` [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:3:146 [INFO] [stdout] | [INFO] [stdout] 3 | ..., parse_insert, parse_insert_keyword, parse_set, parse_set_identifier_and_string_path, parse_set_optional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maplit::btreemap` [INFO] [stdout] --> src/parser/parse_synthesized_shape_declaration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use maplit::btreemap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/resolver/resolve_expression.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::value::{value, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search_identifier_path_names_with_filter_to_top` [INFO] [stdout] --> src/resolver/resolve_expression.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::search::search_identifier_path::{search_identifier_path_names_with_filter_to_top, search_identifier_path_names_with_filter_to_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolve_identifier_path` [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resolver::resolve_identifier::{resolve_identifier_path, resolve_identifier_path_with_filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_model::jump_to_definition_in_model` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::definition::jump_to_definition_in_model::jump_to_definition_in_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::decorator::Decorator` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::decorator::Decorator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandlerDeclaration` and `HandlerGroupDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_handler_template_declaration.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::{HandlerDeclaration, HandlerGroupDeclaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::handler::HandlerDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_include_handler_from_template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::HandlerDeclaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/search/search_identifier_path.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/format/command.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> BranchCommand<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 62 | [INFO] [stdout] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::span::Span` [INFO] [stdout] --> src/ast/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ast/synthesized_shape_declaration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HandlerDeclaration` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast::handler::{HandlerDeclaration, HandlerInputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/ast/type_as_value_expression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceDeclarationResolved` [INFO] [stdout] --> src/parser/parse_interface_declaration.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::interface::{InterfaceDeclaration, InterfaceDeclarationResolved}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_set_identifier_and_string_path` [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:3:146 [INFO] [stdout] | [INFO] [stdout] 3 | ..., parse_insert, parse_insert_keyword, parse_set, parse_set_identifier_and_string_path, parse_set_optional}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maplit::btreemap` [INFO] [stdout] --> src/parser/parse_synthesized_shape_declaration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use maplit::btreemap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/resolver/resolve_expression.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::value::{value, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search_identifier_path_names_with_filter_to_top` [INFO] [stdout] --> src/resolver/resolve_expression.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::search::search_identifier_path::{search_identifier_path_names_with_filter_to_top, search_identifier_path_names_with_filter_to_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolve_identifier_path` [INFO] [stdout] --> src/resolver/resolve_declared_synthesized_shape.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resolver::resolve_identifier::{resolve_identifier_path, resolve_identifier_path_with_filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_model::jump_to_definition_in_model` [INFO] [stdout] --> src/definition/jump_to_definition_in_type_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::definition::jump_to_definition_in_model::jump_to_definition_in_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::decorator::Decorator` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::decorator::Decorator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list` [INFO] [stdout] --> src/definition/jump_to_definition_in_declared_synthesized_shape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::definition::jump_to_definition_in_argument_list::jump_to_definition_in_argument_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandlerDeclaration` and `HandlerGroupDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_handler_template_declaration.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::{HandlerDeclaration, HandlerGroupDeclaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::handler::HandlerDeclaration` [INFO] [stdout] --> src/definition/jump_to_definition_in_include_handler_from_template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::handler::HandlerDeclaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::resolved::Resolve` [INFO] [stdout] --> src/search/search_identifier_path.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::resolved::Resolve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/format/command.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> BranchCommand<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 62 | [INFO] [stdout] 63 | pub(super) fn children(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/type/type.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/identifier_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/config_declaration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/config_declaration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/config_declaration.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/enum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/enum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/constant_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/data_set.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_declaration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/struct_declaration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/struct_declaration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/type/type.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/identifier_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/config_declaration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/config_declaration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/config_declaration.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/value/interface_enum_variant.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/enum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/enum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/constant_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/data_set.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::node_trait::NodeTrait` [INFO] [stdout] --> src/ast/argument_declaration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::traits::node_trait::NodeTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::named_identifiable::NamedIdentifiable` [INFO] [stdout] --> src/ast/struct_declaration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::traits::named_identifiable::NamedIdentifiable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/struct_declaration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/handler_template_declaration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::has_availability::HasAvailability` [INFO] [stdout] --> src/ast/include_handler_from_template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::traits::has_availability::HasAvailability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/field.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 89 | self.is_model_field() || [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/field.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_model_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 89 | self.is_model_field() || [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colon` is assigned to, but never used [INFO] [stdout] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut colon = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_colon` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colon` is never read [INFO] [stdout] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 60 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 98 | Rule::EXCLUSIVE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/parse_decorator_declaration.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 57 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 102 | Rule::UNIQUE_KEYWORD => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colon` is assigned to, but never used [INFO] [stdout] --> src/parser/parse_named_expression.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut colon = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_colon` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colon` is never read [INFO] [stdout] --> src/parser/parse_named_expression.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Rule::COLON => colon = Some(Punctuation::new(":", parse_span(¤t), context.next_path())), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parse_partial_argument_declaration.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut optional = None; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string_path` is never read [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | mut string_path, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_source.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stdout] | [INFO] [stdout] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:30:79 [INFO] [stdout] | [INFO] [stdout] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parse_partial_argument_declaration.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut optional = None; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string_path` is never read [INFO] [stdout] --> src/parser/parse_include_handler_from_template.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | mut string_path, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_namespace.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_source.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Model(model) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/resolver/resolve_identifier.rs:307:103 [INFO] [stdout] | [INFO] [stdout] 307 | resolver_context.alter_state_and_restore(c.source_id(), &c.namespace_path(), |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/resolver/resolve_argument_list_declaration.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let result = resolve_type_expr(argument_declaration.type_expr(), generics_declaration, generics_constraint, &btreemap! {}, context, a... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stdout] | [INFO] [stdout] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | config.items().iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:30:79 [INFO] [stdout] | [INFO] [stdout] 30 | let exist_keys: HashSet<&str> = config.items().iter().filter_map(|(k, v)| k.named_key_without_resolving()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/resolver/resolve_config.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | for item in config.items().iter().duplicates_by(|(k, v)| k.named_key_without_resolving().unwrap()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_col` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:93 [INFO] [stdout] | [INFO] [stdout] 10 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undetermined` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let undetermined = Type::Undetermined; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | source: &Source, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace_path` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | namespace_path: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `availability` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | availability: Availability, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/resolver/resolve_unit.rs:493:81 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some((_, t)) = interface.resolved().shape().iter().find(|(k, t)| k.as_str() == identifier.name()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/resolver/resolve_model_shapes.rs:1452:50 [INFO] [stdout] | [INFO] [stdout] 1452 | fn unwrap_model_path_in_unit<'a>(unit: &'a Unit, model: &'a Model, context: &'a ResolverContext<'a>) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/format/flusher.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) fn find_completion_in_config(schema: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec src/completion/find_completion_in_config.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | ...: &Schema, _source: &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_col` [INFO] [stdout] --> src/completion/find_completion_in_config.rs:10:93 [INFO] [stdout] | [INFO] [stdout] 10 | ... &Source, config: &Config, line_col: (usize, usize)) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(args) = &self.args { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undetermined` [INFO] [stdout] --> src/completion/find_completion_in_expression.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let undetermined = Type::Undetermined; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_undetermined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | source: &Source, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace_path` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | namespace_path: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `availability` [INFO] [stdout] --> src/completion/find_completion_in_unit.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | availability: Availability, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_availability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teo-parser` (lib test) due to 13 previous errors; 67 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/search/search_unit_for_definition.rs:162:93 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some(item) = config.items().iter().find(|(k, v)| k.named_key_without_resolving().is_some() && k.named_key_without_resolving(... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/format/flusher.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | leaf_command.contents().iter().enumerate().for_each(|(i, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/value/interface_enum_variant.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(args) = &self.args { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teo-parser` (lib) due to 13 previous errors; 67 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" "91ab40461a680d73441e96d7adf9fdd5b6709e4a30f5f8d0994d2bedf8f8459e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ab40461a680d73441e96d7adf9fdd5b6709e4a30f5f8d0994d2bedf8f8459e", kill_on_drop: false }` [INFO] [stdout] 91ab40461a680d73441e96d7adf9fdd5b6709e4a30f5f8d0994d2bedf8f8459e