rust icon indicating copy to clipboard operation
rust copied to clipboard

WIP: Unstable impls

Open tiif opened this issue 7 months ago • 17 comments

r? ghost

tiif avatar Apr 28 '25 15:04 tiif

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#12 2.920 Building wheels for collected packages: reuse
#12 2.921   Building wheel for reuse (pyproject.toml): started
#12 3.139   Building wheel for reuse (pyproject.toml): finished with status 'done'
#12 3.140   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#12 3.140   Stored in directory: /tmp/pip-ephem-wheel-cache-5vhohco4/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#12 3.143 Successfully built reuse
#12 3.143 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#12 3.556 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#12 3.556 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 4.118 Collecting virtualenv
#12 4.167   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#12 4.392      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 27.3 MB/s eta 0:00:00
#12 4.438 Collecting distlib<1,>=0.3.7
#12 4.446   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#12 4.457      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 48.5 MB/s eta 0:00:00
#12 4.499 Collecting filelock<4,>=3.12.2
#12 4.508   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#12 4.549 Collecting platformdirs<5,>=3.9.1
#12 4.556   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#12 4.640 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#12 4.835 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#12 4.835 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 DONE 4.9s

#13 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#13 DONE 0.0s
---
DirectMap4k:      145344 kB
DirectMap2M:     8243200 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-12/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
[TIMING] core::build_steps::tool::Tidy { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
fmt check
Diff in /checkout/compiler/rustc_attr_parsing/src/context.rs:11:
 use rustc_session::Session;
 use rustc_span::{DUMMY_SP, ErrorGuaranteed, Span, Symbol, sym};
 
-use crate::attributes::allow_unstable::{AllowConstFnUnstableParser, AllowInternalUnstableParser, AllowUnstableFeatureParser};
+use crate::attributes::allow_unstable::{
+    AllowConstFnUnstableParser, AllowInternalUnstableParser, AllowUnstableFeatureParser,
+};
 use crate::attributes::confusables::ConfusablesParser;
 use crate::attributes::deprecation::DeprecationParser;
 use crate::attributes::repr::ReprParser;
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:69:
         );
     }
 
-
     debug!("predicates_of({:?}) = {:?}", def_id, result);
     result
 }
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324:
             for item in list.iter() {
                 // TODO: deal with error later
                 let feature_name = item.name().unwrap();
-                predicates
-                    .insert((ty::ClauseKind::UnstableFeature(feature_name).upcast(tcx), tcx.def_span(def_id)));
-
+                predicates.insert((
+                    ty::ClauseKind::UnstableFeature(feature_name).upcast(tcx),
+                    tcx.def_span(def_id),
+                ));
             }
         }
     }
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:760:
                     ty::ClauseKind::RegionOutlives(_)
                     | ty::ClauseKind::ConstArgHasType(_, _)
                     | ty::ClauseKind::WellFormed(_)
-                    | ty::ClauseKind::UnstableFeature(_) 
+                    | ty::ClauseKind::UnstableFeature(_)
                     | ty::ClauseKind::ConstEvaluatable(_) => {
                         bug!(
                             "unexpected non-`Self` predicate when computing \
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:788:
                     | ty::ClauseKind::ConstArgHasType(_, _)
                     | ty::ClauseKind::WellFormed(_)
                     | ty::ClauseKind::ConstEvaluatable(_)
-                    | ty::ClauseKind::UnstableFeature(_) 
+                    | ty::ClauseKind::UnstableFeature(_)
                     | ty::ClauseKind::HostEffect(..) => {
                         bug!(
                             "unexpected non-`Self` predicate when computing \
Diff in /checkout/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:557:
                     }),
                 ty::PredicateKind::Ambiguous => {
                     self.evaluate_added_goals_and_make_canonical_response(Certainty::AMBIGUOUS)
-                },
-
+                }
             }
         } else {
             self.enter_forall(kind, |ecx, kind| {
Diff in /checkout/compiler/rustc_type_ir/src/predicate_kind.rs:1:
 use std::fmt;
 
-
 use derive_where::derive_where;
 #[cfg(feature = "nightly")]
 use rustc_macros::{Decodable_NoContext, Encodable_NoContext, HashStable_NoContext};
Diff in /checkout/compiler/rustc_type_ir/src/predicate_kind.rs:138:
             ClauseKind::ConstEvaluatable(ct) => {
                 write!(f, "ConstEvaluatable({ct:?})")
             }
-            ClauseKind::UnstableFeature(feature_name) => write!(f, "UnstableFeature({feature_name:?})"),
+            ClauseKind::UnstableFeature(feature_name) => {
+                write!(f, "UnstableFeature({feature_name:?})")
+            }
         }
     }
 }
Diff in /checkout/compiler/rustc_type_ir/src/flags.rs:410:
                 self.add_term(t1);
                 self.add_term(t2);
             }
-            ty::PredicateKind::Clause(ty::ClauseKind::UnstableFeature(_)) => todo!()
+            ty::PredicateKind::Clause(ty::ClauseKind::UnstableFeature(_)) => todo!(),
         }
     }
 
fmt: checked 6023 files
Build completed unsuccessfully in 0:01:16

rust-log-analyzer avatar May 23 '25 10:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#12 2.736 Building wheels for collected packages: reuse
#12 2.737   Building wheel for reuse (pyproject.toml): started
#12 2.949   Building wheel for reuse (pyproject.toml): finished with status 'done'
#12 2.950   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#12 2.950   Stored in directory: /tmp/pip-ephem-wheel-cache-g6shmfxb/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#12 2.953 Successfully built reuse
#12 2.953 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#12 3.350 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#12 3.351 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 3.880 Collecting virtualenv
#12 3.919   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#12 4.005      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 72.9 MB/s eta 0:00:00
#12 4.048 Collecting distlib<1,>=0.3.7
#12 4.051   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#12 4.059      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 88.0 MB/s eta 0:00:00
#12 4.093 Collecting platformdirs<5,>=3.9.1
#12 4.096   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#12 4.135 Collecting filelock<4,>=3.12.2
#12 4.138   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#12 4.221 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#12 4.412 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#12 4.413 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 DONE 4.5s

#13 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#13 DONE 0.0s
---
DirectMap4k:      143296 kB
DirectMap2M:     7196672 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-12/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt check
fmt: checked 6023 files
tidy check
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:407: trailing whitespace
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:407: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:642: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_privacy/src/lib.rs:159: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:43
  local time: Fri May 23 10:52:14 UTC 2025
  network time: Fri, 23 May 2025 10:52:14 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 23 '25 10:05 rust-log-analyzer

The job x86_64-gnu-llvm-19 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#18 exporting to docker image format
#18 sending tarball 20.3s done
#18 DONE 31.8s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-19]
[CI_JOB_NAME=x86_64-gnu-llvm-19]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-19', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--set', 'gcc.download-ci-gcc=true', '--enable-new-symbol-mangling']
configure: build.build          := x86_64-unknown-linux-gnu
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-19/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
[RUSTC-TIMING] rustc_log test:false 2.577
error[E0412]: cannot find type `Symbol` in this scope
   --> compiler/rustc_next_trait_solver/src/solve/mod.rs:150:81
    |
150 |     fn compute_unstable_feature_goal(&mut self, goal: Goal<I, I::Term>, symbol: Symbol) -> QueryResult<I> {
    |                                                                                 ^^^^^^ not found in this scope

   Compiling rustc_attr_data_structures v0.0.0 (/checkout/compiler/rustc_attr_data_structures)
[RUSTC-TIMING] rustc_type_ir test:false 3.797
[RUSTC-TIMING] rustc_feature test:false 0.949
error[E0308]: mismatched types
   --> compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:532:73
    |
532 |                     self.compute_unstable_feature_goal(Goal {param_env, predicate}, symbol)
    |                                                                         ^^^^^^^^^ expected `rustc_type_ir::Interner::Term`, found `rustc_type_ir::Interner::Predicate`
    |
    = note: expected associated type `<I as Interner>::Term`
               found associated type `<I as Interner>::Predicate`
    = note: an associated type was expected, but a different one was found

[RUSTC-TIMING] rustc_attr_data_structures test:false 0.596
error[E0277]: `impl rustc_type_ir::inherent::SliceLike<Item = <I as Interner>::Clause>` is not an iterator
   --> compiler/rustc_next_trait_solver/src/solve/mod.rs:153:21
    |
153 |         for pred in goal.param_env.caller_bounds() {
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl rustc_type_ir::inherent::SliceLike<Item = <I as Interner>::Clause>` is not an iterator
    |
    = help: the trait `std::iter::Iterator` is not implemented for `impl rustc_type_ir::inherent::SliceLike<Item = <I as Interner>::Clause>`
    = note: required for `impl rustc_type_ir::inherent::SliceLike<Item = <I as Interner>::Clause>` to implement `IntoIterator`

error[E0308]: mismatched types
   --> compiler/rustc_next_trait_solver/src/solve/mod.rs:157:25
    |
156 | /                     if sym == symbol {
157 | |                         self.evaluate_added_goals_and_make_canonical_response(Certainty::Yes)
    | |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<Canonical<I, Response<I>>, ...>`
158 | |                     }
    | |_____________________- expected this to be `()`
    |
    = note: expected unit type `()`
                    found enum `Result<Canonical<I, rustc_type_ir::solve::Response<I>>, rustc_type_ir::solve::NoSolution>`
help: consider using a semicolon here
    |
157 |                         self.evaluate_added_goals_and_make_canonical_response(Certainty::Yes);
    |                                                                                              +
help: consider using a semicolon here
    |
158 |                     };
    |                      +
help: you might have meant to return this value
    |
157 |                         return self.evaluate_added_goals_and_make_canonical_response(Certainty::Yes);
    |                         ++++++                                                                      +

error[E0308]: mismatched types
   --> compiler/rustc_next_trait_solver/src/solve/mod.rs:153:9
    |
150 |       fn compute_unstable_feature_goal(&mut self, goal: Goal<I, I::Term>, symbol: Symbol) -> QueryResult<I> {
    |                                                                                              -------------- expected `Result<Canonical<I, rustc_type_ir::solve::Response<I>>, rustc_type_ir::solve::NoSolution>` because of return type
...
153 | /         for pred in goal.param_env.caller_bounds() {
154 | |             match pred.kind().skip_binder() {
155 | |                 ty::ClauseKind::UnstableFeature(sym) => {
156 | |                     if sym == symbol {
...   |
162 | |         }
    | |_________^ expected `Result<Canonical<I, Response<I>>, ...>`, found `()`
    |
    = note:   expected enum `Result<Canonical<I, rustc_type_ir::solve::Response<I>>, rustc_type_ir::solve::NoSolution>`
            found unit type `()`
    = note: `for` loops evaluate to unit type `()`
help: try adding an expression at the end of the block
    |
162 ~         }

rust-log-analyzer avatar May 26 '25 08:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#12 2.880 Building wheels for collected packages: reuse
#12 2.882   Building wheel for reuse (pyproject.toml): started
#12 3.102   Building wheel for reuse (pyproject.toml): finished with status 'done'
#12 3.103   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#12 3.103   Stored in directory: /tmp/pip-ephem-wheel-cache-yczr1_au/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#12 3.106 Successfully built reuse
#12 3.106 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#12 3.526 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#12 3.526 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 4.094 Collecting virtualenv
#12 4.136   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#12 4.223      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 71.9 MB/s eta 0:00:00
#12 4.285 Collecting filelock<4,>=3.12.2
#12 4.289   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#12 4.322 Collecting platformdirs<5,>=3.9.1
#12 4.326   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#12 4.346 Collecting distlib<1,>=0.3.7
#12 4.350   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#12 4.360      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 62.7 MB/s eta 0:00:00
#12 4.441 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#12 4.642 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#12 4.642 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 DONE 4.7s

#13 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#13 DONE 0.0s
---
DirectMap4k:      135104 kB
DirectMap2M:     8253440 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-12/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
[TIMING] core::build_steps::tool::Tidy { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
fmt check
Diff in /checkout/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:598:
                 }
                 ty::PredicateKind::Clause(ty::ClauseKind::UnstableFeature(symbol)) => {
                     self.compute_unstable_feature_goal(param_env, symbol)
-                },
+                }
                 ty::PredicateKind::Subtype(predicate) => {
                     self.compute_subtype_goal(Goal { param_env, predicate })
                 }
Diff in /checkout/compiler/rustc_next_trait_solver/src/solve/mod.rs:147:
             None => self.evaluate_added_goals_and_make_canonical_response(Certainty::AMBIGUOUS),
         }
     }
-    

rust-log-analyzer avatar May 27 '25 08:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#12 2.878 Building wheels for collected packages: reuse
#12 2.879   Building wheel for reuse (pyproject.toml): started
#12 3.090   Building wheel for reuse (pyproject.toml): finished with status 'done'
#12 3.091   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#12 3.091   Stored in directory: /tmp/pip-ephem-wheel-cache-ctijm3z4/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#12 3.093 Successfully built reuse
#12 3.094 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#12 3.484 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#12 3.484 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 4.022 Collecting virtualenv
#12 4.073   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#12 4.315      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 25.2 MB/s eta 0:00:00
#12 4.378 Collecting filelock<4,>=3.12.2
#12 4.385   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#12 4.408 Collecting distlib<1,>=0.3.7
#12 4.417   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#12 4.428      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 51.0 MB/s eta 0:00:00
#12 4.465 Collecting platformdirs<5,>=3.9.1
#12 4.473   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#12 4.554 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#12 4.749 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#12 4.750 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 DONE 4.8s

#13 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#13 DONE 0.0s
---
DirectMap4k:      151488 kB
DirectMap2M:     8237056 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt check
fmt: checked 6029 files
tidy check
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:407: trailing whitespace
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:407: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:642: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_privacy/src/lib.rs:159: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:57
  local time: Wed May 28 10:36:01 UTC 2025
  network time: Wed, 28 May 2025 10:36:02 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 28 '25 10:05 rust-log-analyzer

The job aarch64-gnu-llvm-19-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
tidy check
`eslint` doesn't seem to be installed. Skipping tidy check for JS files.
You can install it using `npm install [email protected]`
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_privacy/src/lib.rs:159: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:642: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:00:56
  local time: Fri May 30 10:03:33 UTC 2025
  network time: Fri, 30 May 2025 10:03:33 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 30 '25 10:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
8.6.0#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.770 Building wheels for collected packages: reuse
#15 2.771   Building wheel for reuse (pyproject.toml): started
#15 2.985   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 2.986   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 2.986   Stored in directory: /tmp/pip-ephem-wheel-cache-wkbpdq45/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 2.989 Successfully built reuse
#15 2.989 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.403 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.404 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 3.937 Collecting virtualenv
#15 4.010   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.131      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 51.9 MB/s eta 0:00:00
#15 4.173 Collecting distlib<1,>=0.3.7
#15 4.187   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.194      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 92.3 MB/s eta 0:00:00
#15 4.230 Collecting filelock<4,>=3.12.2
#15 4.245   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.281 Collecting platformdirs<5,>=3.9.1
#15 4.295   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.376 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.569 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.569 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 4.7s

#16 [10/11] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      143296 kB
DirectMap2M:     7196672 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 2s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt: checked 6029 files
tidy check
Running eslint on rustdoc JS files
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:642: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_privacy/src/lib.rs:159: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:49
  local time: Fri May 30 10:27:41 UTC 2025
  network time: Fri, 30 May 2025 10:27:41 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 30 '25 10:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
8.6.0#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.801 Building wheels for collected packages: reuse
#15 2.802   Building wheel for reuse (pyproject.toml): started
#15 3.018   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 3.019   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 3.019   Stored in directory: /tmp/pip-ephem-wheel-cache-awl2q0_z/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 3.022 Successfully built reuse
#15 3.022 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.407 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.407 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 3.947 Collecting virtualenv
#15 4.004   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.228      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 27.4 MB/s eta 0:00:00
#15 4.289 Collecting platformdirs<5,>=3.9.1
#15 4.296   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.318 Collecting distlib<1,>=0.3.7
#15 4.325   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.336      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 50.3 MB/s eta 0:00:00
#15 4.375 Collecting filelock<4,>=3.12.2
#15 4.382   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.463 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.652 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.652 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 4.7s

#16 [10/11] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      147392 kB
DirectMap2M:     7192576 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 3s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt: checked 6030 files
tidy check
Running eslint on rustdoc JS files
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:642: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_privacy/src/lib.rs:159: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:48
  local time: Sat May 31 09:41:13 UTC 2025
  network time: Sat, 31 May 2025 09:41:14 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 31 '25 09:05 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
8.6.0#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.920 Building wheels for collected packages: reuse
#15 2.921   Building wheel for reuse (pyproject.toml): started
#15 3.130   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 3.131   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 3.131   Stored in directory: /tmp/pip-ephem-wheel-cache-whe70gpj/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 3.133 Successfully built reuse
#15 3.133 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.523 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.523 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 4.065 Collecting virtualenv
#15 4.123   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.435      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 19.5 MB/s eta 0:00:00
#15 4.481 Collecting distlib<1,>=0.3.7
#15 4.491   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.504      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 40.8 MB/s eta 0:00:00
#15 4.545 Collecting filelock<4,>=3.12.2
#15 4.555   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.596 Collecting platformdirs<5,>=3.9.1
#15 4.606   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.689 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.875 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.876 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 5.0s

#16 [10/11] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      139200 kB
DirectMap2M:     7200768 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 3s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt: checked 6030 files
tidy check
Running eslint on rustdoc JS files
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:324: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:3253: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
##[error]tidy error: /checkout/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:643: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
##[error]tidy error: /checkout/compiler/rustc_type_ir/src/elaborate.rs:204: TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:47
  local time: Sat May 31 10:08:53 UTC 2025
  network time: Sat, 31 May 2025 10:08:54 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar May 31 '25 10:05 rust-log-analyzer

The job aarch64-gnu-llvm-19-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
tidy check
`eslint` doesn't seem to be installed. Skipping tidy check for JS files.
You can install it using `npm install [email protected]`
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature.rs:1: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature.rs: missing trailing newline
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:00:53
  local time: Sun Jun  1 08:58:49 UTC 2025
  network time: Sun, 01 Jun 2025 08:58:49 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Jun 01 '25 08:06 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
8.6.0#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.829 Building wheels for collected packages: reuse
#15 2.830   Building wheel for reuse (pyproject.toml): started
#15 3.039   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 3.040   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 3.040   Stored in directory: /tmp/pip-ephem-wheel-cache-8orqg611/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 3.042 Successfully built reuse
#15 3.042 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.436 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.436 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 3.972 Collecting virtualenv
#15 4.023   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.253      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 26.6 MB/s eta 0:00:00
#15 4.315 Collecting platformdirs<5,>=3.9.1
#15 4.322   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.364 Collecting filelock<4,>=3.12.2
#15 4.372   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.393 Collecting distlib<1,>=0.3.7
#15 4.401   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.412      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 50.9 MB/s eta 0:00:00
#15 4.493 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.687 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.688 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 4.8s

#16 [10/11] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      165824 kB
DirectMap2M:    10319872 kB
DirectMap1G:     8388608 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 3s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
Diff in /checkout/compiler/rustc_trait_selection/src/traits/select/mod.rs:851:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return Ok(EvaluatedToAmbig);
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.tcx().features().enabled(symbol)
                             || (self.infcx.typing_mode() == TypingMode::PostAnalysis)
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:778:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return ProcessResult::Unchanged;
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.selcx.tcx().features().enabled(symbol)
                             || (self.selcx.infcx.typing_mode() == TypingMode::PostAnalysis)
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:787:
                         } else {
                             return ProcessResult::Unchanged;
                         }
-
                     }

rust-log-analyzer avatar Jun 02 '25 10:06 rust-log-analyzer

The job aarch64-gnu-llvm-19-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:1:
 use std::assert_matches::assert_matches;
 
 use hir::Node;
+use rustc_attr_data_structures::{AttributeKind, find_attr};
 use rustc_data_structures::fx::FxIndexSet;
 use rustc_hir as hir;
 use rustc_hir::def::DefKind;
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:18:
 use crate::delegation::inherit_predicates_for_delegation_item;
 use crate::hir_ty_lowering::{HirTyLowerer, PredicateFilter, RegionInferReason};
 
-
-use rustc_attr_data_structures::{AttributeKind, find_attr};
-
 /// Returns a list of all type predicates (explicit and implicit) for the definition with
 /// ID `def_id`. This includes all predicates returned by `explicit_predicates_of`, plus
 /// inferred constraints concerning which regions outlive other regions.
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:328:
             .unwrap_or_default();
 
     for (feat_name, span) in allow_unstable_feature_attr {
-        predicates.insert((
-            ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx),
-            *span
-        ));
-    } 
+        predicates.insert((ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx), *span));
+    }
 
     let mut predicates: Vec<_> = predicates.into_iter().collect();
 
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:778:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return ProcessResult::Unchanged;
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.selcx.tcx().features().enabled(symbol)
                             || (self.selcx.infcx.typing_mode() == TypingMode::PostAnalysis)
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:787:
                         } else {
                             return ProcessResult::Unchanged;
                         }
-
                     }
                 }
             },
Diff in /checkout/compiler/rustc_trait_selection/src/traits/select/mod.rs:851:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return Ok(EvaluatedToAmbig);
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.tcx().features().enabled(symbol)
                             || (self.infcx.typing_mode() == TypingMode::PostAnalysis)
fmt: checked 6032 files
Build completed unsuccessfully in 0:00:40
  local time: Mon Jun  2 13:13:13 UTC 2025
  network time: Mon, 02 Jun 2025 13:13:13 GMT
##[error]Process completed with exit code 1.

rust-log-analyzer avatar Jun 02 '25 13:06 rust-log-analyzer

The job aarch64-gnu-llvm-19-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:1:
 use std::assert_matches::assert_matches;
 
 use hir::Node;
+use rustc_attr_data_structures::{AttributeKind, find_attr};
 use rustc_data_structures::fx::FxIndexSet;
 use rustc_hir as hir;
 use rustc_hir::def::DefKind;
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:18:
 use crate::delegation::inherit_predicates_for_delegation_item;
 use crate::hir_ty_lowering::{HirTyLowerer, PredicateFilter, RegionInferReason};
 
-
-use rustc_attr_data_structures::{AttributeKind, find_attr};
-
 /// Returns a list of all type predicates (explicit and implicit) for the definition with
 /// ID `def_id`. This includes all predicates returned by `explicit_predicates_of`, plus
 /// inferred constraints concerning which regions outlive other regions.
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:328:
             .unwrap_or_default();
 
     for (feat_name, span) in allow_unstable_feature_attr {
-        predicates.insert((
-            ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx),
-            *span
-        ));
-    } 
+        predicates.insert((ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx), *span));
+    }
 
     let mut predicates: Vec<_> = predicates.into_iter().collect();
 
Diff in /checkout/compiler/rustc_hir_analysis/src/check/wfcheck.rs:2368:
             // We lower empty bounds like `Vec<dyn Copy>:` as
             // `WellFormed(Vec<dyn Copy>)`, which will later get checked by
             // regular WF checking
-            
+
             match pred.kind().skip_binder() {
                 ty::ClauseKind::WellFormed(..) | ty::ClauseKind::UnstableFeature(..) => continue,
-                _ => {},
+                _ => {}
             }
 
             // Match the existing behavior.
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:778:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return ProcessResult::Unchanged;
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.selcx.tcx().features().enabled(symbol)
                             || (self.selcx.infcx.typing_mode() == TypingMode::PostAnalysis)
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:787:
                         } else {
                             return ProcessResult::Unchanged;
                         }
-
                     }
                 }
             },
Diff in /checkout/compiler/rustc_trait_selection/src/traits/select/mod.rs:851:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return Ok(EvaluatedToAmbig);
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.tcx().features().enabled(symbol)
                             || (self.infcx.typing_mode() == TypingMode::PostAnalysis)
fmt: checked 6032 files
Build completed unsuccessfully in 0:00:41
  local time: Mon Jun  2 17:39:13 UTC 2025
  network time: Mon, 02 Jun 2025 17:39:13 GMT
##[error]Process completed with exit code 1.

rust-log-analyzer avatar Jun 02 '25 17:06 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check-1/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.694 Building wheels for collected packages: reuse
#15 2.695   Building wheel for reuse (pyproject.toml): started
#15 2.908   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 2.909   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 2.909   Stored in directory: /tmp/pip-ephem-wheel-cache-pq7rd3wq/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 2.912 Successfully built reuse
#15 2.912 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.307 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.307 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 3.839 Collecting virtualenv
#15 3.879   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 3.952      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 87.2 MB/s eta 0:00:00
#15 4.010 Collecting platformdirs<5,>=3.9.1
#15 4.014   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.031 Collecting distlib<1,>=0.3.7
#15 4.035   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.042      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 93.7 MB/s eta 0:00:00
#15 4.077 Collecting filelock<4,>=3.12.2
#15 4.080   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.163 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.355 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.355 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 4.4s

#16 [10/11] COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      139200 kB
DirectMap2M:     9297920 kB
DirectMap1G:     9437184 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 2s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
##[endgroup]
[TIMING] core::build_steps::tool::ToolBuild { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, tool: "tidy", path: "src/tools/tidy", mode: ToolBootstrap, source_type: InTree, extra_features: [], allow_features: "", cargo_args: [], artifact_kind: Binary } -- 35.384
[TIMING] core::build_steps::tool::Tidy { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
fmt check
Diff in /checkout/compiler/rustc_passes/src/stability.rs:801:
                     // FIXME(jdonszelmann): make it impossible to miss the or_else in the typesystem
                     let const_stab = attrs::find_attr!(attrs, AttributeKind::ConstStability{stability, ..} => *stability);
 
-                    let unstable_feature_stab =  
+                    let unstable_feature_stab =
                         find_attr!(attrs, AttributeKind::AllowUnstableFeature(i) => i)
-                        .map(|i| i.as_slice())
-                        .unwrap_or_default();
+                            .map(|i| i.as_slice())
+                            .unwrap_or_default();
 
                     // If this impl block has an #[unstable] attribute, give an
                     // error if all involved types and traits are stable, because
Diff in /checkout/compiler/rustc_passes/src/stability.rs:812:
                     // See: https://github.com/rust-lang/rust/issues/55436
                     //
                     // The exception is when there is both  #[unstable_feature_bound(..)] and
-                    //  #![unstable(feature = "..", issue = "..")] that have the same symbol because 
+                    //  #![unstable(feature = "..", issue = "..")] that have the same symbol because
                     // that can effectively mark an impl as unstable.
                     //
                     // For example:
Diff in /checkout/compiler/rustc_passes/src/stability.rs:819:
                     // ```
-                    // #[unstable_feature_bound(feat_foo)] 
+                    // #[unstable_feature_bound(feat_foo)]
                     // #![unstable(feature = "feat_foo", issue = "none")]
                     // impl Foo for Bar {}
                     // ```
Diff in /checkout/compiler/rustc_passes/src/stability.rs:824:
                     if let Some((
-                        Stability { level: attrs::StabilityLevel::Unstable { ..}, feature},
+                        Stability { level: attrs::StabilityLevel::Unstable { .. }, feature },
                         span,
                     )) = stab
                     {
Diff in /checkout/compiler/rustc_passes/src/stability.rs:831:
                         c.visit_trait_ref(t);
 
                         // Skip the lint if the impl is marked as unstable using
-                        // #[unstable_feature_bound(..)] 
+                        // #[unstable_feature_bound(..)]
                         let mut unstable_feature_bound_in_effect = false;
                         for (unstable_bound_feat_name, _) in unstable_feature_stab {
                             if *unstable_bound_feat_name == feature {
Diff in /checkout/compiler/rustc_passes/src/stability.rs:841:
 
                         // do not lint when the trait isn't resolved, since resolution error should
                         // be fixed first
-                        if t.path.res != Res::Err && c.fully_stable && !unstable_feature_bound_in_effect {
+                        if t.path.res != Res::Err
+                            && c.fully_stable
+                            && !unstable_feature_bound_in_effect
+                        {
                             self.tcx.emit_node_span_lint(
                                 INEFFECTIVE_UNSTABLE_TRAIT_IMPL,
                                 item.hir_id(),
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:778:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return ProcessResult::Unchanged;
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.selcx.tcx().features().enabled(symbol)
                             || (self.selcx.infcx.typing_mode() == TypingMode::PostAnalysis)
Diff in /checkout/compiler/rustc_trait_selection/src/traits/fulfill.rs:787:
                         } else {
                             return ProcessResult::Unchanged;
                         }
-
                     }
                 }
             },
Diff in /checkout/compiler/rustc_trait_selection/src/traits/select/mod.rs:851:
                         // If we are in std/core, and the feature is not enabled through #[unstable_feature_bound(..)].
                         return Ok(EvaluatedToAmbig);
                     } else {
-                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)] 
+                        // Outside of std/core, check if feature is enabled at crate level with #[feature(..)]
                         // or if we are currently in codegen.
                         if self.tcx().features().enabled(symbol)
                             || (self.infcx.typing_mode() == TypingMode::PostAnalysis)
fmt: checked 6032 files
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:1:
 use std::assert_matches::assert_matches;
 
 use hir::Node;
+use rustc_attr_data_structures::{AttributeKind, find_attr};
 use rustc_data_structures::fx::FxIndexSet;
 use rustc_hir as hir;
 use rustc_hir::def::DefKind;
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:18:
 use crate::delegation::inherit_predicates_for_delegation_item;
 use crate::hir_ty_lowering::{HirTyLowerer, PredicateFilter, RegionInferReason};
 
-
-use rustc_attr_data_structures::{AttributeKind, find_attr};
-
 /// Returns a list of all type predicates (explicit and implicit) for the definition with
 /// ID `def_id`. This includes all predicates returned by `explicit_predicates_of`, plus
 /// inferred constraints concerning which regions outlive other regions.
Diff in /checkout/compiler/rustc_hir_analysis/src/collect/predicates_of.rs:328:
             .unwrap_or_default();
 
     for (feat_name, span) in allow_unstable_feature_attr {
-        predicates.insert((
-            ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx),
-            *span
-        ));
-    } 
+        predicates.insert((ty::ClauseKind::UnstableFeature(*feat_name).upcast(tcx), *span));
+    }
 
     let mut predicates: Vec<_> = predicates.into_iter().collect();
 
Diff in /checkout/compiler/rustc_hir_analysis/src/check/wfcheck.rs:2368:
             // We lower empty bounds like `Vec<dyn Copy>:` as
             // `WellFormed(Vec<dyn Copy>)`, which will later get checked by
             // regular WF checking
-            
+
             match pred.kind().skip_binder() {
                 ty::ClauseKind::WellFormed(..) | ty::ClauseKind::UnstableFeature(..) => continue,
-                _ => {},
+                _ => {}
             }
 
             // Match the existing behavior.
Build completed unsuccessfully in 0:01:15

rust-log-analyzer avatar Jun 03 '25 09:06 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check-1/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#10 [ 4/11] RUN sh /scripts/nodejs.sh /node
#10 0.050 + NODEJS_VERSION=v20.12.2
#10 0.050 + INSTALL_PATH=/node
#10 0.050 + url=https://nodejs.org/dist/v20.12.2/node-v20.12.2-linux-x64.tar.xz
#10 0.050 + curl+  -sLtar -xJ https://nodejs.org/dist/v20.12.2/node-v20.12.2-linux-x64.tar.xz
#10 0.050 
#10 2.140 + mv node-v20.12.2-linux-x64 /node
#10 DONE 2.3s

#11 [ 5/11] COPY host-x86_64/mingw-check-tidy/eslint.version /tmp/
---
#15 3.095 Building wheels for collected packages: reuse
#15 3.096   Building wheel for reuse (pyproject.toml): started
#15 3.311   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 3.311   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 3.312   Stored in directory: /tmp/pip-ephem-wheel-cache-px3deva8/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 3.314 Successfully built reuse
#15 3.315 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.717 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.718 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 4.280 Collecting virtualenv
#15 4.346   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.572      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 27.1 MB/s eta 0:00:00
#15 4.638 Collecting platformdirs<5,>=3.9.1
#15 4.648   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.692 Collecting filelock<4,>=3.12.2
#15 4.702   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.726 Collecting distlib<1,>=0.3.7
#15 4.736   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.749      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 43.7 MB/s eta 0:00:00
#15 4.830 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 5.021 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 5.021 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 5.1s

#16 [10/11] COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      137152 kB
DirectMap2M:     8251392 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 3s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt: checked 6032 files
tidy check
Running eslint on rustdoc JS files
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:1: line longer than 100 chars
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:3: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:16: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:22: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound.rs:8: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature-bound.rs: missing trailing newline
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:1: line longer than 100 chars
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:4: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:16: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs: missing trailing newline
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:52
  local time: Tue Jun  3 10:06:45 UTC 2025
  network time: Tue, 03 Jun 2025 10:06:45 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Jun 03 '25 10:06 rust-log-analyzer

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check-1/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) && \
 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#15 2.944 Building wheels for collected packages: reuse
#15 2.945   Building wheel for reuse (pyproject.toml): started
#15 3.178   Building wheel for reuse (pyproject.toml): finished with status 'done'
#15 3.180   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#15 3.180   Stored in directory: /tmp/pip-ephem-wheel-cache-lhnnwhki/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#15 3.182 Successfully built reuse
#15 3.183 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#15 3.589 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#15 3.590 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 4.175 Collecting virtualenv
#15 4.217   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#15 4.301      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 73.9 MB/s eta 0:00:00
#15 4.364 Collecting platformdirs<5,>=3.9.1
#15 4.368   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#15 4.411 Collecting filelock<4,>=3.12.2
#15 4.415   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#15 4.435 Collecting distlib<1,>=0.3.7
#15 4.441   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#15 4.448      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 91.1 MB/s eta 0:00:00
#15 4.531 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#15 4.728 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#15 4.729 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#15 DONE 4.8s

#16 [10/11] COPY host-x86_64/mingw-check-1/validate-toolstate.sh /scripts/
#16 DONE 0.0s
---
DirectMap4k:      133056 kB
DirectMap2M:     8255488 kB
DirectMap1G:    10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 npm install eslint@$(head -n 1 /tmp/eslint.version) &&  python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ head -n 1 /tmp/eslint.version
+ TIDY_PRINT_DIFF=1 npm install [email protected]
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 89 packages in 3s

17 packages are looking for funding
  run `npm fund` for details
+ python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-27/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
fmt: checked 6032 files
tidy check
Running eslint on rustdoc JS files
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:1: line longer than 100 chars
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:3: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:13: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/auxiliary/unstable_feature.rs:19: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound.rs:8: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature-bound.rs: missing trailing newline
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:1: line longer than 100 chars
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:4: trailing whitespace
##[error]tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs:16: trailing whitespace
tidy error: /checkout/tests/ui/internal/unstable-feature-bound-no-effect.rs: missing trailing newline
Expected a gate test for the feature 'impl_stability'.
Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-impl-stability.rs',
      with its failures due to missing usage of `#![feature(impl_stability)]`.
Hint: If you already have such a test and don't want to rename it,
      you can also add a // gate-test-impl_stability line to the test file.
tidy error: Found 1 features without a gate test.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'venv'
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10' and 'virtualenv'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (25.1.1)
linting python files
All checks passed!
checking python file formatting
26 files already formatted
checking C++ file formatting
some tidy checks failed
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:47
  local time: Tue Jun  3 10:26:26 UTC 2025
  network time: Tue, 03 Jun 2025 10:26:26 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Jun 03 '25 10:06 rust-log-analyzer

The job aarch64-gnu-llvm-19-1 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
To only update this specific test, also pass `--test-args internal/unstable-feature-bound.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/internal/unstable-feature-bound.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/internal/unstable-feature-bound" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/internal/unstable-feature-bound/auxiliary"
stdout: none
--- stderr -------------------------------
error[E0284]: type annotations needed: cannot satisfy `unstable feature: `feat_moo``
##[error]  --> /checkout/tests/ui/internal/unstable-feature-bound.rs:11:5
   |
---
7 note: required for `Bar` to implement `Foo`
-   --> $DIR/unstable-impl-require-bound.rs:18:6
+   --> $DIR/unstable-impl-require-bound.rs:19:6
9    |
10 LL | #[unstable_feature_bound(feat_foo)]
11    | ----------------------------------- unsatisfied trait bound introduced here

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/internal/unstable-impl-require-bound.rs:24:5
-   --> /checkout/tests/ui/internal/unstable-impl-require-bound.rs:19:6
+   --> $DIR/unstable-impl-require-bound.rs:24:5
---
To only update this specific test, also pass `--test-args internal/unstable-impl-require-bound.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/internal/unstable-impl-require-bound.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/internal/unstable-impl-require-bound" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0284]: type annotations needed: cannot satisfy `unstable feature: `feat_foo``
##[error]  --> /checkout/tests/ui/internal/unstable-impl-require-bound.rs:24:5
   |
LL |     Bar::foo();
   |     ^^^ cannot satisfy `unstable feature: `feat_foo``
   |
note: required for `Bar` to implement `Foo`
  --> /checkout/tests/ui/internal/unstable-impl-require-bound.rs:19:6
   |
LL | #[unstable_feature_bound(feat_foo)]
   | ----------------------------------- unsatisfied trait bound introduced here
LL | impl Foo for Bar {
   |      ^^^     ^^^

error: aborting due to 1 previous error

rust-log-analyzer avatar Jun 05 '25 14:06 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #142299) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jun 10 '25 21:06 bors

I've got nothing technical to add (I've not looked over the code). I just wanted to thank @tiif for taking on this task! It's far from trivial and has been a long-standing desire.

jhpratt avatar Jun 11 '25 23:06 jhpratt

The job x86_64-gnu-llvm-19 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#18 exporting to docker image format
#18 sending tarball 27.6s done
#18 DONE 34.3s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-19]
[CI_JOB_NAME=x86_64-gnu-llvm-19]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-19', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--set', 'gcc.download-ci-gcc=true', '--enable-new-symbol-mangling']
configure: build.build          := x86_64-unknown-linux-gnu
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-19/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
   Compiling rustc_parse v0.0.0 (/checkout/compiler/rustc_parse)
error[E0107]: missing generics for trait `CombineAttributeParser`
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:28:6
    |
28  | impl CombineAttributeParser for AllowUnstableFeatureParser {
    |      ^^^^^^^^^^^^^^^^^^^^^^ expected 1 generic argument
    |
note: trait defined here, with 1 generic parameter: `S`
   --> compiler/rustc_attr_parsing/src/attributes/mod.rs:219:18
    |
219 | pub(crate) trait CombineAttributeParser<S: Stage>: 'static {
    |                  ^^^^^^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
    |
28  | impl CombineAttributeParser<S> for AllowUnstableFeatureParser {
    |                            +++

error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:34:17
    |
34  |         cx: &'a AcceptContext<'a>,
    |                 ^^^^^^^^^^^^^ -- supplied 1 lifetime argument
    |                 |
    |                 expected 2 lifetime arguments
    |
note: struct defined here, with 2 lifetime parameters: `'f`, `'sess`
   --> compiler/rustc_attr_parsing/src/context.rs:165:19
    |
165 | pub(crate) struct AcceptContext<'f, 'sess, S: Stage> {
    |                   ^^^^^^^^^^^^^ --  -----
help: add missing lifetime argument
    |
34  |         cx: &'a AcceptContext<'a, 'a>,
    |                                 ++++

error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:34:17
    |
34  |         cx: &'a AcceptContext<'a>,
    |                 ^^^^^^^^^^^^^ expected 1 generic argument
    |
note: struct defined here, with 1 generic parameter: `S`
   --> compiler/rustc_attr_parsing/src/context.rs:165:19
    |
165 | pub(crate) struct AcceptContext<'f, 'sess, S: Stage> {
    |                   ^^^^^^^^^^^^^            -
help: add missing generic argument
    |
34  |         cx: &'a AcceptContext<'a, S>,
    |                                 +++

For more information about this error, try `rustc --explain E0107`.
[RUSTC-TIMING] rustc_attr_parsing test:false 0.574
error: could not compile `rustc_attr_parsing` (lib) due to 3 previous errors

rust-log-analyzer avatar Jun 13 '25 16:06 rust-log-analyzer

The job x86_64-gnu-llvm-19 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#19 exporting to docker image format
#19 sending tarball 28.1s done
#19 DONE 32.2s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-19]
[CI_JOB_NAME=x86_64-gnu-llvm-19]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-19', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--set', 'gcc.download-ci-gcc=true', '--enable-new-symbol-mangling']
configure: build.build          := x86_64-unknown-linux-gnu
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-19/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
   Compiling rustc_parse v0.0.0 (/checkout/compiler/rustc_parse)
error[E0107]: missing generics for trait `CombineAttributeParser`
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:28:6
    |
28  | impl CombineAttributeParser for AllowUnstableFeatureParser {
    |      ^^^^^^^^^^^^^^^^^^^^^^ expected 1 generic argument
    |
note: trait defined here, with 1 generic parameter: `S`
   --> compiler/rustc_attr_parsing/src/attributes/mod.rs:219:18
    |
219 | pub(crate) trait CombineAttributeParser<S: Stage>: 'static {
    |                  ^^^^^^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
    |
28  | impl CombineAttributeParser<S> for AllowUnstableFeatureParser {
    |                            +++

error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:34:17
    |
34  |         cx: &'a AcceptContext<'a>,
    |                 ^^^^^^^^^^^^^ -- supplied 1 lifetime argument
    |                 |
    |                 expected 2 lifetime arguments
    |
note: struct defined here, with 2 lifetime parameters: `'f`, `'sess`
   --> compiler/rustc_attr_parsing/src/context.rs:165:19
    |
165 | pub(crate) struct AcceptContext<'f, 'sess, S: Stage> {
    |                   ^^^^^^^^^^^^^ --  -----
help: add missing lifetime argument
    |
34  |         cx: &'a AcceptContext<'a, 'a>,
    |                                 ++++

error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
   --> compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs:34:17
    |
34  |         cx: &'a AcceptContext<'a>,
    |                 ^^^^^^^^^^^^^ expected 1 generic argument
    |
note: struct defined here, with 1 generic parameter: `S`
   --> compiler/rustc_attr_parsing/src/context.rs:165:19
    |
165 | pub(crate) struct AcceptContext<'f, 'sess, S: Stage> {
    |                   ^^^^^^^^^^^^^            -
help: add missing generic argument
    |
34  |         cx: &'a AcceptContext<'a, S>,
    |                                 +++

For more information about this error, try `rustc --explain E0107`.
[RUSTC-TIMING] rustc_attr_parsing test:false 0.466
error: could not compile `rustc_attr_parsing` (lib) due to 3 previous errors

rust-log-analyzer avatar Jun 13 '25 16:06 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #142483) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jun 14 '25 08:06 bors

I am leaving the conflicts there because I don't want to rebase for now (the conflict also happens quite frequently), so it would be easier for boxy to review.

hi @jdonszelmann, it'd be nice to get a vibeck from you for the attribute change :)

tiif avatar Jun 23 '25 13:06 tiif

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

changes to the core type system

cc @compiler-errors, @lcnr

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @jdonszelmann

changes to inspect_obligations.rs

cc @compiler-errors, @lcnr

Some changes occurred in compiler/rustc_attr_data_structures

cc @jdonszelmann

rustbot avatar Jun 23 '25 13:06 rustbot

Hi tiff! Will review this week :)

jdonszelmann avatar Jun 23 '25 13:06 jdonszelmann

:umbrella: The latest upstream changes (presumably #142997) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jun 25 '25 07:06 bors

:umbrella: The latest upstream changes (presumably #143091) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jun 27 '25 19:06 bors

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged. Otherwise, you can ignore this comment.

rustbot avatar Jul 03 '25 18:07 rustbot

Could you please do a perf run before this lands too? The extra call to hir_attrs in predicates_of may need to be querifyied and/or some fast path might need to be added for perf.

compiler-errors avatar Jul 08 '25 16:07 compiler-errors

Sure, I will do a rebase after lcnr finish reviewing, then request for a perf run.

tiif avatar Jul 09 '25 13:07 tiif