rust
rust copied to clipboard
avoid generalization inside of aliases
The basic idea of this PR is that we don't generalize aliases when the instantiation could fail later on, either due to the occurs check or because of a universe error. We instead replace the whole alias with an inference variable and emit a nested AliasRelate
goal. This AliasRelate
then fully normalizes the alias before equating it with the inference variable, at which point the alias can be treated like any other rigid type.
We now treat aliases differently, depending on whether they are rigid or not. To detect whether an alias is rigid we check whether NormalizesTo
fails. While we already do so inside of AliasRelate
anyways, also doing so when instantiating a query response would be both ugly/difficult and likely inefficient. To avoid that I change instantiate_and_apply_query_response
to be infallible in the new solver by adding a way to relate types completely structurally. This change generally removes a lot of annoying complexity, which is nice. It's implemented by adding a flag to Equate
to change it to structurally handle aliases.
However, this adds the following invariant to our canonical queries: relating variables inside of the query must not succeed if the same relation would fail without canonicalization. This sadly prevents us from merging universes when canonical inputs.[^1] It's probably possible to currently cause an ICE because we do not consider sub_relations
when canonicalizing, but these should get removed in a separate PR soon #119989.
Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/79. While it would be nice to decrement universe indices when existing a forall
, that was surprisingly difficult and not necessary to fix this issue. I am really happy with the approach in this PR think it is the correct way forward to also fix the remaining cases of https://github.com/rust-lang/trait-system-refactor-initiative/issues/8.
r? @compiler-errors
[^1]: i am not fully convinced this is true, need to think more about it
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
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-16]
##[group]Clock drift check
local time: Tue Dec 19 07:25:00 UTC 2023
network time: Tue, 19 Dec 2023 07:25:00 GMT
network time: Tue, 19 Dec 2023 07:25:00 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--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', '--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', '--enable-missing-tools', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: rust.codegen-units-std := 1
---
- error[E0284]: type annotations needed
- --> $DIR/generalize-proj-new-universe-index-2.rs:74:5
- |
- LL | bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `V` declared on the function `bound`
- |
- = note: cannot satisfy `<<Rigid as IdHigherRankedBound>::Assoc as WithAssoc<<Wrapper<Leaf> as Id>::Assoc>>::Assoc == _`
- --> $DIR/generalize-proj-new-universe-index-2.rs:69:21
- |
- |
- LL | fn bound<T: ?Sized, U: ?Sized, V: ?Sized>()
- LL | where
- LL | where
- LL | T: WithAssoc<U, Assoc = V>,
-
- error: aborting due to 1 previous error
-
- For more information about this error, try `rustc --explain E0284`.
- For more information about this error, try `rustc --explain E0284`.
-
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/generalize/generalize-proj-new-universe-index-2/generalize-proj-new-universe-index-2.stderr
To only update this specific test, also pass `--test-args traits/next-solver/generalize/generalize-proj-new-universe-index-2.rs`
error: 1 errors occurred comparing output.
status: exit status: 0
status: exit status: 0
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/generalize/generalize-proj-new-universe-index-2.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/generalize/generalize-proj-new-universe-index-2" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/generalize/generalize-proj-new-universe-index-2/auxiliary" "-Znext-solver"
stderr: none
gna mark this as author until it's out of draft?
@rustbot author
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:ffaa7aafa0e80d81fa618b45e4a32b1f42154ac4f8558ae100d6f8d34385fb79 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.0s
##[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-16]
##[group]Clock drift check
local time: Mon Jan 29 11:57:15 UTC 2024
network time: Mon, 29 Jan 2024 11:57:15 GMT
network time: Mon, 29 Jan 2024 11:57:15 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
---
Compiling rustc_smir v0.0.0 (/checkout/compiler/rustc_smir)
Compiling rustc_codegen_ssa v0.0.0 (/checkout/compiler/rustc_codegen_ssa)
Compiling rustc_transmute v0.0.0 (/checkout/compiler/rustc_transmute)
Compiling rustc_trait_selection v0.0.0 (/checkout/compiler/rustc_trait_selection)
error: unused import: `Goal`
|
|
13 | use super::{Certainty, Goal, InferCtxtEvalExt};
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
fi
echo "Check if an error code explanation was removed..."
if (git diff "$BASE_COMMIT" --name-status | grep '^D' \
| grep --quiet "compiler/rustc_error_codes/src/error_codes/"); then
echo "Error code explanations should never be removed!"
echo "Take a look at E0001 to see how to handle it."
fi
echo "No error code explanation was removed!"
#!/bin/bash
---
rm -rf rust-toolstate
git clone --depth=1 https://github.com/rust-lang-nursery/rust-toolstate.git
cd rust-toolstate
python3 "../../src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" \
"$(git log --format=%s -n1 HEAD)" "" ""
rm -rf rust-toolstate
#!/bin/sh
# ignore-tidy-linelength
---
#10 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.707 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.719 Collecting boolean-py==4.0
#11 0.722 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.735 Collecting chardet==5.1.0
---
#11 5.345 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.405 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 65.2 MB/s eta 0:00:00
#11 5.454 Collecting filelock<4,>=3.12.2
#11 5.458 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.474 Collecting distlib<1,>=0.3.7
#11 5.477 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.484 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 109.6 MB/s eta 0:00:00
#11 5.510 Collecting platformdirs<5,>=3.9.1
#11 5.514 Downloading platformdirs-4.1.0-py3-none-any.whl (17 kB)
#11 5.598 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.758 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.1.0 virtualenv-20.25.0
#11 DONE 5.8s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 192448 kB
DirectMap2M: 7147520 kB
DirectMap1G: 11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
Finished release [optimized] target(s) in 24.61s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 6:
use rustc_middle::ty::error::ExpectedFound;
use rustc_middle::ty::relate::{self, structurally_relate_tys, Relate, RelateResult, TypeRelation};
use rustc_middle::ty::IntVarValue::{IntType, UintType};
-use rustc_middle::ty::{GenericArgsRef, InferConst};
use rustc_middle::ty::TyVar;
use rustc_middle::ty::{self, Ty, TyCtxt};
+use rustc_middle::ty::{GenericArgsRef, InferConst};
use rustc_hir::def_id::DefId;
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 85:
(&ty::Infer(ty::IntVar(a_id)), &ty::Infer(ty::IntVar(b_id))) => {
- infcx.inner
+ infcx
+ .inner
.borrow_mut()
.int_unification_table()
.unify_var_var(a_id, b_id)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 107:
// Relate floating-point variables to other types
// Relate floating-point variables to other types
(&ty::Infer(ty::FloatVar(a_id)), &ty::Infer(ty::FloatVar(b_id))) => {
- infcx.inner
+ infcx
+ .inner
.borrow_mut()
.float_unification_table()
.unify_var_var(a_id, b_id)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 133:
debug!("{}.regions({:?}, {:?})", self.tag(), a, b);
let origin = SubregionOrigin::Subtype(Box::new(TypeTrace {
cause: self.cause.clone(),
- values: ValuePairs::Regions(ExpectedFound::new(true, a, b))
+ values: ValuePairs::Regions(ExpectedFound::new(true, a, b)),
- self
- .infcx
- .inner
- .borrow_mut()
- .borrow_mut()
- .unwrap_region_constraints()
- .make_eqregion(origin, a, b);
+ self.infcx.inner.borrow_mut().unwrap_region_constraints().make_eqregion(origin, a, b);
Ok(a)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 165:
ty::ConstKind::Infer(InferConst::EffectVar(a_vid)),
ty::ConstKind::Infer(InferConst::EffectVar(b_vid)),
) => {
- infcx.inner
+ infcx
+ .inner
.borrow_mut()
.effect_unification_table()
.unify_var_var(a_vid, b_vid)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 188:
(ty::ConstKind::Infer(InferConst::Var(vid)), _) => {
- infcx.inner.borrow_mut().const_unification_table().union_value(vid, ConstVariableValue::Known { value: b });
+ infcx
+ .inner
+ .borrow_mut()
+ .const_unification_table()
+ .union_value(vid, ConstVariableValue::Known { value: b });
Ok(b)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 195:
(_, ty::ConstKind::Infer(InferConst::Var(vid))) => {
- infcx.inner.borrow_mut().const_unification_table().union_value(vid, ConstVariableValue::Known { value: a });
+ infcx
+ .inner
+ .borrow_mut()
+ .const_unification_table()
+ .union_value(vid, ConstVariableValue::Known { value: a });
Ok(a)
##[error]Diff in /checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs at line 220:
// A binder is equal to itself if it's structurally equal to itself
if a != b {
assert_eq!(a.bound_vars(), b.bound_vars());
- let (a, b) = self.infcx.instantiate_binder_with_placeholders(a.map_bound(|a| (a, b.skip_binder())));
+ let (a, b) = self
+ .infcx
+ .instantiate_binder_with_placeholders(a.map_bound(|a| (a, b.skip_binder())));
self.relate(a, b)?;
Ok(a)
Ok(a)
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/library/std/src/os/hermit/io/net.rs" "/checkout/library/std/src/os/hermit/mod.rs" "/checkout/library/std/src/os/hermit/ffi.rs" "/checkout/compiler/rustc_infer/src/infer/relate/nll.rs" "/checkout/compiler/rustc_infer/src/infer/relate/instantiate_unchecked.rs" "/checkout/compiler/rustc_infer/src/infer/relate/sub.rs" "/checkout/compiler/rustc_infer/src/infer/relate/mod.rs" "/checkout/library/std/src/os/hermit/io/mod.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
local time: Mon Jan 29 13:10:43 UTC 2024
network time: Mon, 29 Jan 2024 13:10:43 GMT
##[error]Process completed with exit code 1.
Post job cleanup.
Some changes occurred to the core trait solver
cc @rust-lang/initiative-trait-system-refactor
Type relation code was changed
cc @compiler-errors, @lcnr
r? @BoxyUwU
:umbrella: The latest upstream changes (presumably #120715) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #120544) made this pull request unmergeable. Please resolve the merge conflicts.
blocking this on #120549, It needs alias relate to not use structurally relate for the outermost alias which is hard to implement as long as we still handle opaque types there as well
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:027385cf7a02326d9f0a58d2c27dcbf5567f3ae5dd3004c4942a78e000b6eb0e done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.0s
##[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-16]
##[group]Clock drift check
local time: Tue Feb 13 07:28:55 UTC 2024
network time: Tue, 13 Feb 2024 07:28:55 GMT
network time: Tue, 13 Feb 2024 07:28:55 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
---
......................................i................................................. 5544/16149
........................................................................................ 5632/16149
.......F................................................................................ 5720/16149
........................................................................................ 5808/16149
.....................F............................F..................................... 5896/16149
.......................................FF............................................... 5984/16149
........................................................................................ 6160/16149
........................................................................................ 6248/16149
........................................................................................ 6336/16149
........................................................................................ 6424/16149
---
........................................................................................ 14256/16149
........................................................................................ 14344/16149
........................................................................................ 14432/16149
........................................................................................ 14520/16149
...................................F.................................................... 14608/16149
......................F..............F..............i.........F................F........ 14696/16149
........................................................................................ 14872/16149
........................................................................................ 14960/16149
........................................................................................ 15048/16149
...........F............................................................................ 15136/16149
---
---- [ui] tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.next/auxiliary" "-Znext-solver" "--edition=2021"
--- stderr -------------------------------
warning: the feature `return_type_notation` is incomplete and may not be safe to use and/or cause compiler crashes
##[warning] --> /checkout/tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.rs:6:12
|
|
LL | #![feature(return_type_notation)]
| ^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109417 <https://github.com/rust-lang/rust/issues/109417> for more information
= note: `#[warn(incomplete_features)]` on by default
error[E0275]: overflow evaluating the requirement `impl Future<Output = ()> <: impl Future<Output = ()> { <Bar as Foo>::bar() }`
|
LL | async fn bar(&self) {}
| ^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalizing_self_auto_trait_issue_109924`)
note: the requirement `impl Future<Output = ()> <: impl Future<Output = ()> { <Bar as Foo>::bar() }` appears on the `impl`'s method `bar` but not on the corresponding trait's method
|
LL | trait Foo {
| --- in this trait
LL | async fn bar(&self);
LL | async fn bar(&self);
| ^^^ this trait's method doesn't have the requirement `impl Future<Output = ()> <: impl Future<Output = ()> { <Bar as Foo>::bar() }`
error[E0275]: overflow evaluating the requirement `impl Future<Output = ()> { <Bar as Foo>::bar() } == _`
|
LL | async fn bar(&self);
| ^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalizing_self_auto_trait_issue_109924`)
error[E0275]: overflow evaluating the requirement `impl Future<Output = ()> == _`
|
LL | async fn bar(&self) {}
| ^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalizing_self_auto_trait_issue_109924`)
error[E0275]: overflow evaluating the requirement `impl Future<Output = ()> { <Self as Foo>::bar() } == _`
|
LL | async fn bar(&self);
| ^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalizing_self_auto_trait_issue_109924`)
error[E0275]: overflow evaluating the requirement `impl Future<Output = ()> { <Self as Foo>::bar() } == _`
|
LL | async fn bar(&self);
| ^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalizing_self_auto_trait_issue_109924`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 5 previous errors; 1 warning emitted
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/for/issue-20605.rs#next stdout ----
diff of stderr:
20 LL | for item in *things { *item = 0 }
22
22
- error[E0277]: `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter` is not an iterator
+ error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
25 |
25 |
26 LL | for item in *things { *item = 0 }
- | ^^^^^^^ `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter` is not an iterator
28 |
28 |
- = help: the trait `Iterator` is not implemented for `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter`
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
30
- error: the type `&mut <dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter` is not well-formed
+ error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
33 |
33 |
34 LL | for item in *things { *item = 0 }
35 | ^^^^^^^
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
36
- error: the type `Option<<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item>` is not well-formed
+ error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
39 |
39 |
40 LL | for item in *things { *item = 0 }
41 | ^^^^^^^
-
-
- error[E0277]: the size for values of type `<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item` cannot be known at compilation time
45 |
45 |
- LL | for item in *things { *item = 0 }
- |
- |
- = help: the trait `Sized` is not implemented for `<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item`
- note: required by a bound in `None`
- --> $SRC_DIR/core/src/option.rs:LL:COL
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
52
- error[E0277]: the size for values of type `<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item` cannot be known at compilation time
- --> $DIR/issue-20605.rs:5:9
+ error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
55 |
55 |
56 LL | for item in *things { *item = 0 }
+ | ^^^^^^^
58 |
58 |
- = help: the trait `Sized` is not implemented for `<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item`
- = help: unsized locals are gated as an unstable feature
- = help: unsized locals are gated as an unstable feature
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
62
- error[E0614]: type `<<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter as Iterator>::Item` cannot be dereferenced
- |
- |
- LL | for item in *things { *item = 0 }
+ error: aborting due to 7 previous errors
68
- error: aborting due to 9 previous errors
-
---
To only update this specific test, also pass `--test-args for/issue-20605.rs`
error in revision `next`: 1 errors occurred comparing output.
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/for/issue-20605.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/for/issue-20605.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/for/issue-20605.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Iterator<Item = &'a mut u8>: IntoIterator` is not satisfied
##[error] --> /checkout/tests/ui/for/issue-20605.rs:5:17
|
|
LL | for item in *things { *item = 0 }
| ^^^^^^^ the trait `IntoIterator` is not implemented for `dyn Iterator<Item = &'a mut u8>`
error[E0277]: the size for values of type `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter` cannot be known at compilation time
|
|
LL | for item in *things { *item = 0 }
|
|
= help: the trait `Sized` is not implemented for `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter`
= help: unsized locals are gated as an unstable feature
error: the type `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter` is not well-formed
|
|
LL | for item in *things { *item = 0 }
error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
|
|
LL | for item in *things { *item = 0 }
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
|
|
LL | for item in *things { *item = 0 }
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
|
|
LL | for item in *things { *item = 0 }
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0275]: overflow evaluating the requirement `<dyn Iterator<Item = &'a mut u8> as IntoIterator>::IntoIter == _`
|
|
LL | for item in *things { *item = 0 }
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20605`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0275, E0277.
For more information about an error, try `rustc --explain E0275`.
For more information about an error, try `rustc --explain E0275`.
------------------------------------------
---- [ui] tests/ui/generic-associated-types/issue-102114.rs#next stdout ----
diff of stderr:
7 LL | type B<T> = Wrapper<T>;
8 | ^ found 1 type parameter
- error: aborting due to 1 previous error
- error: aborting due to 1 previous error
+ error[E0275]: overflow evaluating the requirement `<Self as A>::B<'static> == _`
+ |
+ |
+ LL | fn a() -> Self::B<'static>;
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_102114`)
- For more information about this error, try `rustc --explain E0049`.
+ error: aborting due to 2 previous errors
+
+ Some errors have detailed explanations: E0049, E0275.
---
To only update this specific test, also pass `--test-args generic-associated-types/issue-102114.rs`
error in revision `next`: 1 errors occurred comparing output.
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/generic-associated-types/issue-102114.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/generic-associated-types/issue-102114.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generic-associated-types/issue-102114.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
error[E0049]: type `B` has 1 type parameter but its trait declaration has 0 type parameters
##[error] --> /checkout/tests/ui/generic-associated-types/issue-102114.rs:14:12
|
|
LL | type B<'b>;
| -- expected 0 type parameters
...
LL | type B<T> = Wrapper<T>;
| ^ found 1 type parameter
error[E0275]: overflow evaluating the requirement `<Self as A>::B<'static> == _`
|
|
LL | fn a() -> Self::B<'static>;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_102114`)
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0049, E0275.
For more information about an error, try `rustc --explain E0049`.
For more information about an error, try `rustc --explain E0049`.
------------------------------------------
---- [ui] tests/ui/higher-ranked/trait-bounds/future.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/higher-ranked/trait-bounds/future.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/higher-ranked/trait-bounds/future.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/higher-ranked/trait-bounds/future.next/auxiliary" "--edition=2021" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `impl Future<Output = usize> == _`
|
|
LL | async fn strlen(x: &str) -> usize {
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`future`)
error: aborting due to 1 previous error
---
---- [ui] tests/ui/impl-trait/autoderef.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/impl-trait/autoderef.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/impl-trait/autoderef.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/autoderef.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `impl Deref<Target = Path> + '_ == _`
|
|
LL | fn frob(path: &str) -> impl Deref<Target = Path> + '_ {
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`autoderef`)
error: aborting due to 1 previous error
---
---- [ui] tests/ui/impl-trait/erased-regions-in-hidden-ty.rs#next stdout ----
diff of stderr:
- error: {foo<ReEarlyParam(DefId(..), 0, 'a)>::{closure#0} closure_kind_ty=i8 closure_sig_as_fn_ptr_ty=extern "rust-call" fn(()) upvar_tys=()}
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), [ReEarlyParam(DefId(..), 0, 'a)]) == ?0t`
3 |
3 |
4 LL | fn foo<'a: 'a>(x: &'a Vec<i32>) -> impl Fn() + 'static {
5 | ^^^^^^^^^^^^^^^^^^^
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
6
- error: Opaque(DefId(..), [ReErased])
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []) == Opaque(DefId(..), [])`
+ |
+ |
+ LL | fn bar() -> impl Fn() + 'static {
+ LL | |
+ LL | |
+ LL | | // Can't write whole type because of lack of path sanitization
+ LL | | foo(&vec![])
+ LL | | }
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []) == Opaque(DefId(..), [])`
+ |
+ |
+ LL | foo(&vec![])
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []): Sized`
9 |
10 LL | fn bar() -> impl Fn() + 'static {
11 | ^^^^^^^^^^^^^^^^^^^
11 | ^^^^^^^^^^^^^^^^^^^
+ ...
+ LL | foo(&vec![])
+ | ------------ this returned value is of type `Opaque(DefId(..), ['?0])`
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
12
- error: aborting due to 2 previous errors
- error: aborting due to 2 previous errors
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []) == ?7t`
+ |
+ |
+ LL | fn bar() -> impl Fn() + 'static {
+ LL | |
+ LL | |
+ LL | | // Can't write whole type because of lack of path sanitization
+ LL | | foo(&vec![])
+ LL | | }
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
14
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []) == ?8t`
+ |
+ |
+ LL | fn bar() -> impl Fn() + 'static {
+ LL | |
+ LL | |
+ LL | | // Can't write whole type because of lack of path sanitization
+ LL | | foo(&vec![])
+ LL | | }
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), ['?0]) == ?9t`
+ |
+ |
+ LL | foo(&vec![])
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), []) == ?10t`
+ |
+ |
+ LL | fn bar() -> impl Fn() + 'static {
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+
+ error[E0275]: overflow evaluating the requirement `Opaque(DefId(..), ['?0]) == ?11t`
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
+ error: aborting due to 9 previous errors
+
+ For more information about this error, try `rustc --explain E0275`.
15
15
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/erased-regions-in-hidden-ty.next/erased-regions-in-hidden-ty.next.stderr
To only update this specific test, also pass `--test-args impl-trait/erased-regions-in-hidden-ty.rs`
error in revision `next`: 1 errors occurred comparing output.
status: exit status: 1
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/impl-trait/erased-regions-in-hidden-ty.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/impl-trait/erased-regions-in-hidden-ty.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/erased-regions-in-hidden-ty.next/auxiliary" "-Zverbose-internals" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:8 ~ erased_regions_in_hidden_ty[3f13]::foo::{opaque#0}), [ReEarlyParam(DefId(0:4 ~ erased_regions_in_hidden_ty[3f13]::foo::'a), 0, 'a)]) == ?0t`
|
|
LL | fn foo<'a: 'a>(x: &'a Vec<i32>) -> impl Fn() + 'static {
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []) == Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), [])`
|
LL | fn bar() -> impl Fn() + 'static {
| _________________________________^
| _________________________________^
LL | | //~^ ERROR , [ReErased])
LL | | // Can't write whole type because of lack of path sanitization
LL | | foo(&vec![])
| |_^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []) == Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), [])`
|
|
LL | foo(&vec![])
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []): Sized`
|
LL | fn bar() -> impl Fn() + 'static {
| ^^^^^^^^^^^^^^^^^^^
...
...
LL | foo(&vec![])
| ------------ this returned value is of type `Opaque(DefId(0:8 ~ erased_regions_in_hidden_ty[3f13]::foo::{opaque#0}), ['?0])`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []) == ?7t`
|
LL | fn bar() -> impl Fn() + 'static {
| _________________________________^
| _________________________________^
LL | | //~^ ERROR , [ReErased])
LL | | // Can't write whole type because of lack of path sanitization
LL | | foo(&vec![])
| |_^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []) == ?8t`
|
LL | fn bar() -> impl Fn() + 'static {
| _________________________________^
| _________________________________^
LL | | //~^ ERROR , [ReErased])
LL | | // Can't write whole type because of lack of path sanitization
LL | | foo(&vec![])
| |_^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:8 ~ erased_regions_in_hidden_ty[3f13]::foo::{opaque#0}), ['?0]) == ?9t`
|
|
LL | foo(&vec![])
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:9 ~ erased_regions_in_hidden_ty[3f13]::bar::{opaque#0}), []) == ?10t`
|
LL | fn bar() -> impl Fn() + 'static {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error[E0275]: overflow evaluating the requirement `Opaque(DefId(0:8 ~ erased_regions_in_hidden_ty[3f13]::foo::{opaque#0}), ['?0]) == ?11t`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`erased_regions_in_hidden_ty`)
error: aborting due to 9 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/impl-trait/in-trait/object-safety-sized.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/impl-trait/in-trait/object-safety-sized.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/impl-trait/in-trait/object-safety-sized.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/in-trait/object-safety-sized.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `impl OtherTrait == _`
|
|
LL | fn fn_1(&self) -> impl OtherTrait
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`object_safety_sized`)
error[E0275]: overflow evaluating the requirement `impl OtherTrait == _`
|
|
LL | fn fn_1(&self) -> impl OtherTrait
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`object_safety_sized`)
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`object_safety_sized`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/impl-trait/in-trait/opaque-variances.rs stdout ----
error: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/impl-trait/in-trait/opaque-variances.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/impl-trait/in-trait/opaque-variances" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/impl-trait/in-trait/opaque-variances/auxiliary" "-Znext-solver"
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `impl Sized == _`
##[error] --> /checkout/tests/ui/impl-trait/in-trait/opaque-variances.rs:4:36
|
|
LL | fn foo<'a: 'a>(x: &'a Vec<i32>) -> impl Sized {
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`opaque_variances`)
error: aborting due to 1 previous error
---
---- [ui] tests/ui/traits/next-solver/alias-eq-in-canonical-response.rs stdout ----
error: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/alias-eq-in-canonical-response.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/alias-eq-in-canonical-response" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/alias-eq-in-canonical-response/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<Option<T> as Foo>::Gat<'a>: Sized`
|
|
LL | type Gat<'a> = Option<<T as Foo>::Gat<'a>> where Self: 'a;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`alias_eq_in_canonical_response`)
note: required by a bound in `Foo::Gat`
|
|
LL | / type Gat<'a>
LL | | Self: 'a;
LL | | Self: 'a;
| |_________________^ required by this bound in `Foo::Gat`
help: consider relaxing the implicit `Sized` restriction
|
LL | type Gat: ?Sized<'a>
error[E0275]: overflow evaluating the requirement `<Option<T> as Foo>::Gat<'_> <: <Option<T> as Foo>::Gat<'_>`
|
LL | fn bar(&self) -> Self::Gat<'_> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`alias_eq_in_canonical_response`)
note: the requirement `<Option<T> as Foo>::Gat<'_> <: <Option<T> as Foo>::Gat<'_>` appears on the `impl`'s method `bar` but not on the corresponding trait's method
|
LL | trait Foo {
| --- in this trait
...
...
LL | fn bar(&self) -> Self::Gat<'_>;
| ^^^ this trait's method doesn't have the requirement `<Option<T> as Foo>::Gat<'_> <: <Option<T> as Foo>::Gat<'_>`
error[E0275]: overflow evaluating the requirement `<Option<T> as Foo>::Gat<'_> == _`
|
LL | fn bar(&self) -> Self::Gat<'_> {
| ^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`alias_eq_in_canonical_response`)
error[E0275]: overflow evaluating the requirement `<Self as Foo>::Gat<'_> == _`
|
LL | fn bar(&self) -> Self::Gat<'_>;
| ^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`alias_eq_in_canonical_response`)
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/traits/next-solver/env-shadows-impls/discard-impls-shadowed-by-env-3.rs stdout ----
error: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/env-shadows-impls/discard-impls-shadowed-by-env-3.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/env-shadows-impls/discard-impls-shadowed-by-env-3" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/env-shadows-impls/discard-impls-shadowed-by-env-3/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<T as Trait<'a>>::Assoc == _`
|
|
LL | fn foo<'a, T: Trait<'a>>(_: T::Assoc) {}
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`discard_impls_shadowed_by_env_3`)
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/traits/next-solver/generalize/instantiate-canonical-occurs-check-failure.rs stdout ----
error: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/generalize/instantiate-canonical-occurs-check-failure.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/generalize/instantiate-canonical-occurs-check-failure" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/generalize/instantiate-canonical-occurs-check-failure/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<T as Trait<'a>>::Assoc == _`
##[error] --> /checkout/tests/ui/traits/next-solver/generalize/instantiate-canonical-occurs-check-failure.rs:18:37
|
LL | fn takes_alias<'a, T: Trait<'a>>(_: <T as Trait<'a>>::Assoc) {}
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`instantiate_canonical_occurs_check_failure`)
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/traits/next-solver/normalize-region-obligations.rs#hrtb stdout ----
error in revision `hrtb`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/normalize-region-obligations.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "hrtb" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/normalize-region-obligations.hrtb" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/normalize-region-obligations.hrtb/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error: cannot normalize `for<'a> <Self as MirrorRegion<'a>>::Assoc: 'b`
error: aborting due to 1 previous error
------------------------------------------
---- [ui] tests/ui/traits/next-solver/object-unsafety.rs stdout ----
diff of stderr:
55 LL | pub fn copy_any<T>(t: &T) -> T where <dyn Setup<From = T> as Setup>::From: Sized {
57
- error: aborting due to 5 previous errors
- error: aborting due to 5 previous errors
+ error[E0275]: overflow evaluating the requirement `<dyn Setup<From = T> as Setup>::From == _`
+ |
+ |
+ LL | copy::<dyn Setup<From=T>>(t)
+ |
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`object_unsafety`)
- Some errors have detailed explanations: E0277, E0308.
- For more information about an error, try `rustc --explain E0277`.
+ error: aborting due to 6 previous errors
+
---
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/next-solver/object-unsafety.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/object-unsafety" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/next-solver/object-unsafety/auxiliary" "-Znext-solver"
stdout: none
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Setup<From = T>: Setup` is not satisfied
|
|
LL | copy::<dyn Setup<From=T>>(t)
| ^^^^^^^^^^^^^^^^^ the trait `Setup` is not implemented for `dyn Setup<From = T>`
note: required by a bound in `copy`
--> /checkout/tests/ui/traits/next-solver/object-unsafety.rs:7:12
|
|
LL | fn copy<U: Setup + ?Sized>(from: &U::From) -> U::From {
| ^^^^^ required by this bound in `copy`
help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
|
LL | pub fn copy_any<T>(t: &T) -> T where dyn Setup<From = T>: Setup {
error: the type `&<dyn Setup<From = T> as Setup>::From` is not well-formed
|
|
LL | copy::<dyn Setup<From=T>>(t)
error[E0308]: mismatched types
##[error] --> /checkout/tests/ui/traits/next-solver/object-unsafety.rs:12:31
|
|
LL | copy::<dyn Setup<From=T>>(t)
| ------------------------- ^ types differ
| arguments to this function are incorrect
|
|
= note: expected reference `&<dyn Setup<From = T> as Setup>::From`
found reference `&T`
--> /checkout/tests/ui/traits/next-solver/object-unsafety.rs:7:4
|
|
LL | fn copy<U: Setup + ?Sized>(from: &U::From) -> U::From {
error: the type `<dyn Setup<From = T> as Setup>::From` is not well-formed
|
|
LL | copy::<dyn Setup<From=T>>(t)
error[E0277]: the size for values of type `<dyn Setup<From = T> as Setup>::From` cannot be known at compilation time
|
|
LL | copy::<dyn Setup<From=T>>(t)
|
|
= help: the trait `Sized` is not implemented for `<dyn Setup<From = T> as Setup>::From`
help: consider further restricting the associated type
|
|
LL | pub fn copy_any<T>(t: &T) -> T where <dyn Setup<From = T> as Setup>::From: Sized {
error[E0275]: overflow evaluating the requirement `<dyn Setup<From = T> as Setup>::From == _`
|
|
LL | copy::<dyn Setup<From=T>>(t)
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`object_unsafety`)
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0275, E0277, E0308.
For more information about an error, try `rustc --explain E0275`.
For more information about an error, try `rustc --explain E0275`.
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/assoc-type-const.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/assoc-type-const.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/assoc-type-const.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/assoc-type-const.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter: Sized`
|
|
LL | type Iter = impl MyTrait<'a, C>;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
note: required by a bound in `UnwrapItemsExt::Iter`
|
LL | type Iter;
| ^^^^^^^^^^ required by this bound in `UnwrapItemsExt::Iter`
| ^^^^^^^^^^ required by this bound in `UnwrapItemsExt::Iter`
help: consider relaxing the implicit `Sized` restriction
|
LL | type Iter: ?Sized;
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter == MyStruct<C>`
|
|
LL | MyStruct::<C> {}
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter == MyStruct<C>`
|
|
LL | MyStruct::<C> {}
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0275]: overflow evaluating the requirement `MyStruct<C> <: <I as UnwrapItemsExt<'a, C>>::Iter`
|
LL | fn unwrap_items(self) -> Self::Iter {
| _________________________________________^
| _________________________________________^
LL | | MyStruct::<C> {}
| |_____^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter: Sized`
|
LL | fn unwrap_items(self) -> Self::Iter {
| ^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter == _`
|
LL | fn unwrap_items(self) -> Self::Iter {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error[E0275]: overflow evaluating the requirement `<I as UnwrapItemsExt<'a, C>>::Iter == _`
|
LL | fn unwrap_items(self) -> Self::Iter {
| ^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error[E0275]: overflow evaluating the requirement `<Self as UnwrapItemsExt<'a, C>>::Iter == _`
|
|
LL | fn unwrap_items(self) -> Self::Iter;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`assoc_type_const`)
error: aborting due to 8 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/issue-78450.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/issue-78450.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/issue-78450.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/issue-78450.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait: Sized`
|
LL | type ImplTrait = impl core::fmt::Debug;
| ^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
note: required by a bound in `AssociatedImpl::ImplTrait`
|
LL | type ImplTrait;
| ^^^^^^^^^^^^^^^ required by this bound in `AssociatedImpl::ImplTrait`
| ^^^^^^^^^^^^^^^ required by this bound in `AssociatedImpl::ImplTrait`
help: consider relaxing the implicit `Sized` restriction
|
LL | type ImplTrait: ?Sized;
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait == ()`
|
LL | ()
| ^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait == ()`
|
LL | ()
| ^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0275]: overflow evaluating the requirement `() <: <S<T> as AssociatedImpl>::ImplTrait`
|
LL | fn f() -> Self::ImplTrait {
| _______________________________^
LL | | ()
LL | | ()
LL | | }
| |_____^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait: Sized`
|
LL | fn f() -> Self::ImplTrait {
| ^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait == _`
|
LL | fn f() -> Self::ImplTrait {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
error[E0275]: overflow evaluating the requirement `<S<T> as AssociatedImpl>::ImplTrait == _`
|
LL | fn f() -> Self::ImplTrait {
| ^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_78450`)
error: aborting due to 7 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/normalize-hidden-types.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/normalize-hidden-types.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/normalize-hidden-types.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/normalize-hidden-types.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `for<'a> <T as Trait>::Gat<'a> == _`
|
|
LL | fn dyn_hoops<T: Trait>(_: T) -> *const dyn FnOnce(T::Gat<'_>) {
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`normalize_hidden_types`)
error: aborting due to 1 previous error
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/wf-in-associated-type.rs#pass_next stdout ----
error in revision `pass_next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/wf-in-associated-type.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "pass_next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/wf-in-associated-type.pass_next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/wf-in-associated-type.pass_next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1: Sized`
|
LL | type Opaque1 = impl IntoIterator<Item = impl Sized + 'a>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
note: required by a bound in `Trait::Opaque1`
|
LL | type Opaque1;
| ^^^^^^^^^^^^^ required by this bound in `Trait::Opaque1`
| ^^^^^^^^^^^^^ required by this bound in `Trait::Opaque1`
help: consider relaxing the implicit `Sized` restriction
|
LL | type Opaque1: ?Sized;
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1 == [&T; 1]`
|
LL | [req]
| ^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1 == [&T; 1]`
|
LL | [req]
| ^^^^^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0275]: overflow evaluating the requirement `[&T; 1] <: <() as Trait<&'a T>>::Opaque1`
|
|
LL | fn constrain_opaque1(req: &'a T) -> Self::Opaque1 {
LL | | [req]
LL | | }
| |_________^
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1: Sized`
|
|
LL | fn constrain_opaque1(req: &'a T) -> Self::Opaque1 {
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1 == _`
|
|
LL | fn constrain_opaque1(req: &'a T) -> Self::Opaque1 {
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
error[E0275]: overflow evaluating the requirement `<() as Trait<&'a T>>::Opaque1 == _`
|
|
LL | fn constrain_opaque1(req: &'a T) -> Self::Opaque1 {
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wf_in_associated_type`)
error: aborting due to 7 previous errors
For more information about this error, try `rustc --explain E0275`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/typeck/issue-116864.rs stdout ----
error: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/typeck/issue-116864.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--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/x86_64-unknown-linux-gnu/test/ui/typeck/issue-116864" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/typeck/issue-116864/auxiliary" "-Znext-solver" "--edition=2021"
--- stderr -------------------------------
error[E0282]: type annotations needed
##[error] --> /checkout/tests/ui/typeck/issue-116864.rs:27:5
|
|
LL | cb(&1i32).await;
error[E0275]: overflow evaluating the requirement `<impl for<'any> FnMutFut<&'any BAZ::Param, ()> as FnOnce<(&<BAZ as Baz>::Param,)>>::Output == _`
|
|
LL | cb(&1i32).await;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_116864`)
error[E0275]: overflow evaluating the requirement `<impl for<'any> FnMutFut<&'any BAZ::Param, ()> as FnOnce<(&<BAZ as Baz>::Param,)>>::Output == {type error}`
|
|
LL | cb(&1i32).await;
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_116864`)
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0275, E0282.
For more information about an error, try `rustc --explain E0275`.
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:74c0d9c388e7bea87c03fa99e7ba1fb75460c288d87ec859a8ccad7ff0d19b51 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.1s
##[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-16]
##[group]Clock drift check
local time: Tue Feb 13 21:51:47 UTC 2024
network time: Tue, 13 Feb 2024 21:51:47 GMT
network time: Tue, 13 Feb 2024 21:51:47 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
---
........................................................................................ 14256/16153
........................................................................................ 14344/16153
........................................................................................ 14432/16153
........................................................................................ 14520/16153
........................................................F................F.............. 14608/16153
.............................F.........F....FF........iF.F.......F.F..F....F............ 14696/16153
...........F............................................................................ 14784/16153
........................................................................................ 14960/16153
........................................................................................ 15048/16153
...............F........................................................................ 15136/16153
........................................................................................ 15224/16153
........................................................................................ 15224/16153
..........F...........................................F................................. 15312/16153
............................F........................................................... 15400/16153
.............................................................................F.......... 15488/16153
........................................................................................ 15664/16153
........................................................................................ 15752/16153
........................................................................................ 15840/16153
........................................................................................ 15928/16153
---
---- [ui] tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 101
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.next/auxiliary" "-Znext-solver" "--edition=2021"
--- stderr -------------------------------
warning: the feature `return_type_notation` is incomplete and may not be safe to use and/or cause compiler crashes
##[warning] --> /checkout/tests/ui/async-await/return-type-notation/normalizing-self-auto-trait-issue-109924.rs:6:12
Build completed unsuccessfully in 0:14:06
---
= note: see issue #109417 <https://github.com/rust-lang/rust/issues/109417> for more information
= note: `#[warn(incomplete_features)]` on by default
thread 'rustc' panicked at compiler/rustc_trait_selection/src/traits/outlives_bounds.rs:70:5:
assertion failed: !ty.has_non_region_infer()
stack backtrace:
0: 0x7f487271a059 - <std[65fef5292116e294]::sys_common::backtrace::_print::DisplayBacktrace as core[87717cd39fdc36e0]::fmt::Display>::fmt
1: 0x7f4872778d3b - core[87717cd39fdc36e0]::fmt::write
2: 0x7f487270e0d5 - <std[65fef5292116e294]::sys::pal::unix::stdio::Stderr as std[65fef5292116e294]::io::Write>::write_fmt
3: 0x7f4872719e35 - std[65fef5292116e294]::sys_common::backtrace::print
4: 0x7f487271d15a - std[65fef5292116e294]::panicking::default_hook::{closure#1}
5: 0x7f487271cf45 - std[65fef5292116e294]::panicking::default_hook
6: 0x7f487348c40c - <alloc[430440d2d318c0c5]::boxed::Box<rustc_driver_impl[baed9ceaea21d465]::install_ice_hook::{closure#0}> as core[87717cd39fdc36e0]::ops::function::Fn<(&dyn for<'a, 'b> core[87717cd39fdc36e0]::ops::function::Fn<(&'a core[87717cd39fdc36e0]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[87717cd39fdc36e0]::marker::Send + core[87717cd39fdc36e0]::marker::Sync, &core[87717cd39fdc36e0]::panic::panic_info::PanicInfo)>>::call
7: 0x7f487271d9f8 - std[65fef5292116e294]::panicking::rust_panic_with_hook
8: 0x7f487271d6a9 - std[65fef5292116e294]::panicking::begin_panic_handler::{closure#0}
9: 0x7f487271a5e6 - std[65fef5292116e294]::sys_common::backtrace::__rust_end_short_backtrace::<std[65fef5292116e294]::panicking::begin_panic_handler::{closure#0}, !>
11: 0x7f48726d0895 - core[87717cd39fdc36e0]::panicking::panic_fmt
12: 0x7f48726d0953 - core[87717cd39fdc36e0]::panicking::panic
13: 0x7f48757d6aa6 - rustc_trait_selection[7ae29feb3161601]::traits::outlives_bounds::implied_outlives_bounds
13: 0x7f48757d6aa6 - rustc_trait_selection[7ae29feb3161601]::traits::outlives_bounds::implied_outlives_bounds
14: 0x7f4873ee201f - <&mut <rustc_infer[1c78d54952f52d93]::infer::InferCtxt as rustc_trait_selection[7ae29feb3161601]::traits::outlives_bounds::InferCtxtExt>::implied_bounds_tys_compat::{closure#0} as core[87717cd39fdc36e0]::ops::function::FnOnce<(&rustc_middle[a26353db1705586b]::ty::Ty,)>>::call_once
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# 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 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.669 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.681 Collecting boolean-py==4.0
#11 0.684 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.696 Collecting chardet==5.1.0
---
#11 3.698 Building wheels for collected packages: reuse
#11 3.698 Building wheel for reuse (pyproject.toml): started
#11 4.025 Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 4.025 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 4.026 Stored in directory: /tmp/pip-ephem-wheel-cache-h3jnq04q/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 4.028 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 4.050 Attempting uninstall: setuptools
#11 4.051 Found existing installation: setuptools 59.6.0
#11 4.052 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.052 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.052 Can't uninstall 'setuptools'. No files were found to uninstall.
#11 4.730 Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
#11 4.730 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
#11 5.239 Collecting virtualenv
#11 5.280 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.336 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 70.7 MB/s eta 0:00:00
#11 5.394 Collecting platformdirs<5,>=3.9.1
#11 5.398 Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.441 Collecting filelock<4,>=3.12.2
#11 5.444 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.461 Collecting distlib<1,>=0.3.7
#11 5.466 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.473 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 109.4 MB/s eta 0:00:00
#11 5.559 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.725 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 5.8s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 192448 kB
DirectMap2M: 7147520 kB
DirectMap1G: 11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/a84bb95a1f65bfe25038f188763a18e096a86ab2/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-a84bb95a1f65bfe25038f188763a18e096a86ab2-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
Finished release [optimized] target(s) in 24.87s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/mod.rs at line 4:
use rustc_infer::infer::canonical::CanonicalVarValues;
use rustc_infer::infer::type_variable::{TypeVariableOrigin, TypeVariableOriginKind};
use rustc_infer::infer::{
- BoundRegionConversionTime, DefineOpaqueTypes, InferCtxt, InferOk, StructurallyRelateAliases, TyCtxtInferExt
+ BoundRegionConversionTime, DefineOpaqueTypes, InferCtxt, InferOk, StructurallyRelateAliases,
+ TyCtxtInferExt,
use rustc_infer::traits::query::NoSolution;
use rustc_infer::traits::ObligationCause;
use rustc_infer::traits::ObligationCause;
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/commit_if_ok.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/canonical.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/probe.rs" "/checkout/compiler/rustc_trait_selection/src/solve/search_graph.rs" "/checkout/compiler/rustc_trait_selection/src/solve/mod.rs" "/checkout/compiler/rustc_trait_selection/src/solve/alias_relate.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/mod.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
local time: Tue Feb 13 22:48:54 UTC 2024
network time: Tue, 13 Feb 2024 22:48:54 GMT
##[error]Process completed with exit code 1.
Post job cleanup.
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# 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 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.670 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.682 Collecting boolean-py==4.0
#11 0.700 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.712 Collecting chardet==5.1.0
---
#11 3.918 Building wheels for collected packages: reuse
#11 3.919 Building wheel for reuse (pyproject.toml): started
#11 4.267 Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 4.268 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 4.268 Stored in directory: /tmp/pip-ephem-wheel-cache-u626g90b/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 4.271 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 4.294 Attempting uninstall: setuptools
#11 4.295 Found existing installation: setuptools 59.6.0
#11 4.296 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.296 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.296 Can't uninstall 'setuptools'. No files were found to uninstall.
#11 5.021 Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
#11 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
#11 5.568 Collecting virtualenv
#11 5.608 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.720 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 34.6 MB/s eta 0:00:00
#11 5.768 Collecting platformdirs<5,>=3.9.1
#11 5.773 Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.793 Collecting distlib<1,>=0.3.7
#11 5.797 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.836 Collecting filelock<4,>=3.12.2
#11 5.840 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.840 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.928 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 6.097 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 6.2s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 192448 kB
DirectMap2M: 8196096 kB
DirectMap1G: 10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/a84bb95a1f65bfe25038f188763a18e096a86ab2/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-a84bb95a1f65bfe25038f188763a18e096a86ab2-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
Finished release [optimized] target(s) in 25.18s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/mod.rs at line 4:
use rustc_infer::infer::canonical::CanonicalVarValues;
use rustc_infer::infer::type_variable::{TypeVariableOrigin, TypeVariableOriginKind};
use rustc_infer::infer::{
- BoundRegionConversionTime, DefineOpaqueTypes, InferCtxt, InferOk, StructurallyRelateAliases, TyCtxtInferExt
+ BoundRegionConversionTime, DefineOpaqueTypes, InferCtxt, InferOk, StructurallyRelateAliases,
+ TyCtxtInferExt,
use rustc_infer::traits::query::NoSolution;
use rustc_infer::traits::ObligationCause;
use rustc_infer::traits::ObligationCause;
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/commit_if_ok.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/canonical.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/probe.rs" "/checkout/compiler/rustc_trait_selection/src/solve/search_graph.rs" "/checkout/compiler/rustc_trait_selection/src/solve/mod.rs" "/checkout/compiler/rustc_trait_selection/src/solve/alias_relate.rs" "/checkout/compiler/rustc_trait_selection/src/solve/eval_ctxt/mod.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
local time: Tue Feb 13 23:10:07 UTC 2024
network time: Tue, 13 Feb 2024 23:10:07 GMT
##[error]Process completed with exit code 1.
Post job cleanup.
:umbrella: The latest upstream changes (presumably #121055) made this pull request unmergeable. Please resolve the merge conflicts.
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:a23780189eb674c1a372a6f41cc9701a779e416fa31b07ba59c6d1ec35446826 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.1s
##[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-16]
##[group]Clock drift check
local time: Thu Feb 15 13:25:44 UTC 2024
network time: Thu, 15 Feb 2024 13:25:44 GMT
network time: Thu, 15 Feb 2024 13:25:44 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
---
---- [ui] tests/ui/type-alias-impl-trait/assoc-type-const.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/assoc-type-const.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/assoc-type-const.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/assoc-type-const.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0284]: type annotations needed: cannot satisfy `<I as UnwrapItemsExt<'a, C>>::Iter == MyStruct<C>`
|
|
LL | MyStruct::<C> {}
| ^^^^^^^^^^^^^^^^ cannot satisfy `<I as UnwrapItemsExt<'a, C>>::Iter == MyStruct<C>`
error: aborting due to 1 previous error
Build completed unsuccessfully in 0:14:17
For more information about this error, try `rustc --explain E0284`.
For more information about this error, try `rustc --explain E0284`.
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/issue-78450.rs#next stdout ----
error in revision `next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/issue-78450.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/issue-78450.next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/issue-78450.next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0284]: type annotations needed: cannot satisfy `<S<T> as AssociatedImpl>::ImplTrait == ()`
|
LL | ()
LL | ()
| ^^ cannot satisfy `<S<T> as AssociatedImpl>::ImplTrait == ()`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0284`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/type-alias-impl-trait/wf-in-associated-type.rs#pass_next stdout ----
error in revision `pass_next`: test compilation failed although it shouldn't!
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type-alias-impl-trait/wf-in-associated-type.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" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--cfg" "pass_next" "--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/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/wf-in-associated-type.pass_next" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type-alias-impl-trait/wf-in-associated-type.pass_next/auxiliary" "-Znext-solver"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0284]: type annotations needed: cannot satisfy `<() as Trait<&'a T>>::Opaque1 == [&T; 1]`
|
LL | [req]
LL | [req]
| ^^^^^ cannot satisfy `<() as Trait<&'a T>>::Opaque1 == [&T; 1]`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0284`.
------------------------------------------
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# 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 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.588 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.601 Collecting boolean-py==4.0
#11 0.605 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.618 Collecting chardet==5.1.0
---
#11 3.745 Building wheels for collected packages: reuse
#11 3.746 Building wheel for reuse (pyproject.toml): started
#11 4.088 Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 4.089 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 4.089 Stored in directory: /tmp/pip-ephem-wheel-cache-vb6h52an/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 4.092 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 4.116 Attempting uninstall: setuptools
#11 4.117 Found existing installation: setuptools 59.6.0
#11 4.118 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.118 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.118 Can't uninstall 'setuptools'. No files were found to uninstall.
#11 4.830 Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
#11 4.831 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
#11 5.388 Collecting virtualenv
#11 5.427 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.483 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 69.3 MB/s eta 0:00:00
#11 5.533 Collecting platformdirs<5,>=3.9.1
#11 5.537 Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.556 Collecting distlib<1,>=0.3.7
#11 5.560 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.609 Collecting filelock<4,>=3.12.2
#11 5.613 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.613 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.700 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.869 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 6.0s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 184256 kB
DirectMap2M: 7155712 kB
DirectMap1G: 11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
Finished release [optimized] target(s) in 26.48s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/anon_const.rs at line 1:
-use crate::solve::{EvalCtxt};
-use rustc_middle::traits::solve::{
- Certainty, Goal, QueryResult,
+use crate::solve::EvalCtxt;
+use crate::solve::EvalCtxt;
+use rustc_middle::traits::solve::{Certainty, Goal, QueryResult};
use rustc_middle::ty;
impl<'tcx> EvalCtxt<'_, 'tcx> {
impl<'tcx> EvalCtxt<'_, 'tcx> {
##[error]Diff in /checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/anon_const.rs at line 25:
}
}
+
+
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/anon_const.rs" "/checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/weak_types.rs" "/checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/opaques.rs" "/checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/inherent.rs" "/checkout/compiler/rustc_trait_selection/src/infer.rs" "/checkout/compiler/rustc_trait_selection/src/regions.rs" "/checkout/compiler/rustc_trait_selection/src/errors.rs" "/checkout/compiler/rustc_trait_selection/src/solve/normalizes_to/mod.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
local time: Thu Feb 15 18:25:16 UTC 2024
network time: Thu, 15 Feb 2024 18:25:16 GMT
##[error]Process completed with exit code 1.
Post job cleanup.
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# 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 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.600 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.612 Collecting boolean-py==4.0
#11 0.616 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.627 Collecting chardet==5.1.0
---
#11 3.720 Building wheels for collected packages: reuse
#11 3.721 Building wheel for reuse (pyproject.toml): started
#11 4.055 Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 4.056 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 4.056 Stored in directory: /tmp/pip-ephem-wheel-cache-oof_nke7/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 4.059 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 4.082 Attempting uninstall: setuptools
#11 4.083 Found existing installation: setuptools 59.6.0
#11 4.084 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
---
#11 5.322 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.378 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 70.5 MB/s eta 0:00:00
#11 5.426 Collecting filelock<4,>=3.12.2
#11 5.430 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.459 Collecting platformdirs<5,>=3.9.1
#11 5.463 Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.480 Collecting distlib<1,>=0.3.7
#11 5.484 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.490 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 113.7 MB/s eta 0:00:00
#11 5.575 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.742 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 5.8s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 182208 kB
DirectMap2M: 5060608 kB
DirectMap1G: 13631488 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
##[endgroup]
fmt check
tidy check
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_infer/src/infer/at.rs:312: 2-line comment block with odd number of backticks
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (23.3.1)
Collecting pip
Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.3.1
Uninstalling pip-23.3.1:
Uninstalling pip-23.3.1:
Successfully uninstalled pip-23.3.1
Successfully installed pip-24.0
Collecting black==23.3.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 7))
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 10.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 10.1 MB/s eta 0:00:00
Collecting click==8.1.3 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 34))
Downloading click-8.1.3-py3-none-any.whl (96 kB)
Collecting importlib-metadata==6.7.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 38))
Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting mypy-extensions==1.0.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 42))
Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting packaging==23.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 46))
Downloading packaging-23.1-py3-none-any.whl (48 kB)
Collecting pathspec==0.11.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 50))
Downloading pathspec-0.11.1-py3-none-any.whl (29 kB)
Downloading pathspec-0.11.1-py3-none-any.whl (29 kB)
Collecting platformdirs==3.6.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 54))
Downloading platformdirs-3.6.0-py3-none-any.whl (16 kB)
Collecting ruff==0.0.272 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 58))
Downloading ruff-0.0.272-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB)
Collecting tomli==2.0.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 77))
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting typed-ast==1.5.4 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 81))
Downloading typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877 kB)
Downloading typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 877.7/877.7 kB 92.0 MB/s eta 0:00:00
Collecting typing-extensions==4.6.3 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 107))
Downloading typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Collecting zipp==3.15.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 114))
Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Installing collected packages: zipp, typing-extensions, typed-ast, tomli, ruff, platformdirs, pathspec, packaging, mypy-extensions, click, importlib-metadata, black
Successfully installed black-23.3.0 click-8.1.3 importlib-metadata-6.7.0 mypy-extensions-1.0.0 packaging-23.1 pathspec-0.11.1 platformdirs-3.6.0 ruff-0.0.272 tomli-2.0.1 typed-ast-1.5.4 typing-extensions-4.6.3 zipp-3.15.0
some tidy checks failed
Build completed unsuccessfully in 0:01:05
local time: Thu Feb 15 18:42:31 UTC 2024
network time: Thu, 15 Feb 2024 18:42:31 GMT
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)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
&& pip3 install virtualenv
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.
# 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:lint
# 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 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s
#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt && pip3 install virtualenv
#11 0.717 Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.731 Collecting boolean-py==4.0
#11 0.735 Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.752 Collecting chardet==5.1.0
---
#11 3.806 Building wheels for collected packages: reuse
#11 3.807 Building wheel for reuse (pyproject.toml): started
#11 4.136 Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 4.137 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 4.137 Stored in directory: /tmp/pip-ephem-wheel-cache-1naiu8_r/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 4.139 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 4.161 Attempting uninstall: setuptools
#11 4.162 Found existing installation: setuptools 59.6.0
#11 4.163 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.163 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 4.163 Can't uninstall 'setuptools'. No files were found to uninstall.
#11 4.859 Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
#11 4.860 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
#11 5.380 Collecting virtualenv
#11 5.416 Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.466 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 78.9 MB/s eta 0:00:00
#11 5.507 Collecting distlib<1,>=0.3.7
#11 5.519 Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.557 Collecting filelock<4,>=3.12.2
#11 5.561 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.561 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.593 Collecting platformdirs<5,>=3.9.1
#11 5.596 Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.682 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.845 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 6.0s
#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k: 157632 kB
DirectMap2M: 8230912 kB
DirectMap1G: 10485760 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-62fb0db9a5a2a381f81ce0474c9bbd9ad385dd88-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
##[endgroup]
fmt check
tidy check
tidy: Skipping binary file check, read-only filesystem
##[error]tidy error: /checkout/compiler/rustc_infer/src/infer/at.rs:312: 2-line comment block with odd number of backticks
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.10'
Requirement already satisfied: pip in ./build/venv/lib/python3.10/site-packages (23.3.1)
Collecting pip
Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.3.1
Uninstalling pip-23.3.1:
Uninstalling pip-23.3.1:
Successfully uninstalled pip-23.3.1
Successfully installed pip-24.0
Collecting black==23.3.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 7))
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 11.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 11.3 MB/s eta 0:00:00
Collecting click==8.1.3 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 34))
Downloading click-8.1.3-py3-none-any.whl (96 kB)
Collecting importlib-metadata==6.7.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 38))
Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting mypy-extensions==1.0.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 42))
Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting packaging==23.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 46))
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 790.5 kB/s eta 0:00:00
Collecting pathspec==0.11.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 50))
Downloading pathspec-0.11.1-py3-none-any.whl (29 kB)
Collecting platformdirs==3.6.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 54))
Downloading platformdirs-3.6.0-py3-none-any.whl (16 kB)
Collecting ruff==0.0.272 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 58))
Downloading ruff-0.0.272-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB)
Collecting tomli==2.0.1 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 77))
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting typed-ast==1.5.4 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 81))
Downloading typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877 kB)
Downloading typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 877.7/877.7 kB 13.8 MB/s eta 0:00:00
Collecting typing-extensions==4.6.3 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 107))
Downloading typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Collecting zipp==3.15.0 (from -r /checkout/src/tools/tidy/config/requirements.txt (line 114))
Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Installing collected packages: zipp, typing-extensions, typed-ast, tomli, ruff, platformdirs, pathspec, packaging, mypy-extensions, click, importlib-metadata, black
Successfully installed black-23.3.0 click-8.1.3 importlib-metadata-6.7.0 mypy-extensions-1.0.0 packaging-23.1 pathspec-0.11.1 platformdirs-3.6.0 ruff-0.0.272 tomli-2.0.1 typed-ast-1.5.4 typing-extensions-4.6.3 zipp-3.15.0
some tidy checks failed
Build completed unsuccessfully in 0:01:06
local time: Thu Feb 15 19:02:12 UTC 2024
network time: Thu, 15 Feb 2024 19:02:12 GMT
:umbrella: The latest upstream changes (presumably #120881) made this pull request unmergeable. Please resolve the merge conflicts.
The job x86_64-gnu-tools
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:42240fba9765549fc24539a036742176bf99434a2b45bdc9f0dcf2d45150cdf7 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.0s
##[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-16]
##[group]Clock drift check
local time: Tue Feb 20 18:56:44 UTC 2024
network time: Tue, 20 Feb 2024 18:56:44 GMT
network time: Tue, 20 Feb 2024 18:56:44 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
:umbrella: The latest upstream changes (presumably #121400) made this pull request unmergeable. Please resolve the merge conflicts.
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:09229a591ce41d4dd9bd879f5ad8577fe78762b9bf08568dfc8593dcaece7062 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.0s
##[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-16]
##[group]Clock drift check
local time: Thu Feb 22 11:42:37 UTC 2024
network time: Thu, 22 Feb 2024 11:42:37 GMT
network time: Thu, 22 Feb 2024 11:42:37 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
The job x86_64-gnu-tools
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
The job x86_64-gnu-tools
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
:umbrella: The latest upstream changes (presumably #121442) made this pull request unmergeable. Please resolve the merge conflicts.
The job x86_64-gnu-llvm-16
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:c5c1c94e9b737b9c36e93be82f694203904842940bd88de85240fdc9194632c5 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.1s
##[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-16]
##[group]Clock drift check
local time: Mon Feb 26 08:51:14 UTC 2024
network time: Mon, 26 Feb 2024 08:51:14 GMT
network time: Mon, 26 Feb 2024 08:51:14 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--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', 'build.optimized-compiler-builtins', '--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', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
@bors r+ rollup=never (seems liable to conflict with stuff)
:pushpin: Commit 3b3514acecfb1642e49d17742dbb553044e0d899 has been approved by BoxyUwU
It is now in the queue for this repository.
:hourglass: Testing commit 3b3514acecfb1642e49d17742dbb553044e0d899 with merge b8de591b6556836633e0c1bce1f42b90801f4227...