-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade go version to 1.18 #4794
Comments
There are several issues when using golangci-lint with 1.18. test ci url: https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/ [](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-2)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-3)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-4)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-5)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-6)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-7)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-8)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-9)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-10)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-11)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-12)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-13)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-14)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-15)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-16)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-17)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-18)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-19)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-20)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-21)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-22)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-23)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-24)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-25)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-26)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-27)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-28)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-29)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-30)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-31)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-32)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-33)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-34)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-35)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-36)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-37)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-38)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-39)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-40)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-41)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-42)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-43)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-44)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-45)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-46)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-47)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-48)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-49)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-50)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-51)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-52)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-53)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-54)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-55)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-56)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-57)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-58)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-59)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-60)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-61)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-62)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-63)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-64)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-65)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-66)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-67)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-68)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-69)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-70)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-71)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-72)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-73)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-74)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-75)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-76)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-77)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-78)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-79)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-80)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-81)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-82)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-83)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-84)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-85)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-86)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-87)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-88)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-89)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-90)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-91)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-92)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-93)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-94)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-95)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-96)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-97)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-98)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-99)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-100)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-101)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-102)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-103)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-104)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-105)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-106)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-107)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-108)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-109)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-110)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-111)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-112)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-113)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-114)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-115)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-116)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-117)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-118)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-119)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-120)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-121)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-122)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-123)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-124)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-125)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-126)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-127)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-128)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-129)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-130)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-131)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-132)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-133)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-134)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-135)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-136)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-137)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-138)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-139)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-140)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-141)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-142)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-143)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-144)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-145)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-146)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-147)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-148)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-149)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-150)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-151)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-152)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-153)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-154)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-155)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-156)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-157)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-158)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-159)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-160)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-161)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-162)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-163)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-164)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-165)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-166)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-167)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-168)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-169)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-170)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-171)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-172)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-173)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-174)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-175)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-176)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-177)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-178)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-179)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-180)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-181)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-182)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-183)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-184)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-185)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-186)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-187)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-188)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-189)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-190)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-191)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-192)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-193)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-194)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-195)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-196)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-197)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-198)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-199)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-200)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-201)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-202)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-203)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-204)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-205)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-206)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-207)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-208)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-209)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-210)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-211)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-212)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-213)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-214)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-215)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-216)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-217)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-218)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-219)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-220)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-221)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-222)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-223)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-224)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-225)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-226)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-227)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-228)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-229)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-230)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-231)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-232)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-233)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-234)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-235)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-236)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-237)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-238)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-239)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-240)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-241)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-242)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-243)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-244)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-245)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-246)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-247)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-248)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-249)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-250)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-251)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-252)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-253)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-254)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-255)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-256)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-257)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-258)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-259)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-260)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-261)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-262)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-263)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-264)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-265)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-266)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-267)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-268)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-269)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-270)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-271)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-272)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-273)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-274)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-275)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-276)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-277)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-278)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-279)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-280)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-281)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-282)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-283)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-284)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-285)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-286)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-287)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-288)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-289)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-290)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-291)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-292)[](https://ci.pingcap.net/blue/organizations/jenkins/lint-check/detail/lint-check/3017/pipeline/#step-55-log-293)[2022-03-15T08:42:22.771Z] + export PATH=/home/jenkins/agent/workspace/lint-check/bin:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2022-03-15T08:42:22.771Z] + PATH=/home/jenkins/agent/workspace/lint-check/bin:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2022-03-15T08:42:22.771Z] + golangci-lint version
[2022-03-15T08:42:22.771Z] golangci-lint has version 1.42.0 built from c6142e38 on 2021-08-17T11:47:22Z
[2022-03-15T08:42:22.771Z] + make check
[2022-03-15T08:42:23.032Z] check-copyright
[2022-03-15T08:42:24.932Z] cd tools/check && GO111MODULE=on go build -mod=mod -o ../bin/gofumports mvdan.cc/gofumpt/gofumports
[2022-03-15T08:42:25.189Z] go: downloading mvdan.cc/gofumpt v0.1.1
[2022-03-15T08:42:25.447Z] go: downloading golang.org/x/mod v0.4.2
[2022-03-15T08:42:25.447Z] go: downloading github.com/google/go-cmp v0.5.5
[2022-03-15T08:42:25.447Z] go: downloading golang.org/x/tools v0.1.7
[2022-03-15T08:42:25.447Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
[2022-03-15T08:42:27.348Z] cd tools/check && GO111MODULE=on go build -mod=mod -o ../bin/shfmt mvdan.cc/sh/v3/cmd/shfmt
[2022-03-15T08:42:27.348Z] go: downloading mvdan.cc/sh/v3 v3.3.1
[2022-03-15T08:42:27.348Z] go: downloading github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
[2022-03-15T08:42:27.348Z] go: downloading golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
[2022-03-15T08:42:27.348Z] go: downloading mvdan.cc/editorconfig v0.2.0
[2022-03-15T08:42:27.348Z] go: downloading github.com/google/renameio v1.0.1
[2022-03-15T08:42:27.348Z] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
[2022-03-15T08:42:28.720Z] cd tools/check && GO111MODULE=on go build -mod=mod -o ../bin/mockgen github.com/golang/mock/mockgen
[2022-03-15T08:42:28.720Z] go: downloading github.com/golang/mock v1.6.0
[2022-03-15T08:42:30.622Z] tools/bin/mockgen -source cdc/owner/owner.go -destination cdc/owner/mock/owner_mock.go
[2022-03-15T08:42:40.595Z] gofmt (simplify)
[2022-03-15T08:42:40.595Z] tools/bin/gofumports -l -w $(find . -name '*.go' -type f | grep -vE 'vendor|kv_gen|proto|pb\.go|pb\.gw\.go') 2>&1 | awk '{ print } END { if (NR > 0) { exit 1 } }'
[2022-03-15T08:42:50.567Z] run shfmt
[2022-03-15T08:42:50.567Z] tools/bin/shfmt -d -w .
[2022-03-15T08:42:50.567Z] check log style
[2022-03-15T08:42:50.567Z] scripts/check-log-style.sh
[2022-03-15T08:42:50.567Z] cd tools/check && GO111MODULE=on go build -mod=mod -o ../bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/golangci-lint v1.42.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/fatih/color v1.12.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/gofrs/flock v0.8.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/spf13/viper v1.8.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/mattn/go-colorable v0.1.8
[2022-03-15T08:42:50.567Z] go: downloading github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b
[2022-03-15T08:42:50.567Z] go: downloading github.com/stretchr/objx v0.1.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/revgrep v0.0.0-20210208091834-cd28932614b5
[2022-03-15T08:42:50.567Z] go: downloading github.com/go-critic/go-critic v0.5.6
[2022-03-15T08:42:50.567Z] go: downloading github.com/hashicorp/go-multierror v1.1.1
[2022-03-15T08:42:50.567Z] go: downloading 4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a
[2022-03-15T08:42:50.567Z] go: downloading github.com/Antonboom/errname v0.1.4
[2022-03-15T08:42:50.567Z] go: downloading github.com/BurntSushi/toml v0.4.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
[2022-03-15T08:42:50.567Z] go: downloading github.com/OpenPeeDeeP/depguard v1.0.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/alexkohler/prealloc v1.0.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/ashanbrown/forbidigo v1.2.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/bkielbasa/cyclop v1.2.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/ashanbrown/makezero v0.0.0-20210520155254-b6261585ddde
[2022-03-15T08:42:50.567Z] go: downloading github.com/bombsimon/wsl/v3 v3.3.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/charithe/durationcheck v0.0.8
[2022-03-15T08:42:50.567Z] go: downloading github.com/daixiang0/gci v0.2.9
[2022-03-15T08:42:50.567Z] go: downloading github.com/esimonov/ifshort v1.0.2
[2022-03-15T08:42:50.567Z] go: downloading github.com/fzipp/gocyclo v0.3.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
[2022-03-15T08:42:50.567Z] go: downloading github.com/denis-tingajkin/go-header v0.4.2
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/misspell v0.3.5
[2022-03-15T08:42:50.567Z] go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
[2022-03-15T08:42:50.567Z] go: downloading github.com/gordonklaus/ineffassign v0.0.0-20210225214923-2e10b2664254
[2022-03-15T08:42:50.567Z] go: downloading github.com/gostaticanalysis/forcetypeassert v0.0.0-20200621232751-01d4955beaa5
[2022-03-15T08:42:50.567Z] go: downloading github.com/gostaticanalysis/nilerr v0.1.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/jgautheron/goconst v1.5.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/jingyugao/rowserrcheck v1.1.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af
[2022-03-15T08:42:50.567Z] go: downloading github.com/julz/importas v0.0.0-20210419104244-841f0c0fe66d
[2022-03-15T08:42:50.567Z] go: downloading github.com/kisielk/errcheck v1.6.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/kulti/thelper v0.4.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/kyoh86/exportloopref v0.1.8
[2022-03-15T08:42:50.567Z] go: downloading github.com/ldez/gomoddirectives v0.2.2
[2022-03-15T08:42:50.567Z] go: downloading github.com/ldez/tagliatelle v0.2.0
[2022-03-15T08:42:50.567Z] go: downloading github.com/kunwardeep/paralleltest v1.0.2
[2022-03-15T08:42:50.567Z] go: downloading github.com/maratori/testpackage v1.0.1
[2022-03-15T08:42:50.567Z] go: downloading github.com/matoous/godox v0.0.0-20210227103229-6504466cf951
[2022-03-15T08:42:50.568Z] go: downloading github.com/mbilski/exhaustivestruct v1.2.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81
[2022-03-15T08:42:50.568Z] go: downloading github.com/mgechev/revive v1.1.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/moricho/tparallel v0.2.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/nakabonne/nestif v0.3.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/nishanths/exhaustive v0.2.3
[2022-03-15T08:42:50.568Z] go: downloading github.com/nishanths/predeclared v0.2.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/polyfloyd/go-errorlint v0.0.0-20210722154253-910bb7978349
[2022-03-15T08:42:50.568Z] go: downloading github.com/ryanrolds/sqlclosecheck v0.3.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/ryancurrah/gomodguard v1.2.3
[2022-03-15T08:42:50.568Z] go: downloading github.com/sanposhiho/wastedassign/v2 v2.0.6
[2022-03-15T08:42:50.568Z] go: downloading github.com/securego/gosec/v2 v2.8.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
[2022-03-15T08:42:50.568Z] go: downloading github.com/sonatard/noctx v0.0.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/sourcegraph/go-diff v0.6.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/ssgreg/nlreturn/v2 v2.1.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b
[2022-03-15T08:42:50.568Z] go: downloading github.com/tetafro/godot v1.4.9
[2022-03-15T08:42:50.568Z] go: downloading github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94
[2022-03-15T08:42:50.568Z] go: downloading github.com/tomarrell/wrapcheck/v2 v2.3.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/tommy-muehle/go-mnd/v2 v2.4.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/ultraware/funlen v0.0.3
[2022-03-15T08:42:50.568Z] go: downloading github.com/ultraware/whitespace v0.0.4
[2022-03-15T08:42:50.568Z] go: downloading github.com/uudashr/gocognit v1.0.5
[2022-03-15T08:42:50.568Z] go: downloading github.com/yeya24/promlinter v0.1.0
[2022-03-15T08:42:50.568Z] go: downloading honnef.co/go/tools v0.2.1
[2022-03-15T08:42:50.568Z] go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
[2022-03-15T08:42:50.568Z] go: downloading mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7
[2022-03-15T08:42:50.568Z] go: downloading github.com/hashicorp/errwrap v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/kisielk/gotool v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/gostaticanalysis/comment v1.4.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/gobwas/glob v0.2.3
[2022-03-15T08:42:50.568Z] go: downloading github.com/gostaticanalysis/analysisutil v0.4.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/ettle/strcase v0.1.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/fsnotify/fsnotify v1.4.9
[2022-03-15T08:42:50.568Z] go: downloading github.com/hashicorp/hcl v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/magiconair/properties v1.8.5
[2022-03-15T08:42:50.568Z] go: downloading github.com/mitchellh/mapstructure v1.4.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/pelletier/go-toml v1.9.3
[2022-03-15T08:42:50.568Z] go: downloading github.com/spf13/afero v1.6.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/spf13/cast v1.3.1
[2022-03-15T08:42:50.568Z] go: downloading github.com/spf13/jwalterweatherman v1.1.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/subosito/gotenv v1.2.0
[2022-03-15T08:42:50.568Z] go: downloading gopkg.in/ini.v1 v1.62.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/Masterminds/semver v1.5.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d
[2022-03-15T08:42:50.568Z] go: downloading github.com/prometheus/client_golang v1.7.1
[2022-03-15T08:42:50.568Z] go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
[2022-03-15T08:42:50.568Z] go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354
[2022-03-15T08:42:50.568Z] go: downloading github.com/prometheus/common v0.10.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/astfmt v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/astequal v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/strparse v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/astcast v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/astp v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/astcopy v1.0.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/quasilyte/go-ruleguard v0.3.4
[2022-03-15T08:42:50.568Z] go: downloading github.com/go-toolsmith/typep v1.0.2
[2022-03-15T08:42:50.568Z] go: downloading github.com/olekukonko/tablewriter v0.0.5
[2022-03-15T08:42:50.568Z] go: downloading github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af
[2022-03-15T08:42:50.568Z] go: downloading github.com/fatih/structtag v1.2.0
[2022-03-15T08:42:50.568Z] go: downloading github.com/mattn/go-runewidth v0.0.9
[2022-03-15T08:43:05.498Z] tools/bin/golangci-lint run --timeout 10m0s --skip-files kv_gen --skip-dirs dm,tests
[2022-03-15T08:45:26.997Z] proto/p2p/CDCPeerToPeer.pb.go:16:12: could not import math/bits (-: could not load export data: cannot import "math/bits" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:26.997Z] math_bits "math/bits"
[2022-03-15T08:45:26.997Z] ^
[2022-03-15T08:45:26.997Z] proto/canal/CanalProtocol.pb.go:11:12: could not import math/bits (-: could not load export data: cannot import "math/bits" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:26.997Z] math_bits "math/bits"
[2022-03-15T08:45:26.997Z] ^
[2022-03-15T08:45:26.997Z] cdc/sink/producer/pulsar/option.go:126:15: invalid operation: cannot index vs (variable of type values) (typecheck)
[2022-03-15T08:45:26.997Z] value, ok := vs[name]
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/sink/producer/pulsar/option.go:138:15: invalid operation: cannot index vs (variable of type values) (typecheck)
[2022-03-15T08:45:26.998Z] value, ok := vs[name]
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/sink/producer/pulsar/option.go:150:15: invalid operation: cannot index vs (variable of type values) (typecheck)
[2022-03-15T08:45:26.998Z] value, ok := vs[name]
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/sink/producer/pulsar/option.go:175:27: cannot range over vs (variable of type values) (typecheck)
[2022-03-15T08:45:26.998Z] for name, value := range vs {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:188:19: invalid operation: cannot compare c.grpcPool != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.grpcPool != nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:195:25: invalid operation: cannot compare c.MessageRouter != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.MessageRouter != nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:500:16: invalid operation: cannot compare c.owner == nil (operator == not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.owner == nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:546:19: invalid operation: cannot compare c.grpcPool != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.grpcPool != nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:570:25: invalid operation: cannot compare c.MessageRouter != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.MessageRouter != nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:617:20: invalid operation: cannot compare c.owner != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] return c.owner != nil
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cdc/capture/capture.go:644:16: invalid operation: cannot compare c.owner == nil (operator == not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.998Z] if c.owner == nil {
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.998Z] cmd/kafka-consumer/main.go:27:2: could not import sync/atomic (-: could not load export data: cannot import "sync/atomic" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:26.998Z] "sync/atomic"
[2022-03-15T08:45:26.998Z] ^
[2022-03-15T08:45:26.999Z] cmd/kafka-consumer/main.go:485:16: sink.EmitRowChangedEvents undefined (type *partitionSink has no field or method EmitRowChangedEvents) (typecheck)
[2022-03-15T08:45:26.999Z] err = sink.EmitRowChangedEvents(ctx, row)
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cmd/kafka-consumer/main.go:659:29: sink.FlushRowChangedEvents undefined (type *partitionSink has no field or method FlushRowChangedEvents) (typecheck)
[2022-03-15T08:45:26.999Z] checkpointTs, err = sink.FlushRowChangedEvents(ctx, tableID, resolvedTs)
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] proto/benchmark/CraftBenchmark.pb.go:11:12: could not import math/bits (-: could not load export data: cannot import "math/bits" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:26.999Z] math_bits "math/bits"
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/server.go:336:20: invalid operation: cannot compare s.tcpServer != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.999Z] if s.tcpServer != nil {
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open.go:67:29: invalid operation: cannot compare h.testStatusProvider != nil (operator != not defined on untyped nil) (typecheck)
[2022-03-15T08:45:26.999Z] if h.testStatusProvider != nil {
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:53:12: p.Called undefined (type *mockStatusProvider has no field or method Called) (typecheck)
[2022-03-15T08:45:26.999Z] args := p.Called(ctx)
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:58:12: p.Called undefined (type *mockStatusProvider has no field or method Called) (typecheck)
[2022-03-15T08:45:26.999Z] args := p.Called(ctx, changefeedID)
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:64:12: p.Called undefined (type *mockStatusProvider has no field or method Called) (typecheck)
[2022-03-15T08:45:26.999Z] args := p.Called(ctx)
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:101:17: statusProvider.On undefined (type *mockStatusProvider has no field or method On) (typecheck)
[2022-03-15T08:45:26.999Z] statusProvider.On("GetChangeFeedStatus", mock.Anything, changeFeedID).
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:104:17: statusProvider.On undefined (type *mockStatusProvider has no field or method On) (typecheck)
[2022-03-15T08:45:26.999Z] statusProvider.On("GetChangeFeedStatus", mock.Anything, nonExistChangefeedID).
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/api/open_test.go:108:17: statusProvider.On undefined (type *mockStatusProvider has no field or method On) (typecheck)
[2022-03-15T08:45:26.999Z] statusProvider.On("GetAllTaskStatuses", mock.Anything).
[2022-03-15T08:45:26.999Z] ^
[2022-03-15T08:45:26.999Z] cdc/entry/mounter.go:22:2: could not import sync/atomic (-: could not load export data: cannot import "sync/atomic" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:27.000Z] "sync/atomic"
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/entry/schema_storage_test.go:31:2: "github.com/pingcap/tidb/sessionctx" imported but not used (typecheck)
[2022-03-15T08:45:27.000Z] "github.com/pingcap/tidb/sessionctx"
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/kv/client.go:23:2: could not import sync/atomic (-: could not load export data: cannot import "sync/atomic" (unstable iexport format version 2, just rebuild compiler and std library), export data is newer version - update tool) (typecheck)
[2022-03-15T08:45:27.000Z] "sync/atomic"
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/kv/client.go:273:5: rl.Lock undefined (type *regionEventFeedLimiters has no field or method Lock) (typecheck)
[2022-03-15T08:45:27.000Z] rl.Lock()
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/kv/client.go:281:5: rl.Unlock undefined (type *regionEventFeedLimiters has no field or method Unlock) (typecheck)
[2022-03-15T08:45:27.000Z] rl.Unlock()
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/kv/grpc_pool_impl.go:153:9: conn.Close undefined (type *sharedConn has no field or method Close) (typecheck)
[2022-03-15T08:45:27.000Z] conn.Close() //nolint:errcheck
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/kv/grpc_pool_impl.go:180:8: conn.Close undefined (type *sharedConn has no field or method Close) (typecheck)
[2022-03-15T08:45:27.000Z] conn.Close() //nolint:errcheck
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/model/protocol.go:90:14: undeclared name: `msgpack` (typecheck)
[2022-03-15T08:45:27.000Z] raw, err := msgpack.Marshal(m)
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/model/protocol.go:99:9: undeclared name: `msgpack` (typecheck)
[2022-03-15T08:45:27.000Z] return msgpack.Unmarshal(data, m)
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/model/schema_storage.go:84:25: ti.Columns undefined (type *TableInfo has no field or method Columns) (typecheck)
[2022-03-15T08:45:27.000Z] for i, col := range ti.Columns {
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/model/schema_storage.go:90:21: ti.PKIsHandle undefined (type *TableInfo has no field or method PKIsHandle) (typecheck)
[2022-03-15T08:45:27.000Z] pkIsHandle = (ti.PKIsHandle && mysql.HasPriKeyFlag(col.Flag)) || col.ID == model.ExtraHandleID
[2022-03-15T08:45:27.000Z] ^
[2022-03-15T08:45:27.000Z] cdc/model/schema_storage.go:97:17: ti.IsCommonHandle undefined (type *TableInfo has no field or method IsCommonHandle) (typecheck)
[2022-03-15T08:45:27.001Z] } else if ti.IsCommonHandle {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:117:25: ti.Indices undefined (type *TableInfo has no field or method Indices) (typecheck)
[2022-03-15T08:45:27.001Z] for i, idx := range ti.Indices {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:121:25: ti.Columns undefined (type *TableInfo has no field or method Columns) (typecheck)
[2022-03-15T08:45:27.001Z] ti.uniqueColumns[ti.Columns[col.Offset].ID] = struct{}{}
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:127:19: ti.Columns undefined (type *TableInfo has no field or method Columns) (typecheck)
[2022-03-15T08:45:27.001Z] colInfo := ti.Columns[idxCol.Offset]
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:150:25: ti.Indices undefined (type *TableInfo has no field or method Indices) (typecheck)
[2022-03-15T08:45:27.001Z] for i, idx := range ti.Indices {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:161:14: ti.Indices undefined (type *TableInfo has no field or method Indices) (typecheck)
[2022-03-15T08:45:27.001Z] if len(ti.Indices[handleIndexOffset].Columns) > len(ti.Indices[i].Columns) ||
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:241:94: ti.ID undefined (type *TableInfo has no field or method ID) (typecheck)
[2022-03-15T08:45:27.001Z] return fmt.Sprintf("TableInfo, ID: %d, Name:%s, ColNum: %d, IdxNum: %d, PKIsHandle: %t", ti.ID, ti.TableName, len(ti.Columns), len(ti.Indices), ti.PKIsHandle)
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:270:8: ti.PKIsHandle undefined (type *TableInfo has no field or method PKIsHandle) (typecheck)
[2022-03-15T08:45:27.001Z] if ti.PKIsHandle {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:310:8: ti.IsSequence undefined (type *TableInfo has no field or method IsSequence) (typecheck)
[2022-03-15T08:45:27.001Z] if ti.IsSequence() {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/schema_storage.go:316:8: ti.IsView undefined (type *TableInfo has no field or method IsView) (typecheck)
[2022-03-15T08:45:27.001Z] if ti.IsView() {
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/sink.go:519:40: preTableInfo.ID undefined (type *TableInfo has no field or method ID) (typecheck)
[2022-03-15T08:45:27.001Z] d.PreTableInfo.TableID = preTableInfo.ID
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/sink.go:521:67: preTableInfo.Columns undefined (type *TableInfo has no field or method Columns) (typecheck)
[2022-03-15T08:45:27.001Z] d.PreTableInfo.ColumnInfo = make([]*ColumnInfo, len(preTableInfo.Columns))
[2022-03-15T08:45:27.001Z] ^
[2022-03-15T08:45:27.001Z] cdc/model/sink.go:522:39: preTableInfo.Columns undefined (type *TableInfo has no field or method Columns) (typecheck)
[2022-03-15T08:45:27.002Z] for i, colInfo := range preTableInfo.Columns {
[2022-03-15T08:45:27.002Z] ^
[2022-03-15T08:45:27.002Z] cdc/model/schema_storage_test.go:410:23: info.IsView undefined (type *TableInfo has no field or method IsView) (typecheck)
[2022-03-15T08:45:27.002Z] require.True(t, info.IsView())
[2022-03-15T08:45:27.002Z] ^
[2022-03-15T08:45:27.002Z] make: *** [check-static] Error 1
script returned exit code 2 |
ci pipeline on master branch has upgrade go version from go1.16 to go1.18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
Upgrade go version to 1.18
The text was updated successfully, but these errors were encountered: