-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thread 'rustc' panicked at 'found unstable fingerprints for evaluate_obligation(b221e4f0760c8617-1fd22c69d1158f36)', /rustc/f5d8117c338a788bd24abec733fd143dfceb25a0\compiler\rustc_query_system\src\query\plumbing.rs:593:5 #83226
Comments
cc @Aaron1011 that looks similar to #80691 and could be fixed by #83220, right ? if it does reproduce the same issue, it would be interesting because it's smaller than the |
This can be reproduced by running |
I've worked on reducing this. From the initial 320 dependencies to 50 or so, something like this and its dependencies is enough to trigger the bug: async fn index() -> Result<impl Reply, Rejection> { Ok(warp::reply::html("")) }
pub async fn create_warp_server() -> Result<impl Future<Output = ()> + 'static, Box<dyn std::error::Error>> {
let index = get().and_then(crate::index);
let cors = allow_origins(vec!["http://localhost:8080"].into_iter());
let routes = index.with(cors);
let server = serve(routes).bind_with_graceful_shutdown();
Ok(server)
}
fn main() {
let runtime = Builder::new_current_thread().build().unwrap();
let server = runtime.block_on(create_warp_server()).unwrap();
runtime.block_on(server);
} (modulo changes made while reducing warp) but that still depends on: [dependencies]
futures = { version = "0.3", default-features = false, features = ["alloc"] }
http = "0.2"
hyper = { version = "0.14", features = ["server", "http1", "tcp"] }
tokio = { version = "1.0", features = ["sync"] } The most tedious parts of minimizing this project are done, but it's not finished yet. In any case, to reproduce:
With some parts of |
it happens on rust-analyzer as well (also without mimalloc)
|
Is this still a problem on the latest nightly? It may have been fixed by #85186. |
Triage: No one said it was still a problem, and the linked PR includes regression tests. Closing. |
Code
please clone code by running:
git clone https://github.com/songday/blog-rs.git
reproduce steps
build.rs
, modify line: 69, add]
, exwriteln!(&mut service_asset_file, r##"] "##,)?;
cargo b
againOnce I run
cargo clean
and build again, everything will be fine.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: