ICE on stable 1.57.0 #91935
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When the ICE happened, I had error messages of the type:
The code compiles with
rustc 1.59.0-nightly (8f117a77d 2021-12-13)
.After cleaning up the build directory, compilation succeeds with 1.57.0 as well.
However, I still report the bug as I didn't touch anything by hand in the build directory previously so there seems to be a problem with dependencies, maybe over a rustc update?
Note that my target directory is a symlink to somewhere else in my home folder (Ubuntu 20.04.3 Ryzen 5800X).
Code
I have been trying to find a minimal test case, but failed so far. The code I am working on is a complex MCTS planner and not ready to be open-sourced, but I can give a temporary copy to whoever is investigating this issue.
I have a way to enable/disable the problem in my code, so I'll try to give some excerpts in the hope it helps pinpointing the issue in the compiler:
I have a planning domain:
and a why to keep references to the state:
In a user-defined domain, I have another state:
and I implement the MCTS state:
When I implement this user state for my struct
StateDiffRef
the ICE happens:Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: