ink_linting_utils 5.0.0-rc

Utilities used internally in ink_linting
Build #1088153 2024-01-12T17:23:05.408433+00:00
# rustc version
rustc 1.77.0-nightly (62d7ed4a6 2024-01-11)# docs.rs version
docsrs 0.6.0 (04d1f365 2024-01-10)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ink_linting_utils-5.0.0-rc/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ink_linting_utils-5.0.0-rc/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240111-1.77.0-nightly-62d7ed4a6\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 8fcf38caed8b7f459a45d503b699a687d21796163f7051516aaa323b199bf0ec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8fcf38caed8b7f459a45d503b699a687d21796163f7051516aaa323b199bf0ec", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]     Checking parity_clippy_utils v0.1.73
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::ty::SubstsRef`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:13:69
[INFO] [stderr]    |
[INFO] [stderr] 13 | use rustc_middle::ty::{self, EarlyBinder, FloatTy, List, ScalarInt, SubstsRef, Ty, TyCtxt};
[INFO] [stderr]    |                                                                     ^^^^^^^^^ no `SubstsRef` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::mir::interpret::ConstValue`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:659:9
[INFO] [stderr]     |
[INFO] [stderr] 659 |     use rustc_middle::mir::interpret::ConstValue;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstValue` in `mir::interpret`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these items instead
[INFO] [stderr]     |
[INFO] [stderr] 659 |     use crate::consts::mir::ConstValue;
[INFO] [stderr]     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 659 |     use rustc_middle::mir::ConstValue;
[INFO] [stderr]     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_hir::Guard`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/hir_utils.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 |     GenericArgs, Guard, HirId, HirIdMap, InlineAsmOperand, Let, Lifetime, LifetimeName, Pat, PatField, PatKind, Path,
[INFO] [stderr]    |                  ^^^^^ no `Guard` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::ty::subst`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/qualify_min_const_fn.rs:19:23
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_middle::ty::subst::GenericArgKind;
[INFO] [stderr]    |                       ^^^^^ could not find `subst` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::mir::interpret::ConstValue`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ty.rs:15:36
[INFO] [stderr]    |
[INFO] [stderr] 15 | use rustc_middle::mir::interpret::{ConstValue, Scalar};
[INFO] [stderr]    |                                    ^^^^^^^^^^ no `ConstValue` in `mir::interpret`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider importing this enum instead:
[INFO] [stderr]            rustc_middle::mir::ConstValue
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::ty::SubstsRef`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ty.rs:19:25
[INFO] [stderr]    |
[INFO] [stderr] 19 |     Region, RegionKind, SubstsRef, Ty, TyCtxt, TypeSuperVisitable, TypeVisitable, TypeVisitableExt, TypeVisitor,
[INFO] [stderr]    |                         ^^^^^^^^^ no `SubstsRef` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_middle::mir::ConstantKind`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/lib.rs:99:5
[INFO] [stderr]    |
[INFO] [stderr] 99 | use rustc_middle::mir::ConstantKind;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc_middle::ty::fast_reject::SimplifiedType::ArraySimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::BoolSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::CharSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::FloatSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::IntSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::PtrSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::SliceSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::StrSimplifiedType`, `rustc_middle::ty::fast_reject::SimplifiedType::UintSimplifiedType`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/lib.rs:104:5
[INFO] [stderr]     |
[INFO] [stderr] 104 |     ArraySimplifiedType, BoolSimplifiedType, CharSimplifiedType, FloatSimplifiedType, IntSimplifiedType,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ no `IntSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     |                    |                   |                   |
[INFO] [stderr]     |     |                    |                   |                   no `FloatSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     |                    |                   no `CharSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     |                    no `BoolSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     no `ArraySimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr] 105 |     PtrSimplifiedType, SliceSimplifiedType, StrSimplifiedType, UintSimplifiedType,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `UintSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     |                  |                    |
[INFO] [stderr]     |     |                  |                    no `StrSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     |                  no `SliceSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr]     |     no `PtrSimplifiedType` in `ty::fast_reject::SimplifiedType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:485:51
[INFO] [stderr]     |
[INFO] [stderr] 485 |                     .map(|val| rustc_middle::mir::ConstantKind::from_value(val, ty))?;
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:661:14
[INFO] [stderr]     |
[INFO] [stderr] 661 |         mir::ConstantKind::Val(ConstValue::Scalar(Scalar::Int(int)), _) => match result.ty().kind() {
[INFO] [stderr]     |              ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:674:14
[INFO] [stderr]     |
[INFO] [stderr] 674 |         mir::ConstantKind::Val(ConstValue::Slice { data, start, end }, _) => match result.ty().kind() {
[INFO] [stderr]     |              ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:687:14
[INFO] [stderr]     |
[INFO] [stderr] 687 |         mir::ConstantKind::Val(ConstValue::ByRef { alloc, offset: _ }, _) => match result.ty().kind() {
[INFO] [stderr]     |              ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:726:17
[INFO] [stderr]     |
[INFO] [stderr] 726 |     if let mir::ConstantKind::Val(result, ty) = result
[INFO] [stderr]     |                 ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ConstantKind` in `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:733:19
[INFO] [stderr]     |
[INFO] [stderr] 733 |         Some(mir::ConstantKind::Val(val, ty))
[INFO] [stderr]     |                   ^^^^^^^^^^^^ could not find `ConstantKind` in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ReversePostorder` in `traversal`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/mir/mod.rs:32:16
[INFO] [stderr]    |
[INFO] [stderr] 32 |     traversal::ReversePostorder::new(mir, location.block).try_fold(init, |usage, (tbb, tdata)| {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^ could not find `ReversePostorder` in `traversal`
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found variant `ForLoop`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:172:10
[INFO] [stderr]     |
[INFO] [stderr] 172 |         (ForLoop(lp, li, lt, ll), ForLoop(rp, ri, rt, rl)) => {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^ help: use struct pattern syntax instead: `ForLoop { pat: lp, iter: li, body: lt, label: ll, kind }`
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_ast/src/ast.rs:1425:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ForLoop` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found variant `ForLoop`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:172:35
[INFO] [stderr]     |
[INFO] [stderr] 172 |         (ForLoop(lp, li, lt, ll), ForLoop(rp, ri, rt, rl)) => {
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^ help: use struct pattern syntax instead: `ForLoop { pat: rp, iter: ri, body: rt, label: rl, kind }`
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_ast/src/ast.rs:1425:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ForLoop` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `Async` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:212:10
[INFO] [stderr]     |
[INFO] [stderr] 212 |         (Async(lc, lb), Async(rc, rb)) => lc == rc && eq_block(lb, rb),
[INFO] [stderr]     |          ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::IsAsync::Async;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use rustc_hir::IsAsync::Async;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `Async` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:212:25
[INFO] [stderr]     |
[INFO] [stderr] 212 |         (Async(lc, lb), Async(rc, rb)) => lc == rc && eq_block(lb, rb),
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::IsAsync::Async;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use rustc_hir::IsAsync::Async;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found variant `Struct`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:543:10
[INFO] [stderr]     |
[INFO] [stderr] 543 |         (Struct(l, _), Struct(r, _)) | (Tuple(l, _), Tuple(r, _)) => over(l, r, eq_struct_field),
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_ast/src/ast.rs:2806:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Struct` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: use struct pattern syntax instead
[INFO] [stderr]     |
[INFO] [stderr] 543 |         (Struct { fields: l, recovered: _ }, Struct(r, _)) | (Tuple(l, _), Tuple(r, _)) => over(l, r, eq_struct_field),
[INFO] [stderr]     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] help: consider importing one of these items instead
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ExprKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ItemKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::PatKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ast_utils::ExprKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr]       and 10 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found variant `Struct`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/ast_utils.rs:543:24
[INFO] [stderr]     |
[INFO] [stderr] 543 |         (Struct(l, _), Struct(r, _)) | (Tuple(l, _), Tuple(r, _)) => over(l, r, eq_struct_field),
[INFO] [stderr]     |                        ^^^^^^^^^^^^
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_ast/src/ast.rs:2806:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Struct` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: use struct pattern syntax instead
[INFO] [stderr]     |
[INFO] [stderr] 543 |         (Struct(l, _), Struct { fields: r, recovered: _ }) | (Tuple(l, _), Tuple(r, _)) => over(l, r, eq_struct_field),
[INFO] [stderr]     |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] help: consider importing one of these items instead
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ExprKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ItemKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::PatKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr] 7   + use crate::ast_utils::ExprKind::Struct;
[INFO] [stderr]     |
[INFO] [stderr]       and 10 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `MatchSource::TryDesugar`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/check_proc_macro.rs:152:31
[INFO] [stderr]     |
[INFO] [stderr] 152 |         ExprKind::Match(e, _, MatchSource::TryDesugar) => (expr_search_pat(tcx, e).0, Pat::Str("?")),
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `MatchSource::TryDesugar(_)`
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_hir/src/hir.rs:2019:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MatchSource::TryDesugar` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ConstantKind` in module `rustc_middle::mir`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:24:28
[INFO] [stderr]    |
[INFO] [stderr] 24 |     Adt(rustc_middle::mir::ConstantKind<'tcx>),
[INFO] [stderr]    |                            ^^^^^^^^^^^^ not found in `rustc_middle::mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ConstantKind` in module `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:658:66
[INFO] [stderr]     |
[INFO] [stderr] 658 | pub fn miri_to_const<'tcx>(lcx: &LateContext<'tcx>, result: mir::ConstantKind<'tcx>) -> Option<Constant<'tcx>> {
[INFO] [stderr]     |                                                                  ^^^^^^^^^^^^ not found in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ConstantKind` in module `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:723:18
[INFO] [stderr]     |
[INFO] [stderr] 723 |     result: mir::ConstantKind<'tcx>,
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ConstantKind` in module `mir`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/consts.rs:725:18
[INFO] [stderr]     |
[INFO] [stderr] 725 | ) -> Option<mir::ConstantKind<'tcx>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in `mir`
[INFO] [stderr] 
[INFO] [stderr] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `hir::MatchSource::TryDesugar`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/visitors.rs:154:56
[INFO] [stderr]     |
[INFO] [stderr] 154 |         if matches!(e.kind, hir::ExprKind::Match(_, _, hir::MatchSource::TryDesugar)) {
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `hir::MatchSource::TryDesugar(_)`
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_hir/src/hir.rs:2019:5
[INFO] [stderr]     |
[INFO] [stderr]     = note: `hir::MatchSource::TryDesugar` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Span` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/diagnostics.rs:14:29
[INFO] [stderr]    |
[INFO] [stderr] 14 | use rustc_span::source_map::Span;
[INFO] [stderr]    |                             ^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Span` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `Span` directly
[INFO] [stderr]    |
[INFO] [stderr] 14 | use rustc_span::span_encoding::Span;
[INFO] [stderr]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `BytePos` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/sugg.rs:19:30
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                              ^^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `BytePos` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `BytePos` directly
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{rustc_span::BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                              ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `CharPos` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/sugg.rs:19:39
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                       ^^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `CharPos` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `CharPos` directly
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, rustc_span::CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                       ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: trait `Pos` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/sugg.rs:19:48
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                                ^^^ private trait
[INFO] [stderr]    |
[INFO] [stderr] note: the trait `Pos` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `Pos` directly
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, rustc_span::Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                                ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Span` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/sugg.rs:19:53
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                                     ^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Span` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `Span` directly
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, rustc_span::span_encoding::Span, SyntaxContext};
[INFO] [stderr]    |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `SyntaxContext` is private
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/sugg.rs:19:59
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, SyntaxContext};
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `SyntaxContext` is defined here
[INFO] [stderr]   --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/compiler/rustc_span/src/source_map.rs:12:5
[INFO] [stderr] help: import `SyntaxContext` directly
[INFO] [stderr]    |
[INFO] [stderr] 19 | use rustc_span::source_map::{BytePos, CharPos, Pos, Span, rustc_span::hygiene::SyntaxContext};
[INFO] [stderr]    |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `span_err` found for reference `&'a Session` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/attrs.rs:79:30
[INFO] [stderr]    |
[INFO] [stderr] 79 |                         sess.span_err(attr_segments[1].ident.span, "usage of unknown attribute");
[INFO] [stderr]    |                              ^^^^^^^^ method not found in `&Session`
[INFO] [stderr]    |
[INFO] [stderr] help: one of the expressions' fields has a method of the same name
[INFO] [stderr]    |
[INFO] [stderr] 79 |                         sess.parse_sess.dcx.span_err(attr_segments[1].ident.span, "usage of unknown attribute");
[INFO] [stderr]    |                              +++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `struct_span_err` found for reference `&'a Session` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity_clippy_utils-0.1.73/src/attrs.rs:84:34
[INFO] [stderr]    |
[INFO] [stderr] 84 | ...                   sess.struct_span_err(attr_segments[1].ident.span, "usage of deprecated attribute");
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^ method not found in `&Session`
[INFO] [stderr]    |
[INFO] [stderr] help: one of the expressions' fields has a method of the same name
[INFO] [stderr]    |
[INFO] [stderr] 84 |                             sess.parse_sess.dcx.struct_span_err(attr_segments[1].ident.span, "usage of deprecated attribute");
[INFO] [stderr]    |                                  +++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0531, E0532, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `parity_clippy_utils` (lib) due to 35 previous errors
[INFO] running `Command { std: "docker" "inspect" "8fcf38caed8b7f459a45d503b699a687d21796163f7051516aaa323b199bf0ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fcf38caed8b7f459a45d503b699a687d21796163f7051516aaa323b199bf0ec", kill_on_drop: false }`
[INFO] [stdout] 8fcf38caed8b7f459a45d503b699a687d21796163f7051516aaa323b199bf0ec