[INFO] fetching crate ink_linting_clippy_utils 0.1.73... [INFO] checking ink_linting_clippy_utils-0.1.73 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ink_linting_clippy_utils 0.1.73 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate ink_linting_clippy_utils 0.1.73 [INFO] finished tweaking crates.io crate ink_linting_clippy_utils 0.1.73 [INFO] tweaked toml for crates.io crate ink_linting_clippy_utils 0.1.73 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ink_linting_clippy_utils 0.1.73 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 117feec1bcd49e48c8392747abfeaf13b57e620aaadb1325f4699ad8b78573bc [INFO] running `Command { std: "docker" "start" "-a" "117feec1bcd49e48c8392747abfeaf13b57e620aaadb1325f4699ad8b78573bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117feec1bcd49e48c8392747abfeaf13b57e620aaadb1325f4699ad8b78573bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117feec1bcd49e48c8392747abfeaf13b57e620aaadb1325f4699ad8b78573bc", kill_on_drop: false }` [INFO] [stdout] 117feec1bcd49e48c8392747abfeaf13b57e620aaadb1325f4699ad8b78573bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 808b8f6f073c34936489a009136289dd2a5edaf59e0e8c121b87c318da4a27d3 [INFO] running `Command { std: "docker" "start" "-a" "808b8f6f073c34936489a009136289dd2a5edaf59e0e8c121b87c318da4a27d3", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking rustc-semver v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ink_linting_clippy_utils v0.1.73 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lib.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | 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:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | && 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:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | && 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:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | 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:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | && 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:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | && 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:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | && 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:866:8 [INFO] [stdout] | [INFO] [stdout] 866 | 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:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | 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:877:21 [INFO] [stdout] | [INFO] [stdout] 877 | 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:1351:24 [INFO] [stdout] | [INFO] [stdout] 1351 | 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:1507:16 [INFO] [stdout] | [INFO] [stdout] 1507 | 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:1508:20 [INFO] [stdout] | [INFO] [stdout] 1508 | && 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:1509:20 [INFO] [stdout] | [INFO] [stdout] 1509 | && 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:1510:20 [INFO] [stdout] | [INFO] [stdout] 1510 | && 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:1511:20 [INFO] [stdout] | [INFO] [stdout] 1511 | && let min_const_kind = ConstantKind::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:1512:20 [INFO] [stdout] | [INFO] [stdout] 1512 | && 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:1513:20 [INFO] [stdout] | [INFO] [stdout] 1513 | && 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:1523:24 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:28 [INFO] [stdout] | [INFO] [stdout] 1524 | && 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:1525:28 [INFO] [stdout] | [INFO] [stdout] 1525 | && 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:1526:28 [INFO] [stdout] | [INFO] [stdout] 1526 | && 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:1527:28 [INFO] [stdout] | [INFO] [stdout] 1527 | && let max_const_kind = ConstantKind::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:1528:28 [INFO] [stdout] | [INFO] [stdout] 1528 | && 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:1529:28 [INFO] [stdout] | [INFO] [stdout] 1529 | && 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:1537:24 [INFO] [stdout] | [INFO] [stdout] 1537 | 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:1538:28 [INFO] [stdout] | [INFO] [stdout] 1538 | && 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:1540:28 [INFO] [stdout] | [INFO] [stdout] 1540 | && 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:2385:24 [INFO] [stdout] | [INFO] [stdout] 2385 | && 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:2386:24 [INFO] [stdout] | [INFO] [stdout] 2386 | && let ItemKind::Const(ty, _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:2436:16 [INFO] [stdout] | [INFO] [stdout] 2436 | && 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:2437:16 [INFO] [stdout] | [INFO] [stdout] 2437 | && 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:2576:8 [INFO] [stdout] | [INFO] [stdout] 2576 | 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:2579:9 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:2580:9 [INFO] [stdout] | [INFO] [stdout] 2580 | 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:2581:9 [INFO] [stdout] | [INFO] [stdout] 2581 | 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:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(ident) = attr.ident() && 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/check_proc_macro.rs:295:50 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(ident) = attr.ident() && 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:401:20 [INFO] [stdout] | [INFO] [stdout] 401 | 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:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | && 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:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | && let Some(desired_field) = 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:463:20 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:24 [INFO] [stdout] | [INFO] [stdout] 464 | && let Node::Item(Item { kind: ItemKind::Const(_, body_id), .. }) = 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:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | && let Node::Expr(Expr { kind: ExprKind::Lit(_), span, .. }) = self.lcx [INFO] [stdout] | ________________________^ [INFO] [stdout] 466 | | .tcx [INFO] [stdout] 467 | | .hir() [INFO] [stdout] 468 | | .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:522:16 [INFO] [stdout] | [INFO] [stdout] 522 | && 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:527:20 [INFO] [stdout] | [INFO] [stdout] 527 | 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:528:24 [INFO] [stdout] | [INFO] [stdout] 528 | && 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:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | && 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:531:24 [INFO] [stdout] | [INFO] [stdout] 531 | && 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:726:8 [INFO] [stdout] | [INFO] [stdout] 726 | if let mir::ConstantKind::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:727:12 [INFO] [stdout] | [INFO] [stdout] 727 | && let Some(dc) = lcx.tcx.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:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | && 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:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | && 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:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | && 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:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | && 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/hir_utils.rs:1133:12 [INFO] [stdout] | [INFO] [stdout] 1133 | 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:1134:16 [INFO] [stdout] | [INFO] [stdout] 1134 | && 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:1135:16 [INFO] [stdout] | [INFO] [stdout] 1135 | && 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:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | && 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/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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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/lib.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | 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:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | && 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:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | && 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:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | 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:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | && 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:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | && 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:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | && 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:866:8 [INFO] [stdout] | [INFO] [stdout] 866 | 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:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | 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:877:21 [INFO] [stdout] | [INFO] [stdout] 877 | 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/ty.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | 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:834:12 [INFO] [stdout] | [INFO] [stdout] 834 | && 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:835:12 [INFO] [stdout] | [INFO] [stdout] 835 | && 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:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | if let RegionKind::ReLateBound(idx, bound) = r.kind() && idx.as_u32() == self.index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:948:16 [INFO] [stdout] | [INFO] [stdout] 948 | 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:949:16 [INFO] [stdout] | [INFO] [stdout] 949 | && 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/visitors.rs:705:16 [INFO] [stdout] | [INFO] [stdout] 705 | if let ExprKind::Assign(lhs, rhs, _) = 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:1351:24 [INFO] [stdout] | [INFO] [stdout] 1351 | 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:1507:16 [INFO] [stdout] | [INFO] [stdout] 1507 | 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:1508:20 [INFO] [stdout] | [INFO] [stdout] 1508 | && 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:1509:20 [INFO] [stdout] | [INFO] [stdout] 1509 | && 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:1510:20 [INFO] [stdout] | [INFO] [stdout] 1510 | && 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:1511:20 [INFO] [stdout] | [INFO] [stdout] 1511 | && let min_const_kind = ConstantKind::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:1512:20 [INFO] [stdout] | [INFO] [stdout] 1512 | && 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:1513:20 [INFO] [stdout] | [INFO] [stdout] 1513 | && 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:1523:24 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:28 [INFO] [stdout] | [INFO] [stdout] 1524 | && 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:1525:28 [INFO] [stdout] | [INFO] [stdout] 1525 | && 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:1526:28 [INFO] [stdout] | [INFO] [stdout] 1526 | && 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:1527:28 [INFO] [stdout] | [INFO] [stdout] 1527 | && let max_const_kind = ConstantKind::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:1528:28 [INFO] [stdout] | [INFO] [stdout] 1528 | && 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:1529:28 [INFO] [stdout] | [INFO] [stdout] 1529 | && 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:1537:24 [INFO] [stdout] | [INFO] [stdout] 1537 | 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:1538:28 [INFO] [stdout] | [INFO] [stdout] 1538 | && 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:1540:28 [INFO] [stdout] | [INFO] [stdout] 1540 | && 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:2385:24 [INFO] [stdout] | [INFO] [stdout] 2385 | && 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:2386:24 [INFO] [stdout] | [INFO] [stdout] 2386 | && let ItemKind::Const(ty, _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:2436:16 [INFO] [stdout] | [INFO] [stdout] 2436 | && 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:2437:16 [INFO] [stdout] | [INFO] [stdout] 2437 | && 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:2576:8 [INFO] [stdout] | [INFO] [stdout] 2576 | 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:2579:9 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:2580:9 [INFO] [stdout] | [INFO] [stdout] 2580 | 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:2581:9 [INFO] [stdout] | [INFO] [stdout] 2581 | let ExprKind::Path(ret_path) = ret_val.kind && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | 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:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | 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:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | 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:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | 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/check_proc_macro.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(ident) = attr.ident() && 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/check_proc_macro.rs:295:50 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(ident) = attr.ident() && 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:401:20 [INFO] [stdout] | [INFO] [stdout] 401 | 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:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | && 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:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | && let Some(desired_field) = 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:463:20 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:24 [INFO] [stdout] | [INFO] [stdout] 464 | && let Node::Item(Item { kind: ItemKind::Const(_, body_id), .. }) = 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:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | && let Node::Expr(Expr { kind: ExprKind::Lit(_), span, .. }) = self.lcx [INFO] [stdout] | ________________________^ [INFO] [stdout] 466 | | .tcx [INFO] [stdout] 467 | | .hir() [INFO] [stdout] 468 | | .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:522:16 [INFO] [stdout] | [INFO] [stdout] 522 | && 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:527:20 [INFO] [stdout] | [INFO] [stdout] 527 | 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:528:24 [INFO] [stdout] | [INFO] [stdout] 528 | && 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:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | && 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:531:24 [INFO] [stdout] | [INFO] [stdout] 531 | && 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:726:8 [INFO] [stdout] | [INFO] [stdout] 726 | if let mir::ConstantKind::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:727:12 [INFO] [stdout] | [INFO] [stdout] 727 | && let Some(dc) = lcx.tcx.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:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | && 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:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | && 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:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | && 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:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | && 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/hir_utils.rs:1133:12 [INFO] [stdout] | [INFO] [stdout] 1133 | 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:1134:16 [INFO] [stdout] | [INFO] [stdout] 1134 | && 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:1135:16 [INFO] [stdout] | [INFO] [stdout] 1135 | && 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:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | && 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/higher.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | 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:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | && 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/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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | 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:834:12 [INFO] [stdout] | [INFO] [stdout] 834 | && 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:835:12 [INFO] [stdout] | [INFO] [stdout] 835 | && 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:855:16 [INFO] [stdout] | [INFO] [stdout] 855 | if let RegionKind::ReLateBound(idx, bound) = r.kind() && idx.as_u32() == self.index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty.rs:948:16 [INFO] [stdout] | [INFO] [stdout] 948 | 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:949:16 [INFO] [stdout] | [INFO] [stdout] 949 | && 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/visitors.rs:705:16 [INFO] [stdout] | [INFO] [stdout] 705 | 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:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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[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[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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[E0432]: unresolved import `ExprKind` [INFO] [stdout] --> src/ast_utils.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_eval` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | 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[E0432]: unresolved import `StmtKind` [INFO] [stdout] --> src/ast_utils.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | use StmtKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | 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:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | 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:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | 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[E0432]: unresolved import `LocalKind` [INFO] [stdout] --> src/ast_utils.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | 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:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | 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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | 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:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | 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:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | 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:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | 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:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | 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:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | 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:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | 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:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | 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:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | 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:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | 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:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | use AttrArgs::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | 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:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | 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:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | 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:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | && 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:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | 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:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | 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:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | 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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | 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:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | 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:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | 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:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | 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:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | 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:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | 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:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | 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:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | 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:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | 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:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | 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:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | 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:893:64 [INFO] [stdout] | [INFO] [stdout] 893 | 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] 893 - fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] 893 + 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:902:38 [INFO] [stdout] | [INFO] [stdout] 902 | 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] 902 - variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] 902 + variants_size.sort_by(|a, b| b.size.cmp(&a.size)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ty.rs:893:64 [INFO] [stdout] | [INFO] [stdout] 893 | 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] 893 - fields_size.sort_by(|(_, a_size), (_, b_size)| (a_size.cmp(b_size))); [INFO] [stdout] 893 + 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:902:38 [INFO] [stdout] | [INFO] [stdout] 902 | 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] 902 - variants_size.sort_by(|a, b| (b.size.cmp(&a.size))); [INFO] [stdout] 902 + 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 a provided trait method [INFO] [stdout] --> src/consts.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | #[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 a provided trait method [INFO] [stdout] --> src/consts.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/consts.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | #[must_use] [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 a provided trait method [INFO] [stdout] --> src/consts.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | #[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 a provided trait method [INFO] [stdout] --> src/consts.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/consts.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/mir/possible_borrower.rs:146:66 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 146 - fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] 146 + 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:854:68 [INFO] [stdout] | [INFO] [stdout] 854 | 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] 854 - fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] 854 + 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:861:104 [INFO] [stdout] | [INFO] [stdout] 861 | fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> 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] 861 - fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> ControlFlow { [INFO] [stdout] 861 + fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/usage.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 137 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 137 + 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:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | 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] 118 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 118 + 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:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 289 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 289 + 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:379:43 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 379 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 379 + 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/mir/possible_borrower.rs:146:66 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 146 - fn visit_region(&mut self, _: ty::Region<'_>) -> ControlFlow { [INFO] [stdout] 146 + 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/visitors.rs:444:43 [INFO] [stdout] | [INFO] [stdout] 444 | 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] 444 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 444 + 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:518:43 [INFO] [stdout] | [INFO] [stdout] 518 | 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] 518 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 518 + 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:700:43 [INFO] [stdout] | [INFO] [stdout] 700 | 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] 700 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 700 + 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:1272:39 [INFO] [stdout] | [INFO] [stdout] 1272 | 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] 1272 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 1272 + 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/ty.rs:854:68 [INFO] [stdout] | [INFO] [stdout] 854 | 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] 854 - fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow { [INFO] [stdout] 854 + 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:861:104 [INFO] [stdout] | [INFO] [stdout] 861 | fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> 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] 861 - fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> ControlFlow { [INFO] [stdout] 861 + fn visit_binder>>(&mut self, t: &Binder<'tcx, T>) -> ControlFlow< as Example>::BreakTy> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/usage.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 137 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 137 + 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:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | 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] 118 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 118 + 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:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 289 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 289 + 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:379:43 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 379 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 379 + 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:444:43 [INFO] [stdout] | [INFO] [stdout] 444 | 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] 444 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 444 + 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:518:43 [INFO] [stdout] | [INFO] [stdout] 518 | 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] 518 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 518 + 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:700:43 [INFO] [stdout] | [INFO] [stdout] 700 | 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] 700 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 700 + 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:1272:39 [INFO] [stdout] | [INFO] [stdout] 1272 | 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] 1272 - fn nested_visit_map(&mut self) -> Self::Map { [INFO] [stdout] 1272 + 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] 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] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink_linting_clippy_utils` (lib) due to 123 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ink_linting_clippy_utils` (lib test) due to 123 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "808b8f6f073c34936489a009136289dd2a5edaf59e0e8c121b87c318da4a27d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808b8f6f073c34936489a009136289dd2a5edaf59e0e8c121b87c318da4a27d3", kill_on_drop: false }` [INFO] [stdout] 808b8f6f073c34936489a009136289dd2a5edaf59e0e8c121b87c318da4a27d3