[INFO] fetching crate scout-audit-clippy-utils-soroban 0.2.2... [INFO] checking scout-audit-clippy-utils-soroban-0.2.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scout-audit-clippy-utils-soroban 0.2.2 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate scout-audit-clippy-utils-soroban 0.2.2 [INFO] finished tweaking crates.io crate scout-audit-clippy-utils-soroban 0.2.2 [INFO] tweaked toml for crates.io crate scout-audit-clippy-utils-soroban 0.2.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scout-audit-clippy-utils-soroban 0.2.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-semver v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63a93137a8f4f514a845db2939b6d39ebe7217281a096d909b7e3c10bfbfbb7c [INFO] running `Command { std: "docker" "start" "-a" "63a93137a8f4f514a845db2939b6d39ebe7217281a096d909b7e3c10bfbfbb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a93137a8f4f514a845db2939b6d39ebe7217281a096d909b7e3c10bfbfbb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a93137a8f4f514a845db2939b6d39ebe7217281a096d909b7e3c10bfbfbb7c", kill_on_drop: false }` [INFO] [stdout] 63a93137a8f4f514a845db2939b6d39ebe7217281a096d909b7e3c10bfbfbb7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 928e75978bf76a7d208eb1551f430a5809f7b8a7a1a7332ddd4bba394ce5626c [INFO] running `Command { std: "docker" "start" "-a" "928e75978bf76a7d208eb1551f430a5809f7b8a7a1a7332ddd4bba394ce5626c", kill_on_drop: false }` [INFO] [stderr] Checking rustc-semver v1.1.0 [INFO] [stderr] Checking scout-audit-clippy-utils-soroban v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | if let Res::Def(DefKind::Ctor(..), id) = res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | && let Some(lang_id) = cx.tcx.lang_items().get(lang_item) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | && let Some(id) = cx.tcx.opt_parent(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | if let Res::Def(DefKind::Ctor(..), id) = res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | && let Some(id) = cx.tcx.opt_parent(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | if let Some(hir_id) = cx.tcx.opt_local_def_id_to_hir_id(def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | && let Node::Item(item) = cx.tcx.hir().get_parent(hir_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | && let ItemKind::Impl(imp) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:920:8 [INFO] [stdout] | [INFO] [stdout] 920 | if let ExprKind::Path(QPath::TypeRelative(ty, seg)) = from_func.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:930:20 [INFO] [stdout] | [INFO] [stdout] 930 | if let ExprKind::Lit(const_lit) = cx.tcx.hir().body(len.body).value.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:931:24 [INFO] [stdout] | [INFO] [stdout] 931 | && let LitKind::Int(v, _) = const_lit.node [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1452:24 [INFO] [stdout] | [INFO] [stdout] 1452 | if let rustc_ty::Closure(_, subs) = cx.typeck_results().expr_ty(e).kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1621:16 [INFO] [stdout] | [INFO] [stdout] 1621 | if let rustc_ty::Adt(_, subst) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1622:20 [INFO] [stdout] | [INFO] [stdout] 1622 | && let bnd_ty = subst.type_at(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1623:20 [INFO] [stdout] | [INFO] [stdout] 1623 | && let Some(min_val) = bnd_ty.numeric_min_val(cx.tcx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 1624 | && let const_val = cx.tcx.valtree_to_const_val((bnd_ty, min_val.to_valtree())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1625:20 [INFO] [stdout] | [INFO] [stdout] 1625 | && let min_const_kind = Const::from_value(const_val, bnd_ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1626:20 [INFO] [stdout] | [INFO] [stdout] 1626 | && let Some(min_const) = miri_to_const(cx, min_const_kind) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1627:20 [INFO] [stdout] | [INFO] [stdout] 1627 | && let Some(start_const) = constant(cx, cx.typeck_results(), start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1636:20 [INFO] [stdout] | [INFO] [stdout] 1636 | if let rustc_ty::Adt(_, subst) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1637:24 [INFO] [stdout] | [INFO] [stdout] 1637 | && let bnd_ty = subst.type_at(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1638:24 [INFO] [stdout] | [INFO] [stdout] 1638 | && let Some(max_val) = bnd_ty.numeric_max_val(cx.tcx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1639:24 [INFO] [stdout] | [INFO] [stdout] 1639 | && let const_val = cx.tcx.valtree_to_const_val((bnd_ty, max_val.to_valtree())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1640:24 [INFO] [stdout] | [INFO] [stdout] 1640 | && let max_const_kind = Const::from_value(const_val, bnd_ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1641:24 [INFO] [stdout] | [INFO] [stdout] 1641 | && let Some(max_const) = miri_to_const(cx, max_const_kind) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1642:24 [INFO] [stdout] | [INFO] [stdout] 1642 | && let Some(end_const) = constant(cx, cx.typeck_results(), end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1650:20 [INFO] [stdout] | [INFO] [stdout] 1650 | if let Some(container_path) = container_path [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1651:24 [INFO] [stdout] | [INFO] [stdout] 1651 | && let ExprKind::MethodCall(name, self_arg, [], _) = end.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1653:24 [INFO] [stdout] | [INFO] [stdout] 1653 | && let ExprKind::Path(QPath::Resolved(None, path)) = self_arg.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2577:24 [INFO] [stdout] | [INFO] [stdout] 2577 | && let item = tcx.hir().item(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2578:24 [INFO] [stdout] | [INFO] [stdout] 2578 | && let ItemKind::Const(ty, _generics, _body) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2629:16 [INFO] [stdout] | [INFO] [stdout] 2629 | && let Some(items) = attr.meta_item_list() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2630:16 [INFO] [stdout] | [INFO] [stdout] 2630 | && let [item] = &*items [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2859:16 [INFO] [stdout] | [INFO] [stdout] 2859 | && let Node::Expr(e) = cx.tcx.hir().get(child_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3066:8 [INFO] [stdout] | [INFO] [stdout] 3066 | if let PatKind::TupleStruct(pat_path, [inner_pat], _) = pat.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3069:12 [INFO] [stdout] | [INFO] [stdout] 3069 | && let else_body = peel_blocks(else_body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3070:12 [INFO] [stdout] | [INFO] [stdout] 3070 | && let ExprKind::Ret(Some(ret_val)) = else_body.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3071:12 [INFO] [stdout] | [INFO] [stdout] 3071 | && let ExprKind::Path(ret_path) = ret_val.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_proc_macro.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | if let Some(ident) = attr.ident() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_proc_macro.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | && let Pat::Str(old_pat) = pat.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | if let Res::Def(DefKind::Ctor(..), id) = res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | && let Some(lang_id) = cx.tcx.lang_items().get(lang_item) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | && let Some(id) = cx.tcx.opt_parent(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | if let Res::Def(DefKind::Ctor(..), id) = res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(Constant::Adt(constant)) = &self.expr(local_expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | && let Some(id) = cx.tcx.opt_parent(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | && let ty::Adt(adt_def, _) = constant.ty().kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | if let Some(hir_id) = cx.tcx.opt_local_def_id_to_hir_id(def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | && let Node::Item(item) = cx.tcx.hir().get_parent(hir_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | && let ItemKind::Impl(imp) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | && let Some(desired_field) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 423 | | field_of_struct(*adt_def, self.lcx, *constant, field) [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 485 | if let Some(node) = self.lcx.tcx.hir().get_if_local(def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | && let Node::Item(Item { [INFO] [stdout] | ________________________^ [INFO] [stdout] 487 | | kind: ItemKind::Const(.., body_id), [INFO] [stdout] 488 | | .. [INFO] [stdout] 489 | | }) = node [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | && let Node::Expr(Expr { [INFO] [stdout] | ________________________^ [INFO] [stdout] 491 | | kind: ExprKind::Lit(_), [INFO] [stdout] 492 | | span, [INFO] [stdout] 493 | | .. [INFO] [stdout] 494 | | }) = self.lcx.tcx.hir().get(body_id.hir_id) [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:553:16 [INFO] [stdout] | [INFO] [stdout] 553 | && let Some(expr) = block.expr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:558:20 [INFO] [stdout] | [INFO] [stdout] 558 | if let Some(expr_span) = walk_span_to_context(expr.span, span.ctxt) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:559:24 [INFO] [stdout] | [INFO] [stdout] 559 | && let expr_lo = expr_span.lo() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:561:24 [INFO] [stdout] | [INFO] [stdout] 561 | && let Some(src) = get_source_text(self.lcx, span.lo..expr_lo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | && let Some(src) = src.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:784:8 [INFO] [stdout] | [INFO] [stdout] 784 | if let mir::Const::Val(result, ty) = result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | && let Some(dc) = lcx [INFO] [stdout] | ____________^ [INFO] [stdout] 786 | | .tcx [INFO] [stdout] 787 | | .try_destructure_mir_constant_for_diagnostics(result, ty) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:788:12 [INFO] [stdout] | [INFO] [stdout] 788 | && let Some(dc_variant) = dc.variant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 789 | && let Some(variant) = adt_def.variants().get(dc_variant) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | && let Some(field_idx) = variant.fields.iter().position(|el| el.name == field.name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | && let Some(&(val, ty)) = dc.fields.get(field_idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:920:8 [INFO] [stdout] | [INFO] [stdout] 920 | if let ExprKind::Path(QPath::TypeRelative(ty, seg)) = from_func.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:930:20 [INFO] [stdout] | [INFO] [stdout] 930 | if let ExprKind::Lit(const_lit) = cx.tcx.hir().body(len.body).value.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:931:24 [INFO] [stdout] | [INFO] [stdout] 931 | && let LitKind::Int(v, _) = const_lit.node [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1452:24 [INFO] [stdout] | [INFO] [stdout] 1452 | if let rustc_ty::Closure(_, subs) = cx.typeck_results().expr_ty(e).kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1621:16 [INFO] [stdout] | [INFO] [stdout] 1621 | if let rustc_ty::Adt(_, subst) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1622:20 [INFO] [stdout] | [INFO] [stdout] 1622 | && let bnd_ty = subst.type_at(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1623:20 [INFO] [stdout] | [INFO] [stdout] 1623 | && let Some(min_val) = bnd_ty.numeric_min_val(cx.tcx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 1624 | && let const_val = cx.tcx.valtree_to_const_val((bnd_ty, min_val.to_valtree())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1625:20 [INFO] [stdout] | [INFO] [stdout] 1625 | && let min_const_kind = Const::from_value(const_val, bnd_ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1626:20 [INFO] [stdout] | [INFO] [stdout] 1626 | && let Some(min_const) = miri_to_const(cx, min_const_kind) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1627:20 [INFO] [stdout] | [INFO] [stdout] 1627 | && let Some(start_const) = constant(cx, cx.typeck_results(), start) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1636:20 [INFO] [stdout] | [INFO] [stdout] 1636 | if let rustc_ty::Adt(_, subst) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1637:24 [INFO] [stdout] | [INFO] [stdout] 1637 | && let bnd_ty = subst.type_at(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1638:24 [INFO] [stdout] | [INFO] [stdout] 1638 | && let Some(max_val) = bnd_ty.numeric_max_val(cx.tcx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1639:24 [INFO] [stdout] | [INFO] [stdout] 1639 | && let const_val = cx.tcx.valtree_to_const_val((bnd_ty, max_val.to_valtree())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1640:24 [INFO] [stdout] | [INFO] [stdout] 1640 | && let max_const_kind = Const::from_value(const_val, bnd_ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1641:24 [INFO] [stdout] | [INFO] [stdout] 1641 | && let Some(max_const) = miri_to_const(cx, max_const_kind) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1642:24 [INFO] [stdout] | [INFO] [stdout] 1642 | && let Some(end_const) = constant(cx, cx.typeck_results(), end) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1650:20 [INFO] [stdout] | [INFO] [stdout] 1650 | if let Some(container_path) = container_path [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1651:24 [INFO] [stdout] | [INFO] [stdout] 1651 | && let ExprKind::MethodCall(name, self_arg, [], _) = end.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:1653:24 [INFO] [stdout] | [INFO] [stdout] 1653 | && let ExprKind::Path(QPath::Resolved(None, path)) = self_arg.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2577:24 [INFO] [stdout] | [INFO] [stdout] 2577 | && let item = tcx.hir().item(id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2578:24 [INFO] [stdout] | [INFO] [stdout] 2578 | && let ItemKind::Const(ty, _generics, _body) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2629:16 [INFO] [stdout] | [INFO] [stdout] 2629 | && let Some(items) = attr.meta_item_list() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2630:16 [INFO] [stdout] | [INFO] [stdout] 2630 | && let [item] = &*items [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:2859:16 [INFO] [stdout] | [INFO] [stdout] 2859 | && let Node::Expr(e) = cx.tcx.hir().get(child_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3066:8 [INFO] [stdout] | [INFO] [stdout] 3066 | if let PatKind::TupleStruct(pat_path, [inner_pat], _) = pat.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3069:12 [INFO] [stdout] | [INFO] [stdout] 3069 | && let else_body = peel_blocks(else_body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3070:12 [INFO] [stdout] | [INFO] [stdout] 3070 | && let ExprKind::Ret(Some(ret_val)) = else_body.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:3071:12 [INFO] [stdout] | [INFO] [stdout] 3071 | && let ExprKind::Path(ret_path) = ret_val.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some((typeck_lhs, typeck_rhs)) = self.inner.maybe_typeck_results [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | && let (Some(l), Some(r)) = ( [INFO] [stdout] | ________________^ [INFO] [stdout] 285 | | constant_simple(self.inner.cx, typeck_lhs, left), [INFO] [stdout] 286 | | constant_simple(self.inner.cx, typeck_rhs, right), [INFO] [stdout] 287 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1247:12 [INFO] [stdout] | [INFO] [stdout] 1247 | if let Some(lsrc) = get_source_text(cx, left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1248:16 [INFO] [stdout] | [INFO] [stdout] 1248 | && let Some(lsrc) = lsrc.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1249:16 [INFO] [stdout] | [INFO] [stdout] 1249 | && let Some(rsrc) = get_source_text(cx, right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1250:16 [INFO] [stdout] | [INFO] [stdout] 1250 | && let Some(rsrc) = rsrc.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_proc_macro.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | if let Some(ident) = attr.ident() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_proc_macro.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | && let Pat::Str(old_pat) = pat.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(Constant::Adt(constant)) = &self.expr(local_expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | && let ty::Adt(adt_def, _) = constant.ty().kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | && let Some(desired_field) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 423 | | field_of_struct(*adt_def, self.lcx, *constant, field) [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 485 | if let Some(node) = self.lcx.tcx.hir().get_if_local(def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | && let Node::Item(Item { [INFO] [stdout] | ________________________^ [INFO] [stdout] 487 | | kind: ItemKind::Const(.., body_id), [INFO] [stdout] 488 | | .. [INFO] [stdout] 489 | | }) = node [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | && let Node::Expr(Expr { [INFO] [stdout] | ________________________^ [INFO] [stdout] 491 | | kind: ExprKind::Lit(_), [INFO] [stdout] 492 | | span, [INFO] [stdout] 493 | | .. [INFO] [stdout] 494 | | }) = self.lcx.tcx.hir().get(body_id.hir_id) [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:553:16 [INFO] [stdout] | [INFO] [stdout] 553 | && let Some(expr) = block.expr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:558:20 [INFO] [stdout] | [INFO] [stdout] 558 | if let Some(expr_span) = walk_span_to_context(expr.span, span.ctxt) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:559:24 [INFO] [stdout] | [INFO] [stdout] 559 | && let expr_lo = expr_span.lo() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:561:24 [INFO] [stdout] | [INFO] [stdout] 561 | && let Some(src) = get_source_text(self.lcx, span.lo..expr_lo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | && let Some(src) = src.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:784:8 [INFO] [stdout] | [INFO] [stdout] 784 | if let mir::Const::Val(result, ty) = result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | && let Some(dc) = lcx [INFO] [stdout] | ____________^ [INFO] [stdout] 786 | | .tcx [INFO] [stdout] 787 | | .try_destructure_mir_constant_for_diagnostics(result, ty) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:788:12 [INFO] [stdout] | [INFO] [stdout] 788 | && let Some(dc_variant) = dc.variant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 789 | && let Some(variant) = adt_def.variants().get(dc_variant) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | && let Some(field_idx) = variant.fields.iter().position(|el| el.name == field.name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/consts.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | && let Some(&(val, ty)) = dc.fields.get(field_idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/msrvs.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(cargo_msrv) = cargo_msrv [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/msrvs.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | && let Some(clippy_msrv) = clippy_msrv [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ptr.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | if let ExprKind::MethodCall(seg, recv, [], _) = e.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some((typeck_lhs, typeck_rhs)) = self.inner.maybe_typeck_results [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | && let (Some(l), Some(r)) = ( [INFO] [stdout] | ________________^ [INFO] [stdout] 285 | | constant_simple(self.inner.cx, typeck_lhs, left), [INFO] [stdout] 286 | | constant_simple(self.inner.cx, typeck_rhs, right), [INFO] [stdout] 287 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1247:12 [INFO] [stdout] | [INFO] [stdout] 1247 | if let Some(lsrc) = get_source_text(cx, left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1248:16 [INFO] [stdout] | [INFO] [stdout] 1248 | && let Some(lsrc) = lsrc.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1249:16 [INFO] [stdout] | [INFO] [stdout] 1249 | && let Some(rsrc) = get_source_text(cx, right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/hir_utils.rs:1250:16 [INFO] [stdout] | [INFO] [stdout] 1250 | && let Some(rsrc) = rsrc.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/msrvs.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(cargo_msrv) = cargo_msrv [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/msrvs.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | && let Some(clippy_msrv) = clippy_msrv [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/source.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | && let ExprKind::Block(block, _) = expr.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ptr.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | if let ExprKind::MethodCall(seg, recv, [], _) = e.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/source.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | && let ExprKind::Block(block, _) = expr.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:953:8 [INFO] [stdout] | [INFO] [stdout] 953 | if let ty::Adt(adt, _) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:954:12 [INFO] [stdout] | [INFO] [stdout] 954 | && let &[krate, .., name] = &*cx.get_def_path(adt.did()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 955 | && let sym::libc | sym::core | sym::std = krate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:975:16 [INFO] [stdout] | [INFO] [stdout] 975 | if let RegionKind::ReLateBound(idx, bound) = r.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:1090:16 [INFO] [stdout] | [INFO] [stdout] 1090 | if let ty::ClauseKind::Trait(p) = p.kind().skip_binder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:1091:20 [INFO] [stdout] | [INFO] [stdout] 1091 | && let ty::Param(self_ty) = p.trait_ref.self_ty().kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(method_def_id) = cx.typeck_results().type_dependent_def_id(expr.hir_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | && let Some(self_ty_def_id) = adt_def_id(self_ty(cx, method_def_id)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | && let Some(def_id) = parent_certainty.to_def_id() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/visitors.rs:776:16 [INFO] [stdout] | [INFO] [stdout] 776 | if let ExprKind::Assign(lhs, rhs, _) = e.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_ast_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_attr` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_eval` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_const_eval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir_typeck` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_hir_typeck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_index` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_infer` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate rustc_infer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_lexer` [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate rustc_lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_lint` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_lint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_mir_dataflow` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_mir_dataflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_trait_selection` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate rustc_trait_selection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:953:8 [INFO] [stdout] | [INFO] [stdout] 953 | if let ty::Adt(adt, _) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:954:12 [INFO] [stdout] | [INFO] [stdout] 954 | && let &[krate, .., name] = &*cx.get_def_path(adt.did()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 955 | && let sym::libc | sym::core | sym::std = krate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:975:16 [INFO] [stdout] | [INFO] [stdout] 975 | if let RegionKind::ReLateBound(idx, bound) = r.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:1090:16 [INFO] [stdout] | [INFO] [stdout] 1090 | if let ty::ClauseKind::Trait(p) = p.kind().skip_binder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:1091:20 [INFO] [stdout] | [INFO] [stdout] 1091 | && let ty::Param(self_ty) = p.trait_ref.self_ty().kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(method_def_id) = cx.typeck_results().type_dependent_def_id(expr.hir_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | && let Some(self_ty_def_id) = adt_def_id(self_ty(cx, method_def_id)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty/type_certainty/mod.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | && let Some(def_id) = parent_certainty.to_def_id() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/visitors.rs:776:16 [INFO] [stdout] | [INFO] [stdout] 776 | if let ExprKind::Assign(lhs, rhs, _) = e.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_ast_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_attr` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_eval` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_const_eval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir_typeck` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_hir_typeck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_index` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_infer` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate rustc_infer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_lexer` [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate rustc_lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_lint` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_lint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_mir_dataflow` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_mir_dataflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_trait_selection` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate rustc_trait_selection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/higher.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | if let hir::ExprKind::Call(_, [arg]) = &args[0].kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/higher.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | && let hir::ExprKind::Array(args) = arg.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/higher.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | if let hir::ExprKind::Call(_, [arg]) = &args[0].kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/higher.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | && let hir::ExprKind::Array(args) = arg.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `BinOpKind` [INFO] [stdout] --> src/ast_utils.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use BinOpKind::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `PatKind` [INFO] [stdout] --> src/ast_utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use PatKind::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ExprKind` [INFO] [stdout] --> src/ast_utils.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `StmtKind` [INFO] [stdout] --> src/ast_utils.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use StmtKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `LocalKind` [INFO] [stdout] --> src/ast_utils.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use LocalKind::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> src/ast_utils.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ForeignItemKind` [INFO] [stdout] --> src/ast_utils.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | use ForeignItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AssocItemKind` [INFO] [stdout] --> src/ast_utils.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | use AssocItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AssocItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `VariantData` [INFO] [stdout] --> src/ast_utils.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | use VariantData::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `WherePredicate` [INFO] [stdout] --> src/ast_utils.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | use WherePredicate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `UseTreeKind` [INFO] [stdout] --> src/ast_utils.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | use UseTreeKind::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `VisibilityKind` [INFO] [stdout] --> src/ast_utils.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | use VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `TyKind` [INFO] [stdout] --> src/ast_utils.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | use TyKind::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Extern` [INFO] [stdout] --> src/ast_utils.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | use Extern::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Extern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `GenericParamKind` [INFO] [stdout] --> src/ast_utils.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | use GenericParamKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `GenericBound` [INFO] [stdout] --> src/ast_utils.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | use GenericBound::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AssocConstraintKind` [INFO] [stdout] --> src/ast_utils.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | use AssocConstraintKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssocConstraintKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AttrKind` [INFO] [stdout] --> src/ast_utils.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | use AttrKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AttrArgs` [INFO] [stdout] --> src/ast_utils.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | use AttrArgs::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `BinOpKind` [INFO] [stdout] --> src/ast_utils.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use BinOpKind::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `PatKind` [INFO] [stdout] --> src/ast_utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use PatKind::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ExprKind` [INFO] [stdout] --> src/ast_utils.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `StmtKind` [INFO] [stdout] --> src/ast_utils.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use StmtKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `LocalKind` [INFO] [stdout] --> src/ast_utils.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use LocalKind::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> src/ast_utils.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ForeignItemKind` [INFO] [stdout] --> src/ast_utils.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | use ForeignItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AssocItemKind` [INFO] [stdout] --> src/ast_utils.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | use AssocItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AssocItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `VariantData` [INFO] [stdout] --> src/ast_utils.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | use VariantData::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `WherePredicate` [INFO] [stdout] --> src/ast_utils.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | use WherePredicate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `UseTreeKind` [INFO] [stdout] --> src/ast_utils.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | use UseTreeKind::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `VisibilityKind` [INFO] [stdout] --> src/ast_utils.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | use VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `TyKind` [INFO] [stdout] --> src/ast_utils.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | use TyKind::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Extern` [INFO] [stdout] --> src/ast_utils.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | use Extern::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Extern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `GenericParamKind` [INFO] [stdout] --> src/ast_utils.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | use GenericParamKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `GenericBound` [INFO] [stdout] --> src/ast_utils.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | use GenericBound::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AssocConstraintKind` [INFO] [stdout] --> src/ast_utils.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | use AssocConstraintKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssocConstraintKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AttrKind` [INFO] [stdout] --> src/ast_utils.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | use AttrKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `AttrArgs` [INFO] [stdout] --> src/ast_utils.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | use AttrArgs::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ty.rs:1022:64 [INFO] [stdout] | [INFO] [stdout] 1022 | fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1022 - fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] 1022 + fields_size.sort_by(|(_, a_size), (_, b_size)| a_size.cmp(b_size)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ty.rs:1031:38 [INFO] [stdout] | [INFO] [stdout] 1031 | variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1031 - variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] 1031 + variants_size.sort_by(|a, b| b.size.cmp(&a.size)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lint_reasons` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(lint_reasons)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `array_chunks` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/mir/possible_borrower.rs:158:66 [INFO] [stdout] | [INFO] [stdout] 158 | fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `ContainsRegion`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 158 - fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] 158 + fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/ty.rs:974:68 [INFO] [stdout] | [INFO] [stdout] 974 | fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `for_each_top_level_late_bound_region::V`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 974 - fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] 974 + fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/ty.rs:986:26 [INFO] [stdout] | [INFO] [stdout] 986 | ) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `for_each_top_level_late_bound_region::V`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 986 - ) -> ControlFlow { [INFO] [stdout] 986 + ) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/usage.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `BindingUsageFinder<'a, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 161 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 161 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_expr_with_closures::V<'tcx, B, F>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 136 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 136 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `is_const_evaluatable::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 318 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 318 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:429:43 [INFO] [stdout] | [INFO] [stdout] 429 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `is_expr_unsafe::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 429 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 429 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `contains_unsafe_block::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 506 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 506 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:582:43 [INFO] [stdout] | [INFO] [stdout] 582 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_local_use_after_expr::V<'cx, 'tcx, F, B>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 582 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 582 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:771:43 [INFO] [stdout] | [INFO] [stdout] 771 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_local_assignment::V<'cx, 'tcx, F, B>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 771 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 771 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:1367:39 [INFO] [stdout] | [INFO] [stdout] 1367 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `ContainsName<'a, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 1367 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 1367 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scout-audit-clippy-utils-soroban` (lib test) due to 129 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ty.rs:1022:64 [INFO] [stdout] | [INFO] [stdout] 1022 | fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1022 - fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] 1022 + fields_size.sort_by(|(_, a_size), (_, b_size)| a_size.cmp(b_size)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ty.rs:1031:38 [INFO] [stdout] | [INFO] [stdout] 1031 | variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1031 - variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] 1031 + variants_size.sort_by(|a, b| b.size.cmp(&a.size)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lint_reasons` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(lint_reasons)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `array_chunks` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/consts.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/mir/possible_borrower.rs:158:66 [INFO] [stdout] | [INFO] [stdout] 158 | fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `ContainsRegion`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 158 - fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] 158 + fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow<::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/ty.rs:974:68 [INFO] [stdout] | [INFO] [stdout] 974 | fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `for_each_top_level_late_bound_region::V`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 974 - fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] 974 + fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/ty.rs:986:26 [INFO] [stdout] | [INFO] [stdout] 986 | ) -> ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `BreakTy` implemented for `for_each_top_level_late_bound_region::V`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 986 - ) -> ControlFlow { [INFO] [stdout] 986 + ) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/usage.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `BindingUsageFinder<'a, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 161 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 161 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_expr_with_closures::V<'tcx, B, F>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 136 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 136 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `is_const_evaluatable::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 318 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 318 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:429:43 [INFO] [stdout] | [INFO] [stdout] 429 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `is_expr_unsafe::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 429 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 429 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `contains_unsafe_block::V<'_, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 506 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 506 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:582:43 [INFO] [stdout] | [INFO] [stdout] 582 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_local_use_after_expr::V<'cx, 'tcx, F, B>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 582 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 582 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/visitors.rs:771:43 [INFO] [stdout] | [INFO] [stdout] 771 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `for_each_local_assignment::V<'cx, 'tcx, F, B>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 771 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 771 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:1367:39 [INFO] [stdout] | [INFO] [stdout] 1367 | fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Map` implemented for `ContainsName<'a, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 1367 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 1367 + fn nested_visit_map(&mut self) -> as Example>::Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scout-audit-clippy-utils-soroban` (lib) due to 129 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "928e75978bf76a7d208eb1551f430a5809f7b8a7a1a7332ddd4bba394ce5626c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928e75978bf76a7d208eb1551f430a5809f7b8a7a1a7332ddd4bba394ce5626c", kill_on_drop: false }` [INFO] [stdout] 928e75978bf76a7d208eb1551f430a5809f7b8a7a1a7332ddd4bba394ce5626c